I am trying to use my COM111 modem in order to send data table to my FTP server. The first program, i'm trying to use is very simple :
'Define Data Tables
'Default CR6 Datalogger Battery Voltage measurement 'BattV'
FtpEnvoi = FTPClient("ftpserver.com","username","password","Table2","essai.csv",9,0,2,Min,-1008)
When i use it with my first CR6 datalogger which have no others captors, it works.
But when i am trying to use it with an other CR6 with others captors, i doesn't work. I am making the same steps for each datalogger, one works but not the other one. I am using the Mobile Data Assistant to configure the Modem on each CR6, each time it writes that the modem and datalogger settings has been successful. The orange led on the RS-232 CPI Port is on with the working datalogger but it's off with the one who doesn't work. It is because the settings aren't really good ?
When i check, the public result of FTPresult at the beginning is -2 but it becomes 1 after 2 minutes but i don't know 1 corresponds for.
If somebody can help me, please !
A good test is to swap the modems between the stations. If the problem follows the modem, focus on the modem settings etc.
I would suggest looking at the settings on the dataloggers using Device Configuration Utility. The PPP tab and the Comport settings are where you should look for differences.
This post is under review.