02-16-2009 12:55 PM
Hello all,
I'm using the internet toolkit to copy the startup.rtexe to a local folder. I'm using FTP Retrieve Multiple.vi, it always outputs error on the VI (Error 56 occurred at TCP Wait On Listener in FTP Open Data Connection.vi->FTP Data Receive.vi->FTP [RETR].vi->FTP Retrieve Multiple.vi->Updater.vi.
On top of this error in the rt interface it outputs another error (error in calling m_DataConn.Connect, err=19).
I can open the connection with no problem, rename files. I just can´t copy or write files!!
Thanks,
Adam
02-17-2009 06:58 AM
Hi,
You want to upload file by TCP on RT target, but TCP/IP is not deterministic, so you have an timeout error.
Have a look on this :TCP/IP Communication Error -56 When Communicating to an RT System
Regards,
Aurélien J.
National Instruments France
02-17-2009 09:25 AM
Hello,
I was trying to copy files to the RT system using the FTP library from NI. It kept giving me the errors I refered.
I fixed this using the passive and binary mode in FTP.
tks,
Adam
10-03-2019 04:42 PM
Hi Adam,
Thanks! You just solved a problem I had spent hours trying to figure out in an application which did not work in LV2017 but did in LV2011.
Changing to passive and binary mode also helped speed up the time of operation TENFOLD in 2017 over its working 2011 counterpart.