php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7402 ftp upload doesn't function from windows client to gnu/linux server
Submitted: 2000-10-23 06:03 UTC Modified: 2000-11-02 18:52 UTC
From: doc at autourduweb dot com Assigned:
Status: Closed Package: FTP related
PHP Version: 4.0.3pl1 OS: gnu/linux server and windows cli
Private report: No CVE-ID: None
 [2000-10-23 06:03 UTC] 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
doc@autourduweb.com

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-28 05:27 UTC] sniper@php.net
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-11-02 18:52 UTC] sniper@php.net
The ftp_upload() is server side. Client side has nothing to do with it.

--Jani
 [2004-03-07 16:58 UTC] zotohome at hotmail dot com
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC