Page 1 of 1
EPSV command not accepted
Posted: Fri 16 Sep 2022 3:24 pm
by marcojr1967
Hi!
I've set up the Cumulux MX to upload the realtime.txt file and I'm having a problem:
- the EPSV command is not recognized (as written in the ftplog)
- the realtime.txt file into my website (uploaded manually, just to test) is deleted
How can I solve it?
Thanks!
Re: EPSV command not accepted
Posted: Fri 16 Sep 2022 4:23 pm
by mcrossley
Under... Internet Settings | Web/FTP Site | Advanced Settings
Disable EPSV
Re: EPSV command not accepted
Posted: Fri 16 Sep 2022 5:32 pm
by marcojr1967
Thank you mcrossley,
I did as you said (here a portion of the config )
CopyMoonImage=1
FTPRename=0
DeleteBeforeUpload=0
ActiveFTP=0
DisableEPSV=1
DisableFtpsExplicit=0
ExternalProgram=
RealtimeProgram=
DailyProgram=
but is like Cumulus follows in the same way.
Here the ftp log:
Status: Testing connectivity using Socket.Poll()...
2022-09-16 19:19:12.330 Realtime[11]: Uploading - realtime.txt
2022-09-16 19:19:12.330 FTP[11]: Uploading realtime.txt to /www.montedarena.it/meteo/realtime.txt
# UploadFile("realtime.txt", "/www.montedarena.it/meteo/realtime.txt", Overwrite, False, None)
# FileExists("/www.montedarena.it/meteo/realtime.txt")
Command: SIZE /www.montedarena.it/meteo/realtime.txt
Response: 550 Can't check for file existence
# OpenWrite("/www.montedarena.it/meteo/realtime.txt", Binary)
# GetFileSize("/www.montedarena.it/meteo/realtime.txt")
Command: SIZE /www.montedarena.it/meteo/realtime.txt
Response: 550 Can't check for file existence
# OpenPassiveDataStream(EPSV, "STOR /www.montedarena.it/meteo/realtime.txt", 0)
Command: EPSV
Response: 500 Unknown command
2022-09-16 19:19:12.409 FTP[11]: Error uploading realtime.txt to /www.montedarena.it/meteo/realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2022-09-16 19:19:12.409 FTP[11]: Inner Exception: Unknown command
2022-09-16 19:19:12.409 Realtime[11]: Uploading - realtimegauges.txt
2022-09-16 19:19:12.409 FTP[11]: Uploading web\realtimegauges.txt to /www.montedarena.it/meteo/realtimegauges.txt
# UploadFile("web\realtimegauges.txt", "/www.montedarena.it/meteo/realtimegauges.txt", Overwrite, False, None)
# FileExists("/www.montedarena.it/meteo/realtimegauges.txt")
Command: SIZE /www.montedarena.it/meteo/realtimegauges.txt
Response: 550 Can't check for file existence
# OpenWrite("/www.montedarena.it/meteo/realtimegauges.txt", Binary)
# GetFileSize("/www.montedarena.it/meteo/realtimegauges.txt")
Command: SIZE /www.montedarena.it/meteo/realtimegauges.txt
Response: 550 Can't check for file existence
# OpenPassiveDataStream(EPSV, "STOR /www.montedarena.it/meteo/realtimegauges.txt", 0)
Command: EPSV
Response: 500 Unknown command
Any idea?
Re: EPSV command not accepted
Posted: Fri 16 Sep 2022 5:51 pm
by mcrossley
Did you restart CMX?
Re: EPSV command not accepted
Posted: Sat 17 Sep 2022 6:26 am
by marcojr1967
mm nope!
now it works!
Thanks Mark
Re: EPSV command not accepted
Posted: Sat 17 Sep 2022 7:58 am
by mcrossley
The real-time FTP connection is permanent, so it is only renegotiated on startup or connection failure. The interval transfer connections are made anew each time so will pick up any altered settings without a restart.