2
What commands should I use to transfer a file via FTP and then compress the files in a backup directory with a filename containing the date/time for reference?
I'd prefer to use batch scripting.
The FTP location is on my home network and the files will be copied to a Windows XP sp3 box.
The compression is merely for archival purposes, not to lessen the transfer size.
The ftp location is on my home network, I just want a batch file to help me make zipped backups of files on that machine. Thank you. – crosenblum – 2011-10-24T17:01:51.120
Ok, so then the question is not whether you can compress PRIOR to transfer, but whether you can transfer AND compress in the same script, to which the answer is of course yes. It's simply a matter of stringing together the correct commands in the correct order. – music2myear – 2011-10-24T17:15:11.043
If the ftp location is on your local network, could you not just share the folder in Windows and use a copy command from a UNC path? Take ftp out of the equation. – Yeodave – 2011-10-25T12:16:18.703