direct use of put -r not possible... directories are needed to be created
first...problem solved...
cheers
-Aakash :-)
Also note that:
http://blog.naoar.com/2012/04/sftp-recursive-option-not-working-huh.html
workaround problem by creating destination dir firstly.
--
Best regards!
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas
Seems that sftp does not support recursive coping. Some people recommend use:
$ rsync --delete --rsh=ssh -av $LOCAL $HOST:$REMOTE
or:
tar -cf - $LOCAL | ssh $HOST " ( cd $REMOTE ; tar -xf - )"
Look for discussion:
http://unix.stackexchange.com/questions/7004/uploading-directories-with-sf
Package: openssh-client
Version: 1:5.5p1-6
Severity: normal
I can confirm this bug.
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 keep getting the, "
Package: openssh-client
Version: 1:5.5p1-6
Severity: normal
File: /usr/bin/sftp
When I use the command line sftp client and try to use "put -r", I get
the error 'Unable to canonicalize path "/home/bmc/foodir"'. I suppose
that is because the directory in question does not exist (that's why I'm
upl
5 matches
Mail list logo