Forum Moderators: coopster

Message Too Old, No Replies

PHP and FTP

implementing large file transfer

         

mr_ben

3:06 pm on Nov 18, 2004 (gmt 0)



Hi all,

I wonder if anyone can give me some direction for this problem:

I am trying to design some form of upload system to allow people to send me large files. As these tend to be between 10 and 20MB, email just won't cut it and there is a cap of 5MB with my provider anyway.

I then thought of uploading via webform but there is an 8MB cap on that. This leaves me FTP but if I implement this as a PHP script then I will still be capped by the HTTP max upload file size.

As I only have one FTP account (the web root account) it is not viable to give out the user details to people wishing to send me large files ..

If anyone can help or give me an idea where i need to look I'd be most appreciative ..

cheers
ben

mincklerstraat

3:37 pm on Nov 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmasterworld [webmasterworld.com], mr_ben. The conditions you cite sound to me like the answer is 'another host': either another host for the whole shebang, or a very convoluted sort of solution where the user ftp's or uploads via http to a (different) remote host - if via HTTP, then that remote host sends an http request with GET telling the script on the 'home' server you're on now that there's a file over on that other server at $location, home server copies file from remote host into its own file structure. If via ftp, the user clicks does something to indicate that a new file has been ftp'd. And if your host has all these caps, you might not have fopen wrappers set to allow access of remote files, meaning you couldn't do this at all. There are a lot of smart people on this forum though, maybe someone else can think of a solution less drastic than switching hosts or opening another account.