Jump to content


Photo

Any Ideas


  • Please log in to reply
1 reply to this topic

#1 education

education
  • Members
  • Pip
  • Newbie
  • 9 posts

Posted 12 July 2006 - 11:05 AM

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 as

an 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.
Emotions="inactive"

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 12 July 2006 - 12:16 PM

You could use the copy() function as the basis of your script, then run it periodically with a cron job.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users