#34187 [Opn->Bgs]: ftp_put local and remote file names.

From: Date: Thu, 18 Aug 2005 20:04:15 +0000
Subject: #34187 [Opn->Bgs]: ftp_put local and remote file names.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-83783@lists.php.net to get a copy of this message
ID: 34187 Updated by: sniper@php.net Reported By: bsgro at handsfreenetworks dot com -Status: Open +Status: Bogus Bug Type: FTP related Operating System: Linux PHP Version: 5.0.4 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-08-18 18:02:20] bsgro at handsfreenetworks dot com Description: ------------ This may not be a bug, because the documentation states a local and remote name. However I do not see why you cannot use same name when doing a: $filename = 'file.txt'; ftp_put($handle,$filename,$filename,FTP_BINARY); You can command line ftp and do: >send file.txt which sends the file and keeps the same name. Otherwise you do: >send >file.txt >remotefile.txt So, maybe this is a feature request, but it may seem more like a bug. Thanks. Actual result: -------------- PHP Warning: ftp_put() [<a href='function.ftp-put'>function.ftp-put</a>]: Could not create file. in .... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34187&edit=1

« previous php.bugs (#83783) next »