tim_ver
Jun 6 2006, 10:03 PM
I have a website I am putting together and it has a mysql db. I need to upload a text file of data to the website to update it with the latest info. I have tried with a normal upload but the hoster will not allow me to do this so I need to do a cron job and upload the file to a folder on the ftp. Can anyone please help me out on what commands to use to achive this.
Thanks much.
markjr
Jun 7 2006, 08:03 AM
Normally I would just try to use scp out of cron but if the host is insisting on ftp there are ways to automate logins, and define macros with ftp using a .netrc file in your homedir. Take a look at the man pages on your system for netrc.
tim_ver
Jun 7 2006, 05:57 PM
Ok, what is a scp? man pages?
Thanks