In a private email, Kalli noted that the value for "path" is

[[FTP]]
   ...
   path = /home/weewx/public_html
   ...

Two things to note:

   - "path" is the *destination* directory. This is usually something like
   "/var/www/html" or "/weewx".
   - "HTML_ROOT" is the *source* directory, usually set to
   "/home/weewx/public_html" if you used the setup.py install method (which
   you did).

You did not say what destination directory you expect, but it is probably
not "/home/weewx/public_html". Think about where you want the files to go,
and set "path" to that. Whatever it is set to, you must have write
permission for the user name you supplied. Another complication is that for
some FTP servers the path must be an absolute path, for others it is
relative to the home directory of the supplied user. Experiment.

On the other hand, maybe you did want "/home/weewx/public_html". If so, let
us know and we'll go to the next step.

-tk



On Wed, Mar 9, 2022 at 12:23 PM Tom Keffer <tkef...@gmail.com> wrote:

> We have seen this error before and it's very misleading. Despite the
> message, it can be caused by problems either locally or remotely.
>
> 1. Make sure the FTP username has write permissions on the server for the
> path you specified.
> 2. Make sure the password is correct. Does it include special characters?
> If so, be sure to quote the password.
> 3. Does your server require FTPS?
> 4. Try different variations for the path option for [FTP].
>
> If you are still stuck, post your [FTP] section, but be sure to obfuscate
> your password first.
>
> -tk
>
> On Wed, Mar 9, 2022 at 11:28 AM vince <vinceska...@gmail.com> wrote:
>
>> Possibly, but why would weewx try to upload a file that is not there on
>> the weewx system ?
>> Or is that what that #FTPlast file does ?
>>
>> https://groups.google.com/g/weewx-user/c/XwQqsslGKfA suggests removing
>> that file which should cause weewx to upload everything it finds.
>>
>> On Wednesday, March 9, 2022 at 10:11:51 AM UTC-8 kk44...@gmail.com wrote:
>>
>>> kalli...@gmail.com schrieb am Mittwoch, 9. März 2022 um 18:27:38 UTC+1:
>>>
>>>> Reason: '550 /home/weewx/public_html/monthhum.png: No such file or
>>>> directory'
>>>>
>>>
>>> I would have listened to that error message and guess, the local file is
>>> missing.
>>>
>>>
>> --
>> 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/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CAPq0zEAy5iK3SsQGgT6nL%3D1UM4sPPyjA_vA4LXc-PMcsyi246Q%40mail.gmail.com.

Reply via email to