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!