Bug #14748 Updated: ftp_put problems

From: Date: Tue, 09 Jul 2002 02:39:34 +0000
Subject: Bug #14748 Updated: ftp_put problems
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13560@lists.php.net to get a copy of this message
ID: 14748 Updated by: Blackironj@aol.com Reported By: blaloggia@cwplus.com Status: Closed Bug Type: FTP related Operating System: Unix PHP Version: 4.0.5 Assigned To: vlad New Comment: when I try and upgrade to Windows 2000 when checking my drive c: as part of the set up it stops at a 5% load and then gives an error that reads " Drive c: is corrupt and beyond repair" however I use the drive c: in windows 98 and my drive c: has no problems.....do I just not have the drivers to load this upgrade and if not does anybody know where I can update my drivers Previous Comments: ------------------------------------------------------------------------ [2002-06-01 16:35:08] christoffer.dahl@chello.se Skip the last "?"-sign in the bug-link! /Christoffer ------------------------------------------------------------------------ [2002-06-01 16:32:43] christoffer.dahl@chello.se I've got exactly the same problem! I'm dealing with just windows. The upload.php-file is located on a windows-server. From my local Windows 2000 I try to upload a file to a third windows-server. Allways fail. Works fine creating new dirs etc, but no upload with ftp_put. I've tried many variatons, similar to the others. Can't find a real solution from Vlad. Could it have something to do with the proxy-bug described in http://support.microsoft.com/default.aspx?scid=kb;en-us;Q233285? /Christoffer ------------------------------------------------------------------------ [2002-04-15 22:22:23] vlad@php.net The problem is your definition of 'client' and 'server'. Your client (from php point of view) is the machine where PHP resides on, *not* the machine you are uploading a file from. The server is the one you are uploading the file to, *not* the box on which PHP resides. That's why there is no 'C:' drive on your client (which is a linux/apache), and obviously that file cannot be found. Hence, my original comment about how you can have a 'C:' drive on Unix. If I misunderstood you, and wrote something bogus, please reopen bug report. If you have more questions, email me in private. ------------------------------------------------------------------------ [2002-04-04 18:55:00] kchapdelaine@cox.net The ftp site is on a Unix server. The php file is on a Unix/Apache web server (actually, the same unix server). The file we are attempting to upload is from the directory of the person connecting to the server, i.e., usually Windows. This is still in the testing phase. Ftp is properly enabled. The server says so. I had him add code for it to show the phpinfo. What is the proper syntax for the file on the user computer? Or is this improper usage of the program? i.e., do we use: c:\\ftptesting\\test1.csv or c:\ftptesting\test1.csv or c:\ftptesting\\test1.csv or something else entirely? Or is there a flag we need to set to do this? Yes, I am working with Bob on this. Thank you, Karen Chapdelaine kchapdelaine@cox.net ------------------------------------------------------------------------ [2002-04-04 18:35:51] fred010101@hotmail.com I have the same problem. The client on windows. The server on unix. $conn_id = ftp_connect($ftp_server); ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); ftp_put($conn_id, "./download", "D:\essai.map", FTP_BINARY); ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14748 -- Edit this bug report at http://bugs.php.net/?id=14748&edit=1

« previous php.bugs (#13560) next »