ID:               24892
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php at lostair dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         FTP related
 Operating System: Irrelevant
 PHP Version:      Irrelevant


Previous Comments:
------------------------------------------------------------------------

[2003-07-31 14:19:53] [EMAIL PROTECTED]

What kind of ftp server is this where you can use a user _name_ with an
"@"? Can you connect to it with a regular ftp client and copy and paste
that ftp session into here?

Also note that the URL scheme is "ftp", not "fttp".

------------------------------------------------------------------------

[2003-07-31 13:47:27] php at lostair dot net

Description:
------------
There are problems when the @(AT) character is contained within the
username through a fopen statement.

In the following exampls, there are no escape characters utilised. 
However, this doesn't help the matter either.

I previously send in a Bug report for the same situation with the
phase_url - but was classed as a bogus.  So, where is the problem then?
 As it is possible to have a @(AT) sign within the user name.


Reproduce code:
---------------
$handle = fopen("fttp://[EMAIL PROTECTED]:[EMAIL PROTECTED]","rw");

//  user="[EMAIL PROTECTED]"
//  password = "password"
//  host = "ftp.dnacpu.com"

Expected result:
----------------
For the file to be successfully accessed

Actual result:
--------------
No Connection, due to the problem that there are two AT signs contains
within the URL.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24892&edit=1

Reply via email to