Hi,
I use a CR1000 with OS32.02
I have somes problem with command FTPClient.
I woukldlike create file and append data on my FTP server (domain FTP on OVH).
I looked on the forum and I find this and this but it doesn't work.
I finded this code in document ftpsteaming :
Public LoggerTemp, BattV Public FTPResult Const FTP_Serveur = "xxx.xxx.xxx.xxx:21" Const FTP_USER = "xxxxxxxxxxxx" Const FTP_PASS = "xxxxxxxxxxxx" DataTable (FTPTest,1,-1) Minimum (1,BattV,FP2,False,False) Sample (1,LoggerTemp,FP2) EndTable BeginProg Scan (10,Sec,0,0) PanelTemp (LoggerTemp,250) Battery (BattV) CallTable FTPTest NextScan SlowSequence Do Delay(1,20,Sec) FTPResult=FTPClient (FTP_Serveur, FTP_USER, FTP_PASS, FTPTest","/Campbell/FTP_Tutorial_1.dat",8, 0, 2, Min,-1008) Loop EndProg
And the file on my server is overwrite and not append every 2 minutes.
I try : FTPResult=FTPClient (FTP_Serveur, FTP_USER, FTP_PASS, FTPTest","/Campbell/FTP_Tutorial_1.dat",9, 0, 2, Min,-1008) and the result is the same.
Thanks for your help, I planned a mission in 2 weeks.
Hi,
nobody to help me ?
Problem solved.
My IT department set up an FTPS server with VSFTPD and it works fine. Do not use the OVH FTP server.