Re: FTP Login/commands

2003-07-29 Thread Michael Muratet
On Tue, 29 Jul 2003 12:02:07 -0400 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am trying to modify a script to automatically login to an FTP server > and LCD to a path and then CD to the path where the files are, then to > download the files. > > I wrote this in DOS about 6 months ago and

Re: FTP Login/commands

2003-07-29 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > I am trying to modify a script to > automatically login to an FTP server use Net::FTP; my $ftp = Net::FTP->new('ftp.server.domain.com'); $ftp->login('username', 'password'); > and LCD to a path This is nothing to do

FTP Login/commands

2003-07-29 Thread [EMAIL PROTECTED]
I am trying to modify a script to automatically login to an FTP server and LCD to a path and then CD to the path where the files are, then to download the files. I wrote this in DOS about 6 months ago and it works in conjunction with a batch file (which calls the login/command file) but I am havin

ftp login

2001-08-03 Thread Sparkle Williams
I'm trying to get my program to retrieve a file through ftp. However I keep getting the error "can't call method login" for the following line: '$ftp->login( $username , $password )' and doesn't retrieve the file. I can't see where I ma

RE: ftp login

2001-08-03 Thread Sparkle Williams
ame you are searching for is..."; chomp ($filename = ); $ftp = Net::FTP->new($url, Debug=>0); $ftp->login( $username, $password ); The complete error message is : Can't call method "login" on an undefined value at D:\sparkle\perl6.pl line 50,

RE: ftp login

2001-08-03 Thread John Edwards
Here's an example script from the Net::FTP docs use Net::FTP; $ftp = Net::FTP->new("some.host.name"); $ftp->login("anonymous","[EMAIL PROTECTED]"); $ftp->cwd("/pub"); $ftp->get("that.file"); $ftp->quit; HTH John

RE: ftp login

2001-08-03 Thread John Edwards
have you got use Net::FTP; at the top of your script?? John -Original Message- From: Sparkle Williams [mailto:[EMAIL PROTECTED]] Sent: 03 August 2001 14:54 To: [EMAIL PROTECTED] Subject: ftp login I'm trying to get my program to retrieve a file through ftp. However I keep ge