no sure if this helps but i had a similar problem with php < 4.3 . Afeter upgrading from 4.2.3 ftp worked fine.
On 11 Feb 2003, Adam Voigt wrote: > I don't think PHP checks to see what FTPD your running, it's probably a > bug > in PureFTPD as opposed to PHP (since it works in WU). > > On Tue, 2003-02-11 at 10:10, Chris Boget wrote: > > OK, I used the php ftp_put function successfully to upload a file. > But > this is not what I need. I need to use the ftp_fput function to > transfer > from a file pointer. This function failed to transfer the file with > Pureftp server but transfers successfully using Wu-ftp. Any ideas on > why > Pureftp is failing to trasfer from a file point? I don't understand > why > it would even know the difference. Possible a bug in PHP? > > On Mon, 2003-02-10 at 13:30, Craig Jackson wrote: > > Anyone have any idea why this script cause a file to be created > without > > the contents? > > > > <script language="php"> > > set_time_limit(1200); > > $filename = "testthis"; > > $fp = > fopen("ftp://user:pass@server/outbound/devel/$filename", > > "w"); > > $tran_info = sprintf( "%-10s\n","testthis"); > > echo "$tran_info"; > > fputs($fp, $tran_info ); > > fclose($fp); > > </script> > > > > Using the latest version of pure-ftpd from source on Linux. > > -- > > > > Craig Jackson > > __________________________ > > Wildnet Group LLC > > 103 North Park, Suite 110 > > Covington, Lousiana 70433 > > Office 985-875-9453 > > __________________________ > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > -- > > Craig Jackson > __________________________ > Wildnet Group LLC > 103 North Park, Suite 110 > Covington, Lousiana 70433 > Office 985-875-9453 > __________________________ > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- Robin Mordasiewicz 416-207-7012 UNIX Administrator Primus Canada -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php