Author Topic: Life Beyond FTP  (Read 1684 times)

wx-watch

  • Guest
Life Beyond FTP
« 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]

The Grand Poohbah

  • Gale
  • ****
  • Posts: 396
  • Developer of WeatherCat for iOS, tvOS, and watchOS
    • EW6355 KCANEVAD43
    • Hopeful Hill Ranch
  • Station Details: Vantage Pro 2, aspirated, solar radiation, uv, soil temp and moisture
Re: Life Beyond FTP
« Reply #1 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!

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6661
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Thanks for sharing. (Re: Life Beyond FTP)
« Reply #2 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

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2956
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: Life Beyond FTP
« Reply #3 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.