If your server setup support SSH then use following code to upload the folders from local system.
scp -r mydirectory [email protected]:destdir
-r means “recursive” so it will recursively copy the entire directory. Replace
username with your username, etc., etc.
destdir is a relative path on the remote server (whatever directory you wind up in if you log in) as long as you don’t use a leading slash
/ — then it will be an absolute path
scp -r /Applications/MAMP/htdocs/routes/wp-content/uploads/* [email protected]:/var/www/mytravelroute.com/htdocs/wp-content/uploads/
Note : Run this command on local system.