Gentoo Archives: gentoo-user

From: Michal 'vorner' Vaner <vorner@×××.cz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} wput with weird characters
Date: Fri, 31 Aug 2007 19:46:26
Message-Id: 20070831192225.GA2993@tarantula.kolej.mff.cuni.cz
In Reply to: [gentoo-user] {OT} wput with weird characters by Grant
1 Hello
2
3 On Fri, Aug 31, 2007 at 11:50:43AM -0700, Grant wrote:
4 > I need to periodically upload a file to an ftp server, but the
5 > password they've issued me has a '!' and a '&' character in it. I
6 > tried escaping those characters like this:
7 >
8 > wput -A file.txt ftp://username:abc\!123\&@ftp.example.com/file.txt
9
10 Did you try using ' around the whole argument? Like
11
12 wput -A ... 'ftp://....txt'?
13
14 --
15 This message has optimized support for formating.
16 Please choose green font and black background so it looks like it should.
17
18 Michal 'vorner' Vaner

Replies

Subject Author
Re: [gentoo-user] {OT} wput with weird characters Grant <emailgrant@×××××.com>