ftp_put problem on Win32
| From: | Tan Kian Chye | Date: | Wed, 25 Oct 2000 05:48:38 +0000 |
| Subject: | ftp_put problem on Win32 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21827@lists.php.net to get a copy of this message | ||
Hi,
I have this problem of uploading file to an external server running a
Solaris OS.
$ftp_stream = ftp_connect("$SERVER_UPLOAD");
$ftp = ftp_login($ftp_stream,"$USER_ID","$PASSWORD");
ftp_put($ftp,"desti.txt","C:\\TEST.PHP",FTP_ASCII);
ftp_quit($ftp_stream);
When I start executing the above statement, I will have this message "Unable
to find ftpbuf 1 in <filename.php> " . I have accesse right to create file
on that Solaris server and the version of php used is version 4.03p1
I have no problem with ftp_get(). Any idea of what's going wrong?