Hi,

We are using version 2.6.5 of lftp on a Red Hat 7.1 machine to automaticly ftp 
some files to an IBM mainframe. This mainframe has a ftp server that only 
allows active ftp connections. Now we have a problem setting the lftp client 
to active. Our script looks like this :

set ftp:passive-mode off
open mainframe
user xxxx xxxxx
put file
bye

This doesn't work. The client stays in passive mode. Moving the "set" line to 
under the line "user" doesn't help. We tried to set ftp:passive-mode off in 
/etc/lftp.conf and in /root/.lftp/rc . Also we tried everything with the line 
set ftp:passive-mode no. Nothing helped. Any ideas ?

Thanks,

-- 
-----------------------------------------------
Diederick van Dijk
Email: [EMAIL PROTECTED]
Website: http://www.van-dijk.net

Reply via email to