SFTP upload failing

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
pwilman
Expert Boarder
Expert Boarder
Posts: 117
Joined: Sun Jan 14, 2018 9:46 am

SFTP upload failing

Post by pwilman »

I am trying to upload a records template that I have created for fro nano to upload the monthly, annual and historic data to my hosted website. It worked correctly for years, but no longer updates. When I look in the upload status tab I get the following error message:

No matching algo hostkey (no more tries):

I can upload from other FTP clients such as filezilla, but not from the Nano.

I am on one.com as my host, and noticed that a local weather station owner who is also on one.com has the same issue. Makes me think it is some sort of server side issue.

Just wanted to see if anyone here has any ideas before going to my host.

My knowledge of server type things like this is non-existant!

Paul
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: SFTP upload failing

Post by admin »

In such cases the proxyftp option should help.
pwilman
Expert Boarder
Expert Boarder
Posts: 117
Joined: Sun Jan 14, 2018 9:46 am

Re: SFTP upload failing

Post by pwilman »

Borris,

Thanks so much for the advice. Could you please confirm the exact file path syntax that you use as I can not get it to work using the wiki

Paul
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: SFTP upload failing

Post by admin »

Please post your example that does not work (with fake credentials).
pwilman
Expert Boarder
Expert Boarder
Posts: 117
Joined: Sun Jan 14, 2018 9:46 am

Re: SFTP upload failing

Post by pwilman »

Boris,

I have tried quite a few different syntaxes, but this is the latest one:

proxysftp://myuser.com:mypassword@paulwilman.com:22/weather_records1.php

My host is paulwilman.com
My user is myuser.com (made up!!!!)

The file that I am trying to upload is weather_records1.php which is generated from a MB template as part of the event (weather_records.php)

Thanks so much for your help
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: SFTP upload failing

Post by admin »

Is the event defined as a PROXYSFTP event? Just writing proxysftp in the input field is not sufficient.
pwilman
Expert Boarder
Expert Boarder
Posts: 117
Joined: Sun Jan 14, 2018 9:46 am

Re: SFTP upload failing

Post by pwilman »

The event is defined in the proxysftp event settings.

It takes a MB template (http://www.paulwilman.com/weather_records.php) and should upload to my server via SFTP as weather_records1.php.

Happy to give you remote access if that would help?

Paul
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: SFTP upload failing

Post by admin »

yes, please send credentials to "info(at)meteobridge.com".
pwilman
Expert Boarder
Expert Boarder
Posts: 117
Joined: Sun Jan 14, 2018 9:46 am

Re: SFTP upload failing

Post by pwilman »

Just sent an email with hopefully all the infor you need.

Paul
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: SFTP upload failing. **solved**

Post by admin »

Problem was related to specification of the target directory. It needed to have the full path specified.
Post Reply