Switch to desktop version  
FTP Error - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Ewon Embedded Technology (https://techforum.ewon.biz/forum-51.html)
+---- Forum: Field Data Acquisition (https://techforum.ewon.biz/forum-2.html)
+---- Thread: FTP Error (/thread-1080.html)



FTP Error - insyncs - 04-11-2019

Hi Support,

I have a device that has been in operation since 2016 that collects fiscal data from a CHP plant. its running FW 12.1S2

Every day and once a month at midnight the collected data is emailed and transferred to an external  FTP server.  I have ten eWon's on different sites all doing the same thing to the same server.

A few months back one device stopped putting data onto the FTP server.  Emails are still received.  The error is "accept timeout 24009".  I have visited site and used my PC on the WAN and LAN side of the ewon and I can connect to the same FTP without error.  No configuration has changed and all the other sites are fine.

In desperation I tried another ewon with FW 13.0 and it also produced the same error and code.  I'm not sure what else i can try, any ideas?

Cheers M


RE: FTP Error - simon - 07-11-2019

Hi,

Have you try to switch in Passive mode (or active if you are already in passive) ?
If you use the task planner or alarm notification, see parameter FTPC_ACTO in config.txt (https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/knowledge-base/kb-0052-00-en-ewon-config-txt.pdf?sfvrsn=753857d7_6)
If you declare the FTP server in a PUTFTP script command, then there is a parameter in the function to set it in passive mode :

a$ = "/ewon1/Temperature.txt"
b$ = "[dtHL$ftT$tnTemperature]"
c$ = "user:pwd@FTPserver.com,1" //,1 means passive mode
PUTFTP a$, b$, c$

Simon


RE: FTP Error - insyncs - 07-11-2019

(07-11-2019, 05:15 PM)simon Wrote: Hi,

Have you try to switch in Passive mode (or active if you are already in passive) ?
If you use the task planner or alarm notification, see parameter FTPC_ACTO in config.txt (https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/knowledge-base/kb-0052-00-en-ewon-config-txt.pdf?sfvrsn=753857d7_6)
If you declare the FTP server in a PUTFTP script command, then there is a parameter in the function to set it in passive mode :

a$ = "/ewon1/Temperature.txt"
b$ = "[dtHL$ftT$tnTemperature]"
c$ = "user:pwd@FTPserver.com,1" //,1 means passive mode
PUTFTP a$, b$, c$

Simon

Ok thanks Simon i will have a look.

I tried the passive mode via the check box, but not in the script.  i will try and let you know.

Cheers M


RE: FTP Error - simon - 08-11-2019

It should be the same in script...
I think it can be due to a firewall issue somewhere... :-(

Simon


RE: FTP Error - simon - 13-11-2019

Markus,

Sorry, I misunderstood the parameter FTPC_ACTO. It is actually the timeout of the accept command when using passive mode.
So try to use passive mode AND set this parameter (FTPC_ACTO ) to 30000 for example

Simon