I'm trying to read a file list from a remote server, with FTPGetDirList:
Code: Select all
FTPGetDirList>ftpserver,ftpuser,ftppasswd,21,local_path,ftp_path,,L
I have a sub for manage the connection error:
Code: Select all
srt>controllo_ftp
if>FTP_RESULT<>{"Success"}
GetDate>date
GetTime>time
Let>msg="L'automa si e' arrestato perche' ci sono problemi con il server FTP. Data :"
ConCat>msg,date
Concat>msg," Ora: "
Concat>msg,time
Concat>msg," - "
Concat>msg,FTP_RESULT
MessageModal>msg
exit>0
endif>
END>controllo_ftp
On Windows 10, FTP_RESULT does not give "success", but instead "226-transfer complete" (see image).
And the file is not created!
I have tried to switch off Windows Firewall, but nothing happens.
It seems something related to Windows 10.
Any idea?
Thanks!

