Trixology

WeatherCat => WeatherCat General Discussion => Topic started by: wx-watch on September 20, 2023, 08:52:41 AM

Title: Life Beyond FTP
Post by: wx-watch on September 20, 2023, 08:52:41 AM
You may have seen from my other posts my hosting provider IONOS is no longer supporting FTP uploads from the end of the year which meant an end to my WeatherCat station.

However I have a workaround.

I set up a Raspberry Pi with the latest Bullseye OS and installed the FTP Server vsftpd using the instructions here.

https://phoenixnap.com/kb/raspberry-pi-ftp-server and pointed WC at this server - all FTP uploads are now local.

I then created some SSH keys so I could uses password less uploads to my server.

ssh-keygen and then copy the keys to my server ssh-copy-id [username]@[ip address]

Then is was a simple matter of using RSYNC in a batch file called via a cronjob to copy the files to my server.

rsync -a /home/pi/[FTP Directory] username@host:[Remote Directory]
Title: Re: Life Beyond FTP
Post by: The Grand Poohbah on September 20, 2023, 06:39:05 PM
You may have seen from my other posts my hosting provider IONOS is no longer supporting FTP uploads from the end of the year which meant an end to my WeatherCat station.

However I have a workaround.

I set up a Raspberry Pi with the latest Bullseye OS and installed the FTP Server vsftpd using the instructions here.

https://phoenixnap.com/kb/raspberry-pi-ftp-server and pointed WC at this server - all FTP uploads are now local.

I then created some SSH keys so I could uses password less uploads to my server.

ssh-keygen and then copy the keys to my server ssh-copy-id [username]@[ip address]

Then is was a simple matter of using RSYNC in a batch file called via a cronjob to copy the files to my server.

rsync -a /home/pi/[FTP Directory] username@host:[Remote Directory]

Good Golly Miss Molly! That is very impressive cyber-speak!
Title: Thanks for sharing. (Re: Life Beyond FTP)
Post by: elagache on September 20, 2023, 11:16:35 PM
Dear wx-watch, Grand, and WeatherCat faithful,

You may have seen from my other posts my hosting provider IONOS is no longer supporting FTP uploads from the end of the year which meant an end to my WeatherCat station.

However I have a workaround.
. . . .

Thanks for sharing your solution!  That's one way to crack this particular nut!

Edouard
Title: Re: Life Beyond FTP
Post by: WCDev on October 01, 2023, 10:04:16 AM
You could also try FTPS - it may be supported by your provider. You can switch it on in WeatherCat's Advanced preferences.

Cheers,
Stu.