PHP FTP put function, 1024 byte issue

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Building an app. that requres me to transfer files, using PHP's FTP put
function, from a holding dir on a SAN to another SAN dir. No matter
what I do the file copied to the new dir is 1024 bytes despite original
being much greater (its a pdf). I have to use PHP 4.3.4/Apache 1.3.19
and have seen various comments about put not working correctly with
this version of PHP, is this correct? Using command line FTP the
process works fine but a test using trimmed down PHP code just to FTP
one file using the equivalent commands results in the same problem.

Anyone with any ideas/solutions?



Re: PHP FTP put function, 1024 byte issue

On 27 Sep 2005 04:55:59 -0700, Phil W wrote:

Quoted text here. Click to load it

Have you tried file uploads via HTTP? - with the usual PHP file upload


Site Timeline