Hi,
Could anyone help me, what is wrong with the program below?
I need to spool the STDERR into a file in order to check it.
Here is the source, which doesn't work:
sub putftp {
$ftp = Net::FTP->new("1.2.3.4", Debug => 1);
$ftp->login("name",'passwd')...
Hi,
I have a perl script, which transfer files to another host by ftp.
Could anyone help me, how to handle if ftp may shut down on the remote host?
kisan
Yes I have tried it as well.
Unfortunately it puts the following lines into the body of the mail:
To: me
Subject: MySubject
BlahBlah
..and the Subject field has already been empty.
kisan
Hi,
Could anyone help me, how to can I set the subject of a mail, if I want to use the SMTP modul?
$smtp = Net::SMTP->new('1.2.3..4', Debug => 0);
$smtp->mail("as@df.gh");
$smtp->to('qw@er.tz');
$smtp->data()...
Hi,
I would like to write out in a file the message, what ftp print out, if we set it's Debug parameter level to 1.
$ftp = Net::FTP->new("1.2.3.4", Debug => 1);
Could anyone help, how to write this message in a file?
thx
kisan
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.