Currently I am using SFTP to transfer .HTML and .JS files to my remote filesystem.
I have to type:
sftp [email protected]
And then manually change remote directory to /var/www/html, and upload files individually.
I can simultaneously upload all the files in a directory using *, but this doesn't appear to work for subdirectories.
Is there any way of copying an entire tree?
Is it possible to make a script that changes to the correct folder and performs the copy?
scp -r
? You should have no problem if ssh is not restricted, otherwise you can uselftp
client, it allows you to mirror trees.