Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I need for my Perl Script for Win32 to ftp to remote sites and download and upload various files - and while I can find some Net modules that I have grown to love in Unix, I can't find my dear Net::FTP! I assume it hasn't been ported yet - which is rather odd.

However, Net::Telnet has - and I was wondering if I could use some combinations of this and Unix scripting to run ftp from a Perl-simulated Telnet session. I'm kinda old-fashioned so I just use the old Unix 'ftp', and am not sure how I can make a script to handle automating that process since it's interactive (with a different prompt no less!) and not a batch process. This causes problems with FTP and my limited knowledge of scripting. Remember - Net::Telnet works by the timeout parameter and the shell character parameter - and these could both mess up FTP due to the fact that the Unix 'ftp' shell has it's own shell character and long file transfers would timeout.

Please help me! This is for a vital project of mine, and I know Perl masters out there must have encountered this before.

Harry Halpin


In reply to Can't use Win32 Perl to FTP - no Net::FTP for Win32? by hhalpin

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found