Re: [PHP] FTP Site

[email protected] ("Michael A. Peters")
Newsgroups php.general
Message-ID <[email protected]>
Ben Miller wrote:
> Hi,
> 
>  
> 
> I'm building a site for a client that has a need to allow their users to
> upload large files (up to 100mb or more) and store them on the server.  I've
> never had a need to work with PHP's FTP functions until now and, before I go
> reading the manual to learn how, I wanted to see if this something that I
> can handle with just PHP, or if I'm going to need to adopt a third party
> Ajax app or something like that?  Any thoughts or even a point in the right
> direction would be greatly appreciated.  Thanks,
> 
>  

You might want to look at how the mozilla add-on firefogg does it.
They have server code example for php.

Basically it splits the file up into chunks (as it encodes it but 
encoding isn't your concern) and when a chunk is received, message is 
sent back to the client telling the client it is OK to send the next chunk.

It may be dependent upon browser functionality though, since it is the 
browser that splits the large upload into smaller manageable chunks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.