Here's a faily simple and quick way to deal with FTP actions without the need of 1000 clicks in a FTP client like FileZilla (though this one's really great!).
- Create a text file with all the FTP commands in it, say "copyindex.txt"
- Fill the text file with your desired commands, see below for an example.
- Initiate the process by executing ftp -s:copyindex.txt
Example text file:
open yourserver.org your_ftp_username your_ftp_password cd desired/path put index.htm bye