Page 1 of 1

FTP issue - client or server side?

Posted: Sun 22 May 2022 6:27 pm
by Dunnock
Hi

I have used Cumulus 1 since 2012 using WinXP on laptops, without an FTP issues.

i have just installed CumuluxMX installed without issue on my Linux Mint Desktop. It immediately finding my USB-attached Fine Offset console and downloaded data.

I went through the initial setup of CumulusMX, defined the Internet settings and copied the contents of theCumulusMX webfiles folder to my website, by FTP (Filezilla), as directed.

My server permits file renaming and overwriting (I usually overwrite when doing a manual FTP upload).

However, the internal FTP process has failed to to copy any data files to the web server.

Below is a typical stream taken from the ftplog.txt (in which I have replaced URLs with xxxx)

Needless to say the files that are stated as 'not found' are in fact where they I believe they should be, both on the client (my PC) and the server (my website).

I have tried the file 'delete before copy' option in the CumulusMX internet setup, and this simply results in a failure to delete files on the server due to 'file not found' even though the files in question are present.

Can anyone advise what is going on?

Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2022-05-22 08:37:16.493 FTP[Int]: CumulusMX Connecting to home.clara.net

# Connect()
Status: Connecting to 195.xxxxxx
Response: 220 ProFTPD 1.3.5rc3 Server (Claranet UK Home Pages FTP) [81xxxx)]
Status: Detected FTP server: ProFTPD
Command: USER dunnock
Response: 331 Password required for dunnock
Command: PASS ***
Response: 230 User dunnock logged in
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: TVFS
Response: MFMT
Response: SIZE
Response: MFF modify;UNIX.group;UNIX.mode;
Response: REST STREAM
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: UTF8
Response: LANG en-US.UTF-8;en-US
Response: EPRT
Response: EPSV
Response: 211 End
Status: Text encoding: System.Text.UTF8Encoding
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Command: SYST
Response: 215 UNIX Type: L8
2022-05-22 08:37:16.646 FTP[Int]: Uploading Extra files
2022-05-22 08:37:16.646 FTP[Int]: Uploading standard Data file

2022-05-22 08:37:16.648 FTP[Int]: Uploading web/websitedata.json to home.clara.net/dunnock/cumulusMX/websitedata.jsontmp

# OpenWrite("home.clara.net/dunnock/cumulusMX/websitedata.jsontmp", Binary)
Command: TYPE I
Response: 200 Type set to I

# GetFileSize("home.clara.net/dunnock/cumulusMX/websitedata.jsontmp")
Command: SIZE home.clara.net/dunnock/cumulusMX/websitedata.jsontmp
Response: 550 home.clara.net/dunnock/cumulusMX/websitedata.jsontmp: No such file or directory

# OpenPassiveDataStream(AutoPassive, "STOR home.clara.net/dunnock/cumulusMX/websitedata.jsontmp", 0)
Command: EPSV
Response: 229 Entering Extended Passive Mode (|||39384|)
Status: Connecting to 195.xxxx
Command: STOR home.clara.net/dunnock/cumulusMX/websitedata.jsontmp
Response: 550 home.clara.net/dunnock/cumulusMX/websitedata.jsontmp: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()
2022-05-22 08:37:16.759 FTP[Int]: Error uploading web/websitedata.json to home.clara.net/dunnock/cumulusMX/websitedata.json : home.clara.net/dunnock/cumulusMX/websitedata.jsontmp: No such file or directory
2022-05-22 08:37:16.759 Done uploading standard Data file

{Followed by a number of equivalent file transfer failures and finally}

Command: QUIT
Response: 221 Goodbye.
Status: Disposing FtpSocketStream...
2022-05-22 08:37:18.681 FTP[Int]: Disconnected from home.clara.net

Re: FTP issue - client or server side?

Posted: Sun 22 May 2022 6:40 pm
by ConligWX
sounds like you have the wrong remote folder location.

from your hosting company it states:
When you upload files to your website, upload them into the directory /public/www/. You will see the public directory when you first connect via FTP into your web space.
I doubt home.clara.net/dunnock/cumulusMX/ is your websites home page location

https://www.claranetsoho.co.uk/support/ ... site-files

if you still have issues I would advise giving your hosting company a call to clarify your web folders location via ftp.

Re: FTP issue - client or server side?

Posted: Sun 22 May 2022 6:52 pm
by richard_newberry
Turn active ftp on either on web interface or in cumulus.ini.

In cumulus.ini ftp site section active ftp=1

Use a program called winscp to modify the file if it helps.

You must either stop the service and start it or do systemctl restart cumulusmx.service.

Hope that is helpfull.

Pi 4b 4gb on raspbian is enough to run cumulus in command line mode.

Re: FTP issue - client or server side?

Posted: Tue 24 May 2022 12:34 pm
by Dunnock
Thankyou for the replies.

I am quite sure about the remote folder location since I used it for 20 yes with Cumulus 1.

I have raised a Ticket with Claranet to see what they think.

As far as using active FTP, I'm going to hold back on that as I'm fairly sure it should work in passive mode, but I'll wait for the response to my Ticket.

Cheers
Chris

Re: FTP issue - client or server side?

Posted: Wed 25 May 2022 1:55 pm
by Dunnock
Hello again
I have resolved the FTP issue.
Because I have a Claranet account I do not have to specify "/public" in the Remote FTP Directory configuration when connected to home.claranet, it is automatically set to home.clara.net/dunnock at login, and I just have to specify "cumulusmx" as the Remote FTP Directory without / or \. (I am now only using lower case folder names).

I was convinced I had tried that permutation but it seems I can't have done as it is now working, and in passive mode.

Thanks for your responses

Chris

Re: FTP issue - client or server side?

Posted: Wed 25 May 2022 2:50 pm
by mcrossley
:thumbsup:

Re: FTP issue - client or server side?

Posted: Wed 25 May 2022 3:58 pm
by ConligWX
glad you got it resolved :clap: