ftp problem
Moderator: Mattk
ftp problem
hello
hello
I want to change server, "skynet.be" to server "ovh.com." lorsaue I put in the necessary information Meteohub I get this:
"Error on call system: / usr / bin / ncftpput-S.-V-u tmp" beltxmvf "-p 'XXXXXX' P-21 ftp.bel1.eu / Weather / home / Meteohub / Meteohub upload.test-2> & 1
Error: The file test "Meteohub-upload.test" has not been sent (returned code 1280: Unknown Error). "
with fiezella or "total commander", there is no connection problem
the / meteo is chmod 705
What is my problem?
hello
I want to change server, "skynet.be" to server "ovh.com." lorsaue I put in the necessary information Meteohub I get this:
"Error on call system: / usr / bin / ncftpput-S.-V-u tmp" beltxmvf "-p 'XXXXXX' P-21 ftp.bel1.eu / Weather / home / Meteohub / Meteohub upload.test-2> & 1
Error: The file test "Meteohub-upload.test" has not been sent (returned code 1280: Unknown Error). "
with fiezella or "total commander", there is no connection problem
the / meteo is chmod 705
What is my problem?
- Attachments
-
- meteohub_ftpcapt.jpg (171.03 KiB) Viewed 10166 times
Re: ftp problem
The folder name ("Dossier Répertoire") should be included in slashes: /meteo/
Re: ftp problem
Sorry
but the error is always the same. exept the code 258
thank you for your help
but the error is always the same. exept the code 258
thank you for your help
Re: ftp problem
I do not use slashes at all and it works!


- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: ftp problem
Have you tried to do this from the commandline, using the exact same command?
Testing directly from the commandline gives you the option to add "-d", this will give you full debugging information.
I've seen a similair occurrence before, and it turned out that the ftp server was not allowing file renames. From what I recall ncftpput 1st uploads into a temporary file and then renames to the targetfile. Most likely removing the "-S" option will allow the upload to succeed.
Testing directly from the commandline gives you the option to add "-d", this will give you full debugging information.
I've seen a similair occurrence before, and it turned out that the ftp server was not allowing file renames. From what I recall ncftpput 1st uploads into a temporary file and then renames to the targetfile. Most likely removing the "-S" option will allow the upload to succeed.
Re: ftp problem
How can I do this command? 

Re: ftp problem
Please don't use special characters in path or password. Meteohub does not handle that in all cases correctly.
Re: ftp problem
no special characters, only uppercase and lowercase like this: CvBNdfg
Re: ftp problem
My system is iconnect and using "putty" in windows, I can not connect via telnet and enter the command line.
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: ftp problem
Hi,
You will need to use ssh to connect to Meteohub. You can use putty for this.
You will need to use ssh to connect to Meteohub. You can use putty for this.
Re: ftp problem
Here is what I get as a response:
meteohub:/usr/bin# ncftpput -S .tmp -V -u "YYyyYY11" -p 'XXxxXXX' -P 21 ftp.bel1.eu /meteo/ /home/meteohub/meteohub-upload.test 2>&1
ncftpput: Could not change to directory /meteo/: server said: Can't change directory to meteo: No such file or directory
meteohub:/usr/bin# ncftpput -S .tmp -V -u "YYyyYYY11" -p 'XXxxXXxx' -P 21 ftp.bel1.eu /meteo /home/meteohub/meteohub-upload.test 2>&1
ncftpput: Could not change to directory /meteo: server said: Can't change directory to meteo: No such file or directory
I if I create another folder like "foo", the answer is even.
after having tried on the new server, I wanted to return to that worked and this is what I get now!!
Error on system call: /usr/bin/ncftpput -S .tmp -V -u "YYYYYYYYY" -p 'XXXxx1111' -P 21 users.skynet.be /meteo/ /home/meteohub/meteohub-upload.test 2>&1
Erreur : Le fichier test "meteohub-upload.test" n'a pas été envoyé (Code retourné 1280: Unknown Error).

meteohub:/usr/bin# ncftpput -S .tmp -V -u "YYyyYY11" -p 'XXxxXXX' -P 21 ftp.bel1.eu /meteo/ /home/meteohub/meteohub-upload.test 2>&1
ncftpput: Could not change to directory /meteo/: server said: Can't change directory to meteo: No such file or directory
meteohub:/usr/bin# ncftpput -S .tmp -V -u "YYyyYYY11" -p 'XXxxXXxx' -P 21 ftp.bel1.eu /meteo /home/meteohub/meteohub-upload.test 2>&1
ncftpput: Could not change to directory /meteo: server said: Can't change directory to meteo: No such file or directory
I if I create another folder like "foo", the answer is even.
after having tried on the new server, I wanted to return to that worked and this is what I get now!!
Error on system call: /usr/bin/ncftpput -S .tmp -V -u "YYYYYYYYY" -p 'XXXxx1111' -P 21 users.skynet.be /meteo/ /home/meteohub/meteohub-upload.test 2>&1
Erreur : Le fichier test "meteohub-upload.test" n'a pas été envoyé (Code retourné 1280: Unknown Error).

- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: ftp problem
Hi,
It looks like there is no /meteo directory on the ftp server.
Not sure how to debug this server, I could try this myself, but then you will need to create a -temporary- account and password for me. Not sure if that is ossible and if you are able/willing to do so.
This is what I've just tried on my own server using a file that does always exist on MH:
It looks like there is no /meteo directory on the ftp server.
Not sure how to debug this server, I could try this myself, but then you will need to create a -temporary- account and password for me. Not sure if that is ossible and if you are able/willing to do so.
This is what I've just tried on my own server using a file that does always exist on MH:
Code: Select all
ncftpput -S .tmp -d -V -u username -p secret asterix /tmp /home/meteohub/meteohub.conf
Re: ftp problem

The directory of my hosting provider is not "/ weather /" but www / Weather /.
I was wrong, because my old hoster the directory / Weather / worked.
Again my apologies for any inconvenience

- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: ftp problem
No problem, always happy to help.
The main thing is that you've figured out the problem!
The main thing is that you've figured out the problem!