https://en.wikipedia.org/wiki/List_of_FTP_server_return_codes


On Wednesday, 15 April 2020 17:43:35 UTC+10, chris op wrote:
>
> Can I edit my posts here?
>
> Thanks, Greg!
>
> I was able to connect to the ftp server and to place the correct 
> index.html there. However, I connected from my linux ubuntu terminal. And 
> after installing ftp on the raspberry I was also able to the same from 
> there. The upload from weewx does still not work, unfortunaltey.
>
> Can you or anyone comment on the type of FTP errors I receive?
>
> <s>Should I also be able to connect to the raspberry pi with shh and 
> connect to the ftp server from there? Because when I try this I get the 
> error message that the ftp command is unknown.</s>
>
>
>
> Am Mittwoch, 15. April 2020 01:39:02 UTC+2 schrieb Greg from Oz:
>>
>> See if ftp works manually.
>>
>> from a terminal:
>>
>> ftp  sxyz.xyzserver.host
>>
>> when name prompt comes back enter in your user web83
>> then type in the password
>>
>> assuming this works type pwd to see what folder you are in 
>>
>> change to /home/www/xyz.de by typing cd /home/www/xyz.de
>>
>> you can put a local file into /home/www/xyz.de by typing put <filename 
>> of a local file>
>>
>> or you can get files from /home/www/xyz.de by typing get <filename of 
>> remote file>
>>
>> If all of that works then the weex in theory should work.
>> On Wednesday, 15 April 2020 02:06:06 UTC+10, chris op wrote:
>>>
>>> Hi! 
>>>
>>> All was working fine with uploading the weewx weather data to my 
>>> website. However, this suddenly stopped a couple of weeks ago. I was 
>>> realizing one day, that the website was not updated anymore.
>>>
>>> Looking into the syslog what happens and I found the following errors:
>>> Apr 14 17:46:03 raspberrypi weewx[27105]: ftpupload: Attempt #1. Failed 
>>> uploading /home/www/xyz.de/daywind.png to sxyz.xyzserver.host. Reason: 
>>> 425 Unable to build data connection: Operation not permitted
>>> This changes during to process into:
>>> Apr 14 17:46:13 raspberrypi weewx[27105]: ftpupload: Attempt #3. Failed 
>>> uploading /home/www/xyz.de/neowx/daywind.png to sxyz.xyzserver.host. 
>>> Reason: 200 Type set to I
>>> or
>>> Apr 14 17:51:20 raspberrypi weewx[27105]: ftpupload: Attempt #1. Failed 
>>> uploading /home/www/xyz.de/belchertown/graphs/index.html to 
>>> sxyz.xyzserver.host. Reason: 550 /home/www/xyz.de/belchertown/graphs: 
>>> File exists
>>>
>>> I have tried to play around in the file weewx.conf and changed the 
>>> parameters there but this only led to other error messages like 550 or 500.
>>>
>>> My configuration looks as follows:
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> # FTP'ing the results to a webserver is treated as just another report,
>>>         # albeit one with an unusual report generator!
>>>         skin = Ftp
>>>         
>>>         # If you wish to use FTP, uncomment and fill out the next four 
>>> lines.
>>>         # Use quotes around passwords to guard against parsing errors.
>>>         user = web83
>>>
>>>         password = 'xyz'
>>>         server = sxyz.xyzserver.host
>>>         path = /home/www/xyz.de/
>>>         
>>>         # Set to True for an FTP over TLS (FTPS) connection. Not all 
>>> servers
>>>         # support this.
>>>          secure_ftp = True 
>>>         
>>>         # To upload files from something other than what HTML_ROOT is set
>>>         # to above, specify a different HTML_ROOT here.
>>>         # HTML_ROOT = /var/www/html/weewx
>>>         
>>>         # Most FTP servers use port 21
>>>         port = 21
>>>         
>>>         # Set to 1 to use passive mode, zero for active mode
>>>         passive = 1
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>
>>> Can anyone help? I am a rooky but trying hard to become better with 
>>> linux and this kind of software and programming.
>>>
>>> Thank you!
>>>
>>

-- 
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/74761aa9-96b6-4c98-8275-32e0940bf9c0%40googlegroups.com.

Reply via email to