Posted by Adam on 09/27/05 16:21
On 27 Sep 2005 04:55:59 -0700, Phil W wrote:
>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?
Have you tried file uploads via HTTP? - with the usual PHP file upload
functions?
Adam.
[Back to original message]
|