in reply to Downloading large file fails using Mechanize get function

Dillman,
It could be a number of things but the first thing I would do is increase the timeout. Remember that WWW::Mechanize is a subclass of LWP::Useragent. I believe the default is 180.
$agent->timeout(300);
There is also a max_size but the default is undefined and I don't believe WWW::Mechanize doesn't change it.

Cheers - L~R

Replies are listed 'Best First'.
Re^2: Downloading large file fails using Mechanize get function
by Dillman (Novice) on Nov 05, 2013 at 22:53 UTC

    thanks for the response, I will give that a try and let you know the results.

Re^2: Downloading large file fails using Mechanize get function
by Anonymous Monk on Apr 04, 2014 at 15:40 UTC

    Thanks Limbic, after increasing the timeout my script has been working better