by conanite » Fri Apr 17, 2009 11:16 am
If you're regularly uploading files to the same place, I'd recommend setting up a script to do it all automatically for you. When I have a deployment to make, I run a script which
- zips up all my working files
- uses SFTP to transfer them to the host
- uses SSH to invoke another script on the host
The script on the host then unzips and copies my files to the correct places and runs whatever needs to be run in order for the web server to serve the new stuff. I would hate to have to fiddle around with an ftp client, no matter how gorgeous or ergonomic is was, instead of the instant gratification of "./send.sh host-name".