cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: quoting password

From: Kevin Martin <kevintm_at_ameritech.net>
Date: Thu, 29 Sep 2005 11:39:14 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did you try escaping the * as well?

Kevin

Michael wrote:
> Hello everybody,
>
> I wonder if somebody can help me:
> I want to download a file with curl per ftp using:
>
> curl "ftp://user:password@host/directory/filename"
>
> the problem is, that the password is: abc/def*ghi
>
> yes, there is really a "/" and a "*" in the password.
> When I try to use:
>
> curl "ftp://user:abc/def*ghi@host/file.txt"
>
> I get
>
> curl: (6) Couldn't resolve host 'user:abc'
>
> but if I use
>
> curl "ftp://user:abc\/def*ghi@host/file.txt"
>
> the command hangs.
>
> any ideas?
>
> thanks
> michi
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDPBiyaXZlxDxYaM4RAhHYAKDoId7VxWjX6fRz6gSCErodOvw6AwCg6Wfj
gvSOCeLlquHEqra52ZSLDGY=
=LO1o
-----END PGP SIGNATURE-----
Received on 2005-09-29