Hi,

How to list the contents of two different remote directories on a remote FTP site in one single transfer request?

I thought this would do :

CODE
peltrans -po Y -oa RS_FTP -mode I -dir I -type dir -ftp_command "QUOTE CWD /DATA/OUT/; QUOTE LIST; QUOTE CWD /DATA/IN/; QUOTE LIST"


but I get an error :

CODE
SUP   I XBEG_CF-  RS_FTP(62915035) [13215] transfer in requester mode refused: reason="165, Transfer failure" / prot.diag="425, Can’t open data connection" / error=0

Any other way of doing it?

Any hints appreciated.

continue reading.....