You are here: Re: PHP FTP put function, 1024 byte issue « PHP Programming Language « IT news, forums, messages
Re: PHP FTP put function, 1024 byte issue

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация