The new code incorporates the switchable debug level (set to 5) and running it again produced the following:
Net::FTP: Net::FTP(2.65) Net::FTP: Exporter(5.562) Net::FTP: Net::Cmd(2.21) Net::FTP: IO::Socket::INET(1.25) Net::FTP: IO::Socket(1.26) Net::FTP: IO::Handle(1.21) Net::FTP=GLOB(0x1badea4)<<< 220 ProFTPD 1.2.7 Server (FTP Server) [som +e.ftp.com] Net::FTP=GLOB(0x1badea4)>>> user user Net::FTP=GLOB(0x1badea4)<<< 331 Password required for user. Net::FTP=GLOB(0x1badea4)>>> PASS .... Net::FTP=GLOB(0x1badea4)<<< 230 User user logged in. Net::FTP=GLOB(0x1badea4)>>> TYPE I Net::FTP=GLOB(0x1badea4)<<< 200 Type set to I. Net::FTP=GLOB(0x1badea4)>>> PWD Net::FTP=GLOB(0x1badea4)<<< 257 "/" is current directory. The CWD is: / Net::FTP=GLOB(0x1badea4)>>> PORT 65,235,148,119,18,190 Net::FTP=GLOB(0x1badea4)<<< 200 PORT command successful Net::FTP=GLOB(0x1badea4)>>> LIST Net::FTP=GLOB(0x1badea4)<<< 425 Unable to build data connection: Opera +tion timed out The contents of the dir:
I firmly believe you when you say it works with your FTP server -- it should work.

I set the timeout to 500 seconds, and it still timed out -- so I'm thinking the problem is something related to my installation of Net::FTP. I'm going to attempt reinstall and try to answer some of the questions differently -- any suggestions on which to answer, which way to answer them, or am I headed off in the wrong direction altogether?

UPDATE

I just did a reinstall on Net::FTP, and that has apparently been the whole problem. Thanks to all three of you for the patience you've shown with me -- FTP is something I'm a stranger to, but not quite so much any more. :)

-----------------------
You are what you think.


In reply to Re: Re: Re: Re: Net::FTP Woes by chaoticset
in thread Net::FTP Woes by chaoticset

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.