Skip Menu |

This queue is for tickets about the Net-SFTP-Foreign CPAN distribution.

Report information
The Basics
Id: 25101
Status: resolved
Worked: 3 hours (180 min)
Priority: 0/
Queue: Net-SFTP-Foreign

People
Owner: Nobody in particular
Requestors: chachi-bitcard [...] kruel.cc
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: Method 'mkdir' does not work at all.
"Couldn't stat remote file (stat): No such file or directory" I get the above error every time I try to make a new directory via $sftp->mkdir($path) in Net-SFTP-Foreign-0.90_15 under OpenSSH_4.3p2, OpenSSL 0.9.7e-p1, perl-5.8.8, FreeBSD-6.1 i386. Here's the code: my $mkdir = '/usr/local/test'; if (!$sftp->mkdir($mkdir)) { print STDERR "Error creating dest dir ($mkdir): " . $sftp->error; } All other methods, including 'new', work fine.
From: SALVA [...] cpan.org
Thank you for reporting the bug and sorry for the late reply, I didn't get the notice email from RT :-( I have just uploaded a new version of the module to CPAN that should solve the mkdir problem. Tell me in case it doesn't work for you yet! Cheers