Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

FTPClient failure


firmin Aug 9, 2018 11:01 AM

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


GaryTRoberts Aug 17, 2018 03:12 AM

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.

Log in or register to post/reply in the forum.