dkellyhsu has asked for the wisdom of the Perl Monks concerning the following question:
I'm using Net::SFTP and getting this error:
Couldn't fsetstat: No such file or directory at /usr/local/bin/process
the line in question is:
$sftp->put("$DCNET_DIR/$infile", "$CNAME_DIR/$infile") || next ;
The script does put the files to the required destination.
I have tried matching the file permissions and matching the group name to the destination directory but still get the same message.
Any help in resolving this will be most appreciated!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: fsetstat no such file
by salva (Canon) on Feb 28, 2012 at 20:05 UTC | |
by dkellyhsu (Initiate) on Feb 28, 2012 at 20:38 UTC | |
by JavaFan (Canon) on Feb 28, 2012 at 21:21 UTC | |
by salva (Canon) on Feb 28, 2012 at 21:54 UTC | |
by dkellyhsu (Initiate) on Feb 29, 2012 at 16:48 UTC |