> > > > 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 -- Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110519213653.ga10...@rimmer.esmertec.com