Have you tried turning debug on when you create the object? It's been a
while but if I recall correctly that produces a pretty good log of the
session on STDERR.
$ftpobj = Net::FTP->new($host, Debug => $debug) or return "Cannot
connect to host computer $host due to: $@ .\n" ;
Jim Eshelman
www.nepm.net
Network Monitoring with a Difference
----- Original Message -----
From: "Ranga Nathan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: 01/18/2006 2:20 PM
Subject: [Boston.pm] Net::FTP - How to get the FTP log
I dont see any documentation on Net::FTP as to how to get the FTP session
log. When I upload a file to the mainframe which is a file array ( the
correct terminology is GDG - Generation Data Group), the mainframe gives
me the array index. This is returned as a response to the STOR command.
Any way to trick or force Net::FTP to return the response from the FTP
server?
__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591 Fax: 714-442-2840
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm