Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

EPSV command not accepted

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
marcojr1967
Posts: 5
Joined: Fri 16 Sep 2022 2:02 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10

EPSV command not accepted

Post 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!
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: EPSV command not accepted

Post by mcrossley »

Under... Internet Settings | Web/FTP Site | Advanced Settings

Disable EPSV
marcojr1967
Posts: 5
Joined: Fri 16 Sep 2022 2:02 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10

Re: EPSV command not accepted

Post 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?
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: EPSV command not accepted

Post by mcrossley »

Did you restart CMX?
marcojr1967
Posts: 5
Joined: Fri 16 Sep 2022 2:02 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10

Re: EPSV command not accepted

Post by marcojr1967 »

mm nope! :?
now it works! :D
Thanks Mark
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: EPSV command not accepted

Post 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.
Post Reply