With some difficulty, I've got my FTP set up, but it isn't
working. Because my FTP login isn't the same as the
~/public_html/... place I want to put the files, I have my path set like
this:
~/public_html/david/weather
[[FTP]]
skin = Ftp
# FTP'ing the results to a webserver is treated as just another report,
# albeit one with an unusual report generator!
#
# If you wish to use FTP, uncomment and fill out the next four lines:
user = user@myserver.com
password = myftppassword
server = myserver.com
path = /
# Set to 1 to use passive mode, zero for active mode:
passive = 1
# How many times to try to transfer a file before giving up:
max_tries = 3
# If you wish to upload files from something other than what HTML_ROOT
# is set to above, then reset it here:
# HTML_ROOT = public_htmlSo on my server side, I set the FTP account root as public_html/weather so as far as weewx was concerned it was FTPing to "/" a root.
weewx was just copying my locally created / generated files from its default location, so HTML_ROOT was commented out.
Now I get these messages:
Failed to upload file /home6/<realusername>/public_html/david/weather/daywindvec.png
It's attempting to find that path on the LOCAL machine, but that's what
I want the REMOTE path to be.
path = /home6/<realusername>/public_html/david/weather
When you use another client to log into the FTP server with the same credentials / username & password, where does it put you? At / of home6