Stream FTP upload in chunks with PHP? -
is possible stream ftp upload php? have files need upload server, , can access server through ftp. unfortunately, can't timeout time on server. @ possible this?
basically, if there way write part of file, , append next part (and repeat) instead of uploading whole thing @ once, that'd save me. however, googling hasn't provided me answer.
is achievable?
ok then... might you're looking for. familiar curl?
curl can support appending ftp:
curl_setopt($ch, curlopt_ftpappend, true ); // append flag
the other option use ftp:// / ftps:// streams, since php 5 allow appending. see ftp://; ftps:// docs. might easier access.
Comments
Post a Comment