cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: quoting password

From: Baboolal, Davidson <Davidson.Baboolal_at_enron.com>
Date: Thu, 29 Sep 2005 12:02:15 -0500

How do I get off this mailing list?

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of Kjell Ericson
Sent: Thursday, September 29, 2005 11:59 AM
To: the curl tool
Subject: Re: quoting password

On Thu, 29 Sep 2005, Michael wrote:

> but if I use
> curl "ftp://user:abc\/def*ghi@host/file.txt"
> the command hangs.

Hanging is a very bad error message...

Escaping is the solution, but you need to URL-escape it.

  curl 'ftp://user:abc%2fdef%2aghi@host/file.txt'

I would also suggest using ' instead of " so the shell doesn't mingle your
input.

  // Kjell

**********************************************************************
This e-mail is the property of Enron Corp. and/or its relevant affiliate and may contain confidential and privileged material for the sole use of the intended recipient (s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender or reply to Enron Corp. at enron.messaging.administration_at_enron.com and delete all copies of the message. This e-mail (and any attachments hereto) are not intended to be an offer (or an acceptance) and do not create or evidence a binding and enforceable contract between Enron Corp. (or any of its affiliates) and the intended recipient or any other party, and may not be relied on by anyone as the basis of a contract by estoppel or otherwise. Thank you.
**********************************************************************
Received on 2005-09-29