Contacting an FTP server with FileZilla on UNIX it gave no problems asking for the file list with "*.TXT"
Code: Select all
eval $Rc = ftp_list($Fd:%trim($FilesTXT):100: %addr($FilesName): $FilesNumber
Code: Select all
eval $Rc = ftp_list($Fd:' ':100: %addr($FilesName): $FilesNumber
With this solution the program goes into TIMW state for about a minute then returns "$RC = -0000000001".
Thanks and sorry for my bad english