How can I upload an entire folder, that contains other folders, using sftp on linux?

For people actually wanting a direct answer to this question (instead of being told to use something other than sftp)…

put -r local/path/to/directoryName

The uploaded directory must already exist in the working directory on the server, so you might need to create it first.

mkdir directoryName

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)