ok, im just going to ask for help rather then go over all the scripts and such that i have tried with no success.
I need to upload a file (eg.. /Library/Preferences/EDI/edi.ingate.cro) every 20 mins or so.. Ive come down to I just need a simple script that I will run with CRON.
So my first thing would be to come up with a sh for this. that will simply PUT the file to a ftp server. makeing a test .command etc...
then i can add to the cron jobs.
I dont know why im having so much trouble getting it to work.. so here is my CURL command that i just cant get ot work.
help please.. and many thanks in advance.
I need to upload a file (eg.. /Library/Preferences/EDI/edi.ingate.cro) every 20 mins or so.. Ive come down to I just need a simple script that I will run with CRON.
So my first thing would be to come up with a sh for this. that will simply PUT the file to a ftp server. makeing a test .command etc...
then i can add to the cron jobs.
I dont know why im having so much trouble getting it to work.. so here is my CURL command that i just cant get ot work.
Code:
curl -T /Library/Preferences/EDI/edi.ingate.cro -u username:password ftp://servername.com/edi/
help please.. and many thanks in advance.