cURL / Mailing Lists / curl-users / Single Mail

curl-users

url parsing bug?

From: stefano federici <s_federici_at_yahoo.com>
Date: Sat, 3 Apr 2004 17:41:08 +0200 (CEST)

Hi,
I'm using the Tcl binding of cURL. The following
command:

curl::transfer -url
ftp://user@domain.ext:password@www.domain.ext/file.txt

when fully instantiated results in error number 6. On
the contrary, the extended form

curl::transfer -url ftp://www.domain.ext/file.txt
-userpwd "user_at_domain.ext:password"

works. Probably, the "@" sign contained in the user
name confuses the parser as to finding the correct
user, password, host values.

=====
Stefano Federici
via Azuni, 14 - 09025 Sanluri (CA) - Italy
Tel: +39-070-9351003 home
     +39-070-9373114 office
     +39-349-8181955 cell
email: s_federici_at_yahoo.com
       stefano.federici_at_tiscalinet.it

______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/
Received on 2004-04-04