The FreeBSD Diary

The FreeBSD Diary (TM) Remember
I remember
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Things look quiet here. But I've been doing a lot of blogging at dan.langille.org because I prefer WordPress now. Not all my posts there are FreeBSD related. I am in the midst of migrating The FreeBSD Diary over to WordPress (and you can read about that here). Once the migration is completed, I'll move the FreeBSD posts into the new FreeBSD Diary website.

fetch - and how to use it behind a firewall 4 January 1999
Need more help on this topic? Click here
This article has 2 comments
Show me similar articles
fetch allows you to retrieve a file by supplying a URL (Uniform Resource Locator).  It is very useful and powerful tool.  It effectively automates an anonymous FTP session.

If you get the following message when you use fetch, then I suspect you are behind a firewall:

su-2.02# fetch ftp://<somefilename>
fetch: ftp://<somefilename>: FTP error:
fetch: Can't open data connection
su-2.02# 

If you are behind a firewall, you might want to try the -P option on the command line.   This will force fetch to "use the passive mode of the FTP protocol.   This is useful for crossing certain types of firewalls." [as quoted from man fetch].


Share
Need more help on this topic? Click here
This article has 2 comments
Show me similar articles