Hi,
I don't managed to stream data on a ftp server with my CR1000X.
I can establish an ip connection with the datalogger through the routeur ( VPN) so datalogger seems well connected and configured ( ip, gateway ...).
I tried both active and passive mode without success ( ftp_result = 0 and no data on ftp).
Anyone have an idea about this issue?
here is the code:
Public temp
Public ftp_result
DataTable (Test,True,-1 )
DataInterval (0,10,Sec,10)
Sample (1,temp,FP2)
EndTable
BeginProg
Scan (1,Sec,0,0)
PanelTemp (temp,60)
CallTable Test
NextScan
SlowSequence
Do
Delay(1,30,Sec)
ftp_result = FTPClient ("ftp.site_name.fr","user","pw","Test","test.dat",9,0,5,Min,-1008,60)
Loop
EndProg
Regards,
Firmin
Firmin,
Trying doing a trace in the datalogger terminal while the FTP process is running. You can watch it by typing W then the iption of IP Trace, then 2000.
You will then be able to see exactly what is going on between the datalogger and the FTP server.