How about using scp in the bash script: Code: scp STHbench-Dev010.log user:email@example.com:/home/uploads That is just an idea. Not the best way for sure. You don't want to put the server username/ password into the script. You are giving write access so that is not so good. Also, you need new file names.