Re: [weewx-user] ftp does not work

2020-03-23 Thread Thomas Keffer
We will need to see the log file. See the Wiki article *Help! Posting to
weewx-user
* for how
to post a useful log file.

To answer your questions:

   1. HTML_ROOT is where the files are coming *from*. It is usually
   specified under the [StdReport] section.  It should not be necessary to
   specify it again in the [[FTP]] section,
   2. How 'path' is interpreted depends on the FTP server. Usually it is
   the path relative to the FTP user ('myuser' in your case). It may or may
   not need a leading slash.

-tk

On Mon, Mar 23, 2020 at 7:36 AM Astrid  wrote:

> Hello!
>
> I am using weewx 3.9.2 on leap 15.1
>
> In the moment I want to use the
> Standard-skin, not the ftp-skin.
> (I will decide the skin later on.)
>
> On my computer the files are
> put on /var/www/htdocs/weewx folder
> very well and updatet.
>
> But it does not work, that the files
> are put to external webserver via ftp.
>
> A subset of lines from my weewx.conf:
>
> WEEWX_ROOT = /
> [StdReport]
> HTML_ROOT = /var/www/htdocs/weewx # -> this works
> [[StandardReport]]
> skin = Standard
> enable = true
> [[FTP]]
> ##skin = Ftp # -> to keep the Standard-Skin
> enable = true
> user = myuser
> password = mypw
> server = mysubserver
> path = / # -> this is ok to, there is a special
> ftpuser, which points to the correct folder
>
> HTML_ROOT = /   # ??? is this where it goes on my subserver, or
> where it copy from local?
>
> port = 21
> passive = 1
>
> If I did on commandline
> ftp myuser@mysubserver
> it works and I am in correct folder, where the weewx-files
> should be placed.
> I did
> put test.file
> and it works too.
> So I think, the default-ftp-parameter port 21 and passive are ok?
>
> But why the weewx did not put on ftp... :(
> How I can get it work?
>
> Regards, Astrid
>
>
> --
> 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/1e2e5583-03a8-44a0-aa86-8f1ee197096b%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEBz94KVXTMW4hLDshryJv4A0AvasamX7_kwZ05QuwEfng%40mail.gmail.com.


[weewx-user] ftp does not work

2020-03-23 Thread Astrid
Hello!

I am using weewx 3.9.2 on leap 15.1

In the moment I want to use the
Standard-skin, not the ftp-skin.
(I will decide the skin later on.)

On my computer the files are
put on /var/www/htdocs/weewx folder
very well and updatet.

But it does not work, that the files
are put to external webserver via ftp.

A subset of lines from my weewx.conf:

WEEWX_ROOT = /
[StdReport]
HTML_ROOT = /var/www/htdocs/weewx # -> this works
[[StandardReport]]
skin = Standard
enable = true
[[FTP]]
##skin = Ftp # -> to keep the Standard-Skin
enable = true
user = myuser
password = mypw
server = mysubserver
path = / # -> this is ok to, there is a special 
ftpuser, which points to the correct folder

HTML_ROOT = /   # ??? is this where it goes on my subserver, or 
where it copy from local?

port = 21
passive = 1

If I did on commandline
ftp myuser@mysubserver
it works and I am in correct folder, where the weewx-files
should be placed.
I did
put test.file
and it works too.
So I think, the default-ftp-parameter port 21 and passive are ok?

But why the weewx did not put on ftp... :(
How I can get it work?

Regards, Astrid


-- 
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/1e2e5583-03a8-44a0-aa86-8f1ee197096b%40googlegroups.com.