Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'use .netrc' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
use .netrc
Authored by: nvdingo on Apr 27, '06 09:36:36AM

If you get tired of remembering to issue epsv4 for every connection, or adding the command line option to disable it, use the .netrc file to do it automatically.

putting the following into the .netrc (create if necessary) in your user directory, will automatically turn on/off epsv4 for all hosts you connect to

default
macdef init
    epsv4

That's it. One useful option that i added to my .netrc was this on the line after the epsv4 command, I added
   throttle put 30k

I have DSL with an outgoing bandwidth of 384kbps, which translates to roughly 34KBps. By adding the throttle command, i ensure that my outgoing file transfer doesn't take ALL of my outgoing bandwidth, which would choke my outgoing requests for webpages.

If you have ever wondered why your web surfing is so slow while sending a large file, it is because you are taking up all your outgoing bandwidth, and your request for the page can't even get out.

doesn't really matter if you have a 6Mbps business DSL line if your outgoing channel is saturated, you aren't going to surf anywhere fast

[ Reply to This | # ]