ID: 7402 Comment by: zotohome at hotmail dot com Reported By: doc at autourduweb dot com Status: Closed Bug Type: FTP related Operating System: gnu/linux server and windows cli PHP Version: 4.0.3pl1 New Comment:
The ftp php script is ok. The prob may comes from the form page which send the user source file informations. Build an other form page with just an upload field and a submit button then make a try. Zo Previous Comments: ------------------------------------------------------------------------ [2000-11-02 18:52:44] [EMAIL PROTECTED] The ftp_upload() is server side. Client side has nothing to do with it. --Jani ------------------------------------------------------------------------ [2000-10-28 05:27:58] [EMAIL PROTECTED] The linux box is runs the webserver in which the script is located? And you try to use it within Windows? And if you use it from any linux box it works? --Jani ------------------------------------------------------------------------ [2000-10-23 06:03:27] doc at autourduweb dot com I tested my personnal script and the phpftp script (http://inebria.com/) to upload a file by ftp. I tested with php version 4.0RC2 and 4.0.3pl1 These two scripts work perfectly when i upload a file from gnu/linux client to gnu/linux server (http and ftp server). But, when i try to upload from a windows client, it doesn't work. The error returned by php is "warning: error opening 'file_to_upload' in 'php_file.php' on line 'line'. Thanks Damien [EMAIL PROTECTED] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7402&edit=1
