|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-08-26 07:50 UTC] frederick dot amorison at minfin dot fed dot be
[2002-08-26 11:15 UTC] sniper@php.net
[2002-09-21 02:13 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 04:00:01 2025 UTC |
Hello, I have th following problem with ftp_get function. When I try to download small files (198 bytes or less), nothing seems to happens. After 90 secs I receive a Warning message (Warning: ftp_get: in /var/www/updater/toolbar.php on line 32 ). My ftp server (proftpd) says transfer is Ok. Here is a part of this script : (line 32 is the one with ftp_get) if ($ftp_conn=ftp_connect($RemoteServer)){ if (ftp_login($ftp_conn,$login,$passwd)){ if ($afiles=ftp_get($ftp_conn,$file,$file,FTP_BINARY)){ } else { $res.="$msgDownloadFailed";} } else { $res.="$msgAutenticationFailed";} }else { $res.="$msgConnectionFailed";} ftp_quit($ftp_conn);