Page 1 of 1

Download file from FTP and Update to MySql

Posted: Thu Apr 16, 2009 11:51 pm
by mandy515
Hey there,

I have to download file from an outside server every 5 minutes and put the data back into my database. I wanna know is there a way to do all these automatically sinceit's quite impossible to do it manually every 5 minutes.

Thanks

Re: Download file from FTP and Update to MySql

Posted: Fri Apr 17, 2009 11:04 am
by Christopher
On Unix system you could use cron to do this. Search for cron or crontab to get examples.

Re: Download file from FTP and Update to MySql

Posted: Fri Apr 17, 2009 8:17 pm
by mandy515
But Im not using Unix-based, but window-based. Is there a way to do it as well? Thanks

Re: Download file from FTP and Update to MySql

Posted: Fri Apr 17, 2009 9:20 pm
by Christopher
I don't know, but I know how to find out:

http://www.google.com/search?hl=en&q=cr ... ron+in+win