Just the very act of posting the question sometimes seems
to be a breakthrough.
In this case, I discovered if I use a complete path
to the subdirectory then things work ok.
get "/userhome/subdir/desired_file"
works great.
Thanks!
Chris
> -----Original Message-----
> From: Howard, Chris [mailto:HowardC@...]
> Sent: Monday, December 06, 2010 1:52 PM
> To: ssh-sftp-perl-users@...
> Subject: [Ssh-sftp-perl-users] listing but can't download
>
>
> I'm attempting to use a script to download a file.
> It is a copy of a script that works with a different server.
>
> But this time it is giving me an error.
>
> The file desired is in a sub-directory.
> I can do a 'ls' of the sub-directory and I see the file
> I want. When I attempt a get './subdir/desired_file' I only get an
> error:
>
> "Couldn't stat remote file"
>
> I have attempted hardwiring in the name of the file, no difference.
>
> I can download the file with commandline sftp, no problem.
> Once I download, the file disappears. So the server side
> is doing something funky but I don't know what.
>
> Any ideas?
>
> Chris Howard
> howardc@...
>
>
>
>
-----------------------------------------------------------------------
> -------
> What happens now with your Lotus Notes apps - do you make another
> costly
> upgrade, or settle for being marooned without product support? Time to
> move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to
> build,
> use, and manage than apps on traditional platforms. Sign up for the
> Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Ssh-sftp-perl-users mailing list
> Ssh-sftp-perl-users@...
> https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users
|