Re: Bug#611380: openssh-client: sftp's put -r fails with "Unable to canonicalise path"
>From: Selim T. Erdogan <email@example.com>
>Sent: Friday, May 20, 2011 8:54 PM
>Subject: Re: Re: Bug#611380: openssh-client: sftp's put -r fails with "Unable to canonicalise path"
>Clive Standbridge, 19.05.2011 tarihinde şöyle yazmış:
>> > >
>> > > I am attempting to upload files onto my webserver using sftp. As
>> > > far as I can
>> > > tell from reading the man pages and searching online, the correct
>> > > syntax once
>> > > connected via sftp is:
>> > >
>> > > put -r *
>> > I'm no expert myself, but shouldn't that be
>> > mput *
>> mput doesn't seem to be an sftp command. Maybe you were thinking of
>> lftp? But lftp's mput command doesn't appear to do recursion. lftp has
>> a reverse mirror command "mirror -R" which looks like it will do the
>> job. You can connect to an sftp server with lftp using a command like
>> lftp sftp://username@host/path/to/dir
>> Another alternative would be to use rsync e.g.
>> rsync -aiz files username@host:/path/to/dir
>Yet another alternative might be scp instead of sftp. I use "scp -pr"
Thank you for this. scp works! I really like the functionality of sftp since I can connect, search for what I want mv things around and then copy what I want. Hopefully it will be fixed in 6.0.2? but until then thank you for scp!