RE: [Perl-unix-users] FTP to AS400, issue sending command

2002-08-13 Thread Einecker, Leah
Hi! Have you tried using $ftp->site()? "site (ARGS) Send a SITE command to the remote server and wait for a response. Returns most significant digit of the response code." (Net::FTP perldoc) If that doesn't work, you may be able to get it working as $ftp->quot(): "quot (CMD [,ARGS]) Send

[Perl-unix-users] FTP to AS400, issue sending command

2002-08-13 Thread Conor Lillis
Hi, I need to send the command "quote site namefmt 1" to the FTP server on an AS400 as part of a file transfer script. Is it possible to send non-standard commands using the Net::FTP module ? Here's my code, I'm stuck. $host="ftpserver"; $ftp = Net::FTP->new("$host", Debug => 1);