Page 1 of 1

Redirect data to my FTP server

Posted: Fri Jul 22, 2005 3:20 pm
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!

Posted: Fri Jul 22, 2005 3:34 pm
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.

Posted: Fri Jul 22, 2005 3:54 pm
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!

Posted: Fri Jul 22, 2005 4:59 pm
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 $$....