Redirect data to my FTP server

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
qritari
Forum Newbie
Posts: 5
Joined: Fri Jul 22, 2005 3:16 pm

Redirect data to my FTP server

Post by qritari »

Hi,

I currently have a webhost hosting my entire website. Recently, I set up my own FTP server. I have created a HTML form for users of my website to upload (possible as big as 100MB) huge files. While this files will reside on my webhost server, I would like the data to be transferred to my FTP server as well, or even by passing the webhost altogether. I was told by a friend that a good script on the webhost server may do the trick. Is there anyone who could provide more insight to this?

Thanks!
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

you could certainly ftp the files from your web host to your local machine. I do something very similar here at work. User's upload their files to our web server and if they are streaming media files, I have our server ftp them up to our playstream server.

check out the manual for more info on using ftp...it's pretty straight forward.
qritari
Forum Newbie
Posts: 5
Joined: Fri Jul 22, 2005 3:16 pm

Post by qritari »

hey,

thanks for replying. its good to know there's a solution. Is there also a way to upload huge files via html forms in this case? my webhost just told me that the size limit per unload is 2MB. This is not really useful. After googling around and refering to the php manuals, it seems like uploading 20MB causes problems too. Any comments regrading this?

I know FTP clients will do fine with huge files, but isn't there a straight forward way to get HTML and PHP to do the job?

Thanks!
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

you can change the php.ini to allow for larger uploads than 2mb...the question is will your host allow that and it sounds like the answer is no.

check with them to see if they're willing to accomodate you, you might have to fork out some more $$....
Post Reply