Hi, maybe you can help. I would like to generate a file and store it on an FTP server. Then, maybe, use a chron job to get the file and make an entry into my PHP/MySQL database.
Do you have any suggestions about how I would go about doing this? Such as testing for the available file, deleting the file once it is uploaded.
Thanks
Harv
Page 1 of 1
Chron Job Upload Questions
#2
Posted 06 December 2011 - 09:39 AM
Create a php script that checks for the file, use a sys call to scp or ftp the file, update the database, and then delete the file. If that is stating the obvious, then I am not sure exactly what it is you are asking.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens
#3
Posted 06 December 2011 - 01:36 PM
Thanks for the help, just needed someone to point me in the right direction.
Harv
Harv
Share this topic:
Page 1 of 1

Help


Back to top









