Home : General : Perl Programming :

General: Perl Programming: Re: [Blurry] NET::ftp hangs after remote log on: Edit Log

Here is the list of edits for this post
Re: [Blurry] NET::ftp hangs after remote log on
Hello Blurry, I have not looked too hard at your code.

But I have a simple script that will get a file from ftp.microsoft.com [ see attached grab.pl ]

Try this out and read the Net::FTP info you can easily find with google.com

You will have to think of permissions when you ask to change a dir on a remote server.

Grab.pl will work. You should use a valid email address for the password.

Thanks

cornball

perl grab.pl


Attempting to connect to ftp.microsoft.com ... waiting on host connection...
Connected to ftp.microsoft.com
We are in !!!
Changing to Ascii mode for transfer
In Ascii mode for file transfer
The file README.TXT has safely landed as bob.txt !
Thankyou and have a nice day .


Also your ls has no where to hold the return information versus :

@ls = $ftp->ls;

Does that make sence to you ? Why do an ls and not use the info ?

Last edited by:

cornball: Apr 13, 2003, 11:02 PM

Edit Log: