Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} wput with weird characters
Date: Fri, 31 Aug 2007 20:55:03
Message-Id: 200708312238.12055.wonko@wonkology.org
In Reply to: [gentoo-user] {OT} wput with weird characters by Grant
1 Grant writes:
2
3 > I need to periodically upload a file to an ftp server, but the
4 > password they've issued me has a '!' and a '&' character in it. I
5 > tried escaping those characters like this:
6 >
7 > wput -A file.txt ftp://username:abc\!123\&@ftp.example.com/file.txt
8 >
9 > but then it tells me the password isn't correct. How can I use a
10 > password like that with wput?
11
12 Are you sure the password is correct, does it work with an interactive ftp
13 program? I just tried that, and it worked, with exactly the same password
14 you used.
15
16 Alex
17 --
18 gentoo-user@g.o mailing list