Page 1 of 1

Cumulus MX 3.9.1 not producing full FTP logging with SFTP

Posted: Mon 16 Nov 2020 12:25 pm
by Colin99
I upgraded from build 3094 to 3096 (v3.9.1) 3 days ago and no functionality or instability so far. Just one strange thing though..........

Just after upgrading I tried to switch from FTP to SFTP but convinced myself it wasn't working. So I tried FTPS, which worked and logged OK so I left it at that. Having tried again with SFTP today it did appear to work but just wasn't producing an ftp log (despite logging being turned on - I have had it on for several months, but renamed the old ftp logfiles prior to trying the above).

I have just gone through a cycle of turning ftp logging off in the interface, stopping and starting MX (belt and braces!), turning logging back on, stopping and starting MX. Now it has created an FTP log, but all it has in it is the following, even though it has completed 3 upload cycles since the 2 reboots:

# Dispose()
Status: Disposing FtpClient object...

# Dispose()
Status: Disposing FtpClient object...

actual ftp log attached, along with ini file.

Re: Cumulus MX 3.9.1 not producing full FTP logging with SFTP

Posted: Mon 16 Nov 2020 12:50 pm
by Colin99
I meant no functionality issues!!

Re: Cumulus MX 3.9.1 not producing full FTP logging with SFTP

Posted: Mon 16 Nov 2020 2:10 pm
by mcrossley
Because SFTP isn't really FTP at all but a related beast called SSH File Transfer Protocol, it does not write to the FTP log.

If you enable FTP logging when using SFTP, you will find that additional file transfer messages are logged in the standard Cumulus MXdiags file. This actually makes debugging a bit simpler as all the messages are logged chronologically in one file.

Re: Cumulus MX 3.9.1 not producing full FTP logging with SFTP

Posted: Mon 16 Nov 2020 10:52 pm
by Colin99
OK I did wonder!

Thanks Mark