Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} wput with weird characters
Date: Fri, 31 Aug 2007 19:57:23
Message-Id: 20070831194547.GA5605@math.princeton.edu
In Reply to: [gentoo-user] {OT} wput with weird characters by Grant
1 On Fri, Aug 31, 2007 at 11:50:43AM -0700, Grant wrote:
2 > I need to periodically upload a file to an ftp server, but the
3 > password they've issued me has a '!' and a '&' character in it. I
4 > tried escaping those characters like this:
5 >
6 > wput -A file.txt ftp://username:abc\!123\&@ftp.example.com/file.txt
7 >
8 > but then it tells me the password isn't correct. How can I use a
9 > password like that with wput?
10 >
11
12 Maybe you can try putting the username and password combination in a .wputrc
13 file?
14
15 W
16 --
17 Willie W. Wong wwong@××××××××××××××.edu
18 408 Fine Hall, Department of Mathematics, Princeton University, Princeton
19 A mathematician's reputation rests on the number of bad proofs he has given.
20 --
21 gentoo-user@g.o mailing list