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 made an error in this line. Any ideas?
Thanks
line 5.
There you go. It's driving me crazy because I just can't seem to see what's
wrong. Help!
Thanks,
Sparkle
>From: Bob Showalter <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: RE: ftp login
>Date: Fri, 3 Aug 2001 10:52:11 -0400
>
> &
.
>From: "Daniel Mester" <[EMAIL PROTECTED]>
>To: "'Sparkle Williams'" <[EMAIL PROTECTED]>
>Subject: RE: Login error w/FTP
>Date: Thu, 26 Jul 2001 17:29:19 +0200
>
>Hi,
>i guess that problem is that you don't use 'chomp'
Well, I have this script that I'm trying to write using the FTP module,
however it keeps responding with an error message concerning the login line
of the script whenever I try to run it. I have run out of ideas and have
absolutely no clue as to what the problem is. It is driving me crazy. Belo
Is there any other way to input information through STDIN other than using
$variable = ? I have a script that requires multiple values of
STDIN, each one different, but the script reads each of the consecutive
STDIN values as equal to the first. Help!
x that?
>From: "Will Crain" <[EMAIL PROTECTED]>
>To: "Sparkle Williams" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Subject: RE: Unix syntax
>Date: Tue, 24 Jul 2001 10:51:15 -0500
>
>Without seeing the complete script, I can only venture to gue
I wrote a program running off a Windows NT platform and was trying to
convert it to a UNIX platform. My problem comes with my syntax. I keep
recieving an error message and was hoping someone could help me fix the
syntax so that the script would run.
use lib 'LWP::Simple'
use LWP::S
I am trying to write a Perl script that invokes the Net::FTP module. Looking
at a sample script for this I noted the use of $ftp_home. I thought that
that value represented the home directory I was running the program from.
But that doesn't work, so I was wondering exactly what the value of ftp
I apologize, but I'm a real beginner and thus must ask...what is a sanity
check and better yet, how do I add one?
>From: "Jos I. Boumans" <[EMAIL PROTECTED]>
>To: "Sparkle Williams" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: Re: perl
I have written a perl script that retrieves in html style text from internet
files. I need to also retrieve the images that accompany the text. Is there
a module I can use to do this? I also was wondering, if I desired to open
the files retrieved in a browser window, is there any way I can wri
Is there a way to rip the HTML tags with multi-line HTML tags?
>From: "Sascha Kersken" <[EMAIL PROTECTED]>
>To: Sparkle Williams <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: perl and internet files
>Date: Thu, 19 Jul 2001 16:07:01 +0200
>
&
Good morning!
I just wrote a perl program that retrieves files of type http:// and ftp://
from the internet. When it retrieves the files it
comes up in the html syntax of head, body, text etc. Is there any way I can
write an addition to my script that will cause
the text to come up in it's form
t; print "I'm sorry. This program does not support that type of
>file."
>;
> }
>
>Sascha
>
>- Original Message -
>From: "Sparkle Williams" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, July
I'm trying to write a perl script that can distinguish between http and ftp
files. I got it to work on my UNIX system using case, but I can't seem to
get it to function correctly when I switch to using if-then on my Windows NT
system. Does anyone have any ideas as to how I can correctly adjust
Hey!
I'm trying to install a filter like filter::util::call or filter::simple,
however when I do, both come up with a significant amount of files missing.
I do not believe that it's my computer however. I was wondering if anyone
knew of anyone other filters that perform the same function, or so
I'm having two problems
1) Is there an equivalent of the case function in Perl?
2)I'm also getting a syntax error for the following part of my program that
I'm attempting to run on my Unix system. I get a syntax error message for
'new($url, ', 'login($username, 'cwd($ftp_home), ', and 'get($fil
16 matches
Mail list logo