Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: rput on foreign sftp in perl

by salva (Abbot)
on Sep 18, 2013 at 11:33 UTC ( #1054641=note: print w/replies, xml ) Need Help??

in reply to Re^2: rput on foreign sftp in perl
in thread rput on foreign sftp in perl

Could you wrap the output with <code></code> tags in order to make it understandable?

Replies are listed 'Best First'.
Re^4: rput on foreign sftp in perl
by Anonymous Monk on Sep 18, 2013 at 21:08 UTC

    Thank you so much for your help salva and Kcott!! I got past my problem. The issue was with rput. even though I had put in the options to not change permissions (copy_perm => 0, copy_time => 0) it did not seem to work, rput tried to update the permissions on the file and thus I got the 0 byte file(this occurs if a file exists on the target server, I am in the same group as the person who created the file on the target server and the target file has been set to chmod 777, but rput wants to change permissions and can't, so it leaves it at a 0 length file). So I switched over the put command with the options copy_perm => 0, copy_time => 0 and that did work!!, the permissions were not changed and it allowed the updating of a file. Thanks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054641]
Eily just learned that you get a message when replying to yourself
[Eily]: "Hey I got an answer!" => "Oh, right, it's me..."
[stonecolddevin]: good morning all
[Eily]: good morning stonecolddevin :)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-11-22 18:34 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (327 votes). Check out past polls.