education Posted July 12, 2006 Share Posted July 12, 2006 Hi guys, wondering if you can help.I have a site that currently uses resources obtained from an FTP site.the url on the page links direclty to this ftp site such asan image of a cloud might be obtained from ftp://someaddress.com/clouds.Now this takes up the ftp servers bandwith whenever someone access MY page.What i want to do is say every hour get my server to gather the information from the ftp site just a few pictures say and store them on my server where i can link to them there.i am totally new to php ish and am not sure how to do this, i have to as the ftp servers bandwidth has been cut and it will be catastrophic if my site losses these certain resources.Thanks for your help. Quote Link to comment https://forums.phpfreaks.com/topic/14375-any-ideas/ Share on other sites More sharing options...
zq29 Posted July 12, 2006 Share Posted July 12, 2006 You could use the copy() function as the basis of your script, then run it periodically with a cron job. Quote Link to comment https://forums.phpfreaks.com/topic/14375-any-ideas/#findComment-56735 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.