I can answer this as I went though something similar. Weewx supports FTPS natively, not SFTP. However, there's a SFTP extension you can load that will work correctly. If they use FTPS then what you described is correct - change secure_ftp to true and it'll work. If they use SFTP then you can load the extension and use a similar stanza in the config file to enable it.
On Thursday, January 18, 2024 at 11:23:49 AM UTC-9 Steve2Q wrote: > Tom. I finally got a support tech who was able to solve the problem. > Apparently Dreamhost has made some OS changes which can cause problems with > FTP. I would like to change to SFTP, but I am not sure how to go about > it. The options you referred to do not exist in my weewx.conf file, and I > really don't want to upgrade as I don't want to break the Steel Gauges > which took me a LONG time to get operating properly. Is there a guide to > changing over to SFTP for a "legacy" version of Weewx. Is it as simple as > changing secure_ftp to True, and port to 22? > > The following is the {FTP} section of my weewx.conf file: > [[FTP]] > # FTP'ing the results to a webserver is treated as just another > report, > # albeit one with an unusual report generator! > skin = Ftp > > # If you wish to use FTP, uncomment and fill out the next four > lines. > # Use quotes around passwords to guard against parsing errors. > server = www.xxx > path = xxx/yyy > user = aaa > password = bbb > > # Set to True for an FTP over TLS (FTPS) connection. Not all > servers > # support this. > secure_ftp = False > > # To upload files from something other than what HTML_ROOT is set > # to above, specify a different HTML_ROOT here. > #HTML_ROOT = public_html > > # Most FTP servers use port 21 > port = 21 > > # Set to 1 to use passive mode, zero for active mode > passive = 0 > > Thanks, Steve > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/26ab1d83-0158-4690-b2b5-fdc277dad2b9n%40googlegroups.com.