Hi,

Thanks for the responses.

1. Increasing the timeout just makes the call wait a longer or shorter duration before it borks.
2. Commenting PASV out does nothing.
3. The debug just prints out the FTP conversation, and fails with my die() message.
4. The script fails at put() each and every time.


When I check the FTP server, I see that it creates the file for me, but it just sits at 0kb until the session terminates. I've found some nice Net::FTP code here abouts (better error handling than I have), and will also try a solution that I understand...watching packets on the wire to see what's cutting on the network.

I suspected a possible permission error, but read/write is set on the virtual folder, and a bash FTP works fine. That said, it may be time for a system() call to see if I get a similar error.

In reply to Re: Net::FTP insanity by NoSignal
in thread Net::FTP insanity by NoSignal

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.