Trixology
WeatherCat => WeatherCat Feature Requests => Topic started by: wx-watch on July 31, 2023, 07:51:12 AM
-
As you may have seen in my post elsewhere I am having problems with FTP uploads to IONOS.
Could WeatherCat be updated to allow SFTP uploads or perhaps even PHP uploads.
Perhaps you could let me know if this is in the pipeline at all and if so what might be a possible timeline for its release?
-
It would be nice if WC Development cold reply to this with either - "Sorry I am too busy and there is no chance of these features ever being incorporated into WC" or "I am very busy but I am working on these features, stay tuned"
Assuming WC Dev reads these posts!
-
Dear wx-watch and WeatherCat faithful,
I understand your frustrations, but Stu (Stuart Ball, WeatherCat developer) has always operated that way. One issue is that he has competitors and they can easily monitor this forum. What might be helpful to us could also undercut the future of WeatherCat.
This topic has not been visited in a long time. I posted last year some information about the problem:
https://athena.trixology.com/index.php?topic=3274.msg32759#msg32759 (https://athena.trixology.com/index.php?topic=3274.msg32759#msg32759)
I don't know if macOS now includes a version of curl that supports SFTP.
Sorry, Edouard
-
Ok - many thanks for your reply - I will keep my fingers crossed :)o
-
IONOS have just sent me an email saying that FTP support will end on 31/12/2023 so on that date WeatherCat will no longer be able to upload. I did post about this under general discussions but that post seems to have gone missing
-
I did post about this under general discussions but that post seems to have gone missing
Your post is not missing. It is here:
https://athena.trixology.com/index.php?topic=3562.msg34051;topicseen#msg34051
-
ThU32:-) ThU32:-)
-
I would also like SFTP to be added. I have been waiting to get my wx station back up and running and would really like to use wxcat. But without SFTP I probably ought to look at something else. :(
-
Seams like many ISPs are cutting FTP support - mine too (hosteurope). I also am waiting for an update to this function. It is really a game changer when we are not able to upload data, graphs and gauges to our ISP within WeatherCat any more... :'(
-
As I have said in a post elsewhere on this board Ionos is my host and they are dropping FTP support which meant I was faced with loosing WC.
To fix this I ran an FTP server on an old Raspberry Pi and uploaded my WC files to it.
I then used RSYNC on the Pi to upload the files to the Web
Bit of a round about fix but it works and is future proof until such time as WC has SFTP support.
-
OK, it's a fix. That fix offers me the idea of istalling an FTP-Server on my Mac mini to get all of the uploads I want to get uploaded. After collecting all data within a folder on this "Server" the one question remains: How to tell my Mac to upload the files every xxx minutes.
But to use a fix is a little bit ... strange. ???
-
Perhaps you could create a OS launchd for the uploading of the WC files in "WeatherCatCustomWeb"? I use LaunchControl (https://www.soma-zone.com/download/) to run an AppleScript every 60 seconds. I think the legacy version (1.52.7) is free, although I do have a registration number from 2017!
-
Dear Reinhard and WeatherCat "fixer-upers"
OK, it's a fix. That fix offers me the idea of istalling an FTP-Server on my Mac mini to get all of the uploads I want to get uploaded. After collecting all data within a folder on this "Server" the one question remains: How to tell my Mac to upload the files every xxx minutes.
But to use a fix is a little bit ... strange. ???
There might be a simpler way to switch to SFTP. There are FTP clients that offer sync services. One is ForkLift:
https://binarynights.com/ (https://binarynights.com/)
If you look at the sync section of the manual, it claims it can monitor a folder on your Mac and automatically upload any changed files to an SFTP server. So you could have WeatherCat create your files as usual but turn off the FTP upload that your hosting provider doesn't support anymore. You could then simply have your FTP client like Forklift monitor the folder where WeatherCat deposits its files on your Mac and automatically upload them to your website directories as before.
It is still a bit clumsy and involves buying some new software, but it should work and is a lot less misery than setting up your own FTP server.
Edouard
-
Just a small update to this one:
I am running WeatherCat on my Mac mini. ;D Then I installed an FTP Server on my mini (this one: FTPServer (https://apps.apple.com/at/app/ftp-server/id987045856?mt=12)). Next step was creating a new folder that WeatherCat can use as "SavePathFolder". Now WeatherCat processes the files within the "CustomWebFolder" to the (new) "SavePathFolder" and in the preferences I told WC to upload to the FTP Server folder I ceated with the app linked above. Now how to bring all the files up to my webhost using FTPS or SFTP? Three other apps helped me doing this: Automator, Transmit (https://panic.com/transmit/) and Lingon (https://www.peterborgapps.com/lingon/). With Automator I created two programms that are executing "look for files within the finder" then "open an FTPS connection with Transmit", ftp the files and close the connection. The last step is using Lingon to create two LaunchDaemon scripts (one that is executed every 15 mins for the app that uploads all the files and webcam pictures that are found in the FTP Server folder, the other one executes every 1 min for the app that uploads the txt file used by SteelSeriesGauges. The nice thing is that all is running on one PC - no Raspi or something else needed.
Any Questions? :o
Yes, a bit complicated but doing what I want so far that I am back in business with WeaterCat and my website. ;)
-
AppleScript to the rescue!! Congrats and thanks for posring!
-
Thanks Reinhard for sharing!
Unfortunately, a bit complicated as you say, but glad to hear that your website is back up and running!
Edouard
-
It would still be nice to know if SFTP/PPH is ever coming to WeatherCat :D :D
-
It would still be nice to know if SFTP/PPH is ever coming to WeatherCat :D :D
Agreed.
-
Hi folks,
I have been absent here for awhile and glad to see some familiar names on the forum. Recently I set up a new webpage with Godaddy. First it was a Wordpress basic and later a more knowledgeable guy told me that I needed C-panel. Of course it costs more, about $100 per year, seems like a lot. Anyway I am trying to figure out to upload the Simple Web Page to my new webpage. I am still using WC v1 with my tried and trusty $100 WH1080 weather machine. It seems to be working fine. My Simple Web Page looks good and up to date with the test.
I have gotten so far with Godaddy that I have a new domain, magpiehill.net, an FTP username and password. I have tried these on the FTP WC pane and with it I get an FTP error: Couldn't resolve host. The clever guy on Godaddy even asked his AI and got two possible directory addresses but these did not work.
I will be grateful if anyone has any ideas about how to proceed. I emailed Stu and Edouard yesterday but have no answer yet.
All the best, Irving
-
Hi folks,
I am not sure if my Godaddy Cpanel might be using SFTP. Just read about what Edouard wrote about a trick for FTP uploading using Forklift. It seems not too complicated and not so costly. Is anyone using it? One problem I would have is that my Weathercat is on an old Mac. Can someone guide me as to how to get WC onto my newer Mac?
Regards to all,
Irving
-
I am still using GoDaddy with cPanel and it is definitely using FTP. My plan is called Web Hosting Economy. I had a different plan at first but found it was using SFTP so GoDaddy switched it out for me.
Your other question about moving WeatherCat from one Mac to another is answered in the WeatherCar Wiki:
https://wiki.trixology.com/index.php?title=Moving_a_WeatherCat_installation_from_one_computer_to_another
-
Dear Jean Fred and WeatherCat troubleshooters,
WeatherCat uses a UNIX command line tool called curl to make the FTP transfers. As of the last check, macOS didn't include an updated version of curl that supported SFTP. That was a long time ago, but Apple doesn't seem to be anxious to update the UNIX tools. The current version of curl supports SFTP and it is possible to update your copy on your Mac using MacPorts (https://www.macports.org/). However, that is quite a hassle and most WeatherCat users won't be willing to go through that geeky process. Stu has added SFTP support to the WeatherCat feature enhancement list, but there is no way of knowing when it will be implemented.
Sorry, but that is the status of WeatherCat SFTP support at the moment.
Edouard
Hello, I have copied the above text from another thread to the Sftp problem, because I have tried the procedure described there. I have installed a new curl version on my MacMini with MacPorts, which also supports sftp. Unfortunately, the connection to my provider does not work even with the new curl version. I assume that WC passes a wrong syntax to curl. And now?
-
Dear Ralph and WeatherCat web spinners,
. . .
Hello, I have copied the above text from another thread to the Sftp problem, because I have tried the procedure described there. I have installed a new curl version on my MacMini with MacPorts, which also supports sftp. Unfortunately, the connection to my provider does not work even with the new curl version. I assume that WC passes a wrong syntax to curl. And now?
Unfortunately, it is not sufficient to have a version of curl on your Mac that supports SFTP. WeatherCat would need to be updated to have access to this updated version. I'm sure part of the problem is that Apple does not want software to employ UNIX "hacks" in order to operate. So for the moment, WeatherCat is very much the prisoner of Apple management.
That leaves you two alternatives. You can check with your web hosting provider to see if they support FTPS. That is supported by the current versions of WeatherCat.
The other more painful alternative is to change web hosting provider. As noted in the previous posting, Blick uses GoDaddy (https://www.godaddy.com/l) that still permits FTP uploads. I and other WeatherCatters use Dreamhost (https://www.dreamhost.com/) which allow still supports the FTP protocol. I can attest that DreamHost provides a very high level of service at what I consider to be reasonable cost.
Sorry to not have any other alternatives to offer.
Edouard
-
That leaves you two alternatives. You can check with your web hosting provider to see if they support FTPS. That is supported by the current versions of WeatherCat.
The other more painful alternative is to change web hosting provider. As noted in the previous posting, Blick uses GoDaddy (https://www.godaddy.com/l) that still permits FTP uploads.
I am using GoDaddy cPanel hosting (their only option that allows FTP) and uploading from Weather Cat using FTPS.
-
I have said elsewhere I get round the problem of my hosting company IONOS supporting only SFTP by using my own FTP server on the same MAC as WC. I use the WC ftp to upload to that and then use rsync to upload to my weather site
-
Dear wx-watch and WeatherCat troubleshooters,
I have said elsewhere I get round the problem of my hosting company IONOS supporting only SFTP by using my own FTP server on the same MAC as WC. I use the WC ftp to upload to that and then use rsync to upload to my weather site
Yes, you are correct. Apologies for not remembering. A lot on my mind these days.
Edouard
-
I have said elsewhere I get round the problem of my hosting company IONOS supporting only SFTP by using my own FTP server on the same MAC as WC. I use the WC ftp to upload to that and then use rsync to upload to my weather site
Hello, with rsync I unfortunately do not get to the goal with me, webspace on gmx. Only sftp is allowed. :(
Then I have to wait for WC to allow sftp uploads at some point.
-
Dear Ralph, wx-watch, and WeatherCat tinkerers,
. . . .
I use the WC ftp to upload to that and then use rsync to upload to my weather site
Hello, with rsync I unfortunately do not get to the goal with me, webspace on gmx. Only sftp is allowed. :(
I made a quick scan of the rsync manual and don't see any obvious way to use it to replace sftp. wx-watch, could you please explain how your solution works for the WeatherCat community?
Thanks in advance,
Edouard
-
As I said I use an FTP server on my Mac Mini and WC uploads to that.
I then use rsync via a cron job to upload the WC data from the Mac Mini to my website.
-
As I said I use an FTP server on my Mac Mini and WC uploads to that.
I then use rsync via a cron job to upload the WC data from the Mac Mini to my website.
The upload now works again for me. FTP server on my Raspberry Pi and then it sends the pages via sftp (my provider does not allow anything else) and cronjob to the web server. You learn a lot of Linux shell commands again. lol(1)
Greetings from Essen
-
Yes - I hosted the FTP server on a Raspberry Pi 4B but then needed it for another project so moved the server to the Mac Mini