Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2003 22:07:27 +0200
From:      "Toomas Aas" <toomas.aas@raad.tartu.ee>
To:        "Micheal Patterson" <micheal@tsgincorporated.com>
Cc:        questions@freebsd.org
Subject:   Re: fetch / wget problem
Message-ID:  <200312172007.hBHK7dPj029905@lv.raad.tartu.ee>
In-Reply-To: <061701c3c406$ad39cc80$4df24243@tsgincorporated.com>

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

> From:          "Micheal Patterson" <micheal@tsgincorporated.com>
> Date:          Tue, 16 Dec 2003 12:59:03 -0600

> ----- Original Message ----- 
> From: "Toomas Aas" <toomas.aas@raad.tartu.ee>
> Sent: Tuesday, December 16, 2003 12:38 PM

> > I think that firewalls are configured correctly, because I can
> > successfully get the file manually, using the 'ftp' command.
> >
> > However, when I try this command:
> >
> > fetch ftp://user.name:password@server.mydomain.com/directory/file.ext
> >
> > I get an error message:
> >
> > I also tried wget, which succeeds to connect, but then, no matter what
> > I do, insists on using passive mode.
>
> You may be able to do this with a .netrc in the user folder that's running
> the script.

Thanks for the idea, perhaps it would work. But considering that the 
filename to be downloaded is not fixed but needs to be passed to the 
script as a parameter, I think that it's easier to use CURL (as I wrote 
yesterday). Otherwise I would need to dynamically modify the .netrc 
file.

--
Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* Don't use no double negatives.



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