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-sftp


-- 
Best regards!



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to