Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2003 21:00:09 +0200
From:      "Toomas Aas" <toomas.aas@raad.tartu.ee>
To:        Mike Galvez <hoosyerdaddy@virginia.edu>
Cc:        questions@freebsd.org
Subject:   Re: fetch / wget problem
Message-ID:  <200312161900.hBGJ0UED005888@lv.raad.tartu.ee>
In-Reply-To: <20031216185434.GD4859@humpty.finadmin.virginia.edu>
References:  <200312161838.hBGIcTLe005322@lv.raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> > fetch ftp://user.name:password@server.mydomain.com/directory/file.ext
> 
> Have you tried using %2E instead of the dot?

This gets me past the resolve problem, but the FTP server doesn't seem 
to like the user called user%2Ename.

Anyway, I found a way that works, using CURL:

curl -P fxp0 \
ftp://user.name:password@server.mydomain.com/directory/file.ext > \
file.ext

The key here was -P <interface> - without that, CURL also tried to use 
passive mode.

--
Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* Abstain from wine, women and song; mostly song.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312161900.hBGJ0UED005888>