On Sunday, February 19, 2023 at 3:55:23 AM UTC-8 Tom Keffer wrote:
The article that Vince linked to is where to find the results in the WWW, 
not where to have FTP upload to.


Sigh - yes.  Agree.  Sorry for the confusion.
The webserver could be mapping a user's public_html to the path in the link 
I provided.
 
Keep trying different paths. For example, path = public_html/hytte (no 
leading slash).


Agree.  I'd try that next.
The leading slash in the previous posts is very likely wrong.

Also, you may have the right path, but the wrong permissions on the server. 
Log into the web server (if you can) and make sure that the 
permissions have been set correctly.

Agree.  Manually ftp 'any' file from the shell and see if it works.

To figure it all out, a manual ftp from the shell would likely answer the 
questions.

   - ftp linux83.unoeuro.com
   - when prompted, enter your username
   - when prompted, enter its password
   - the prompt will change to ftp>
   -    then you can use the 'pwd' command to get the full pathname for 
   your user's home directory
   -    you can run the 'ls' command to see if there's a public_html tree 
   there and what it's permissions are
   -    enter 'bye' to exit

pi@raspberrypi:~ $ ftp pi
Connected to pi.
220 raspberrypi FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
Name (pi:pi): pi
331 Password required for pi.
Password:
230-
230- The programs included with the Debian GNU/Linux system are free 
software;
230- the exact distribution terms for each program are described in the
230- individual files in /usr/share/doc/*/copyright.
230-
230- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
230- permitted by applicable law.
230 User pi logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/home/pi" is current directory.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
total 132
-rw------- 1 pi   pi    6562 Feb  8 13:01 .bash_history
-rw-r--r-- 1 pi   pi     220 Dec  2  2020 .bash_logout
-rw-r--r-- 1 pi   pi    3523 Dec  2  2020 .bashrc
-rw------- 1 pi   pi      40 Jun 27  2021 .lesshst
-rw-r--r-- 1 pi   pi     807 Dec  2  2020 .profile
-rw-r--r-- 1 pi   pi      75 May 26  2021 .selected_editor
drwx------ 2 pi   pi    4096 Dec  7  2021 .ssh
-rw------- 1 pi   pi    8626 Jun 27  2021 .viminfo
-rw-r--r-- 1 pi   pi      53 May 26  2021 .vimrc
226 Transfer complete.
ftp> bye
221 Goodbye.

 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/72187f72-7039-4405-9a7d-ade073340459n%40googlegroups.com.

Reply via email to