Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: FTP issue - feedback appreciated

by monk2b (Pilgrim)
on May 23, 2001 at 22:21 UTC ( #82660=note: print w/replies, xml ) Need Help??


in reply to FTP issue - feedback appreciated

I use a very simple version of what you are doing.
It is easier for me to understand
#!/usr/local/bin/perl -w use Net::FTP; $hostname = 'hostname'; # ie laserlight.net $username = 'whatever'; # ie login name $password = 'whatever'; # ie adb87nhe $ftp = Net::FTP->new($hostname); $ftp->login($username, $passwd); $ftp->cwd("/home/kevin"); # this is where you change directories $ftp->put("$OUTFILE2/IC$CPREVDATE"); $ftp->quit;

This code sample may very well be too simple for you to use
it helps me understand the process better.

made the corrections that beatnik suggested

learning monk2b

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://82660]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2022-05-24 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?