What are some good ways to move file from a development site on a linux server to another linux server (which would be production). I will be working from a Vista system. Basically, I'd like to just doubleclick a batch file or something along those lines to initiate the copy. Thanks!

link|improve this question
feedback

2 Answers

up vote 1 down vote accepted

You can script Windows command-line FTP and put it in a batch/cmd file. See here and here for detailed instructions.

link|improve this answer
Thanks! That was exactly what I was looking for. – user29687 Apr 25 '10 at 16:54
feedback

from the dev server:

$rsync avz /path/to/your/content otherserver:/path/to/your/content

set up ssh public keys and it will copy without a password. many linux distros have a script ssh-copy-id which automates this:

$ssh-copy-id otherserver
link|improve this answer
Now would I be able to trigger this by a batch file on my local Vista system? – user29687 Apr 25 '10 at 2:10
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.