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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to