Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: NET::SFTP::Foreign Error

by salva (Abbot)
on May 07, 2014 at 20:20 UTC ( #1085375=note: print w/replies, xml ) Need Help??


in reply to NET::SFTP::Foreign Error

It seems the remote server does not support the SFTP setstat command.

You can disable file attribute (permissions and timestamps) copying as follows:

$sftp->rput("C:/Users/edawals/Desktop/ftpTestFolder/", "test/tessts/", copy_perm => 0, copy_time => 0, overwrite => 1, on_error => sub { my ($sftp, $e) = @_; print STDERR "error processing $e->{filename}: ". $sft +p->error; } );
(see also how errors can be handled on recursive methods as rput).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1085375]
help
Chatterbox?
choroba waves is

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2017-07-24 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (348 votes). Check out past polls.