I am trying to use the Net::FTP module to download a file about 3 gb. When the local file reached 2147483647 bytes, I got an error message: can't not write to local file, or file size limit exceeded. But when I start the ftp program on the command line, I can download the complete file of 3 gb. My OS system is: Linux 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686, and the Perl version is: 5.6, but the original built was configured to a different OS version of the following:

$ perl -V Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=linux, osvers=2.4.6-3.

1enterprise, archname=i386-linux uname='linux stripples.devel.redhat.com 2.4.6-3.1enterprise #1 smp

tue jul 2 4 14:03:17 edt 2001 i686 unknown '

Was there a known issue like this when using this module in such an environment? Any input will be greatly appreciated.

Thanks, Jeff


In reply to Net::FTP: file size limit on Linux? by jiewho

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.