curl-users
quoting password
From: Michael <rh2ziu302_at_sneakemail.com>
Date: Thu, 29 Sep 2005 18:26:25 +0200
Date: Thu, 29 Sep 2005 18:26:25 +0200
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
Received on 2005-09-29