I have to upload a file to the server every 1 hour, with the scheduled tasks I take care that the upload.bat is executed every hour. The problem is that the file is not uploading. I would appreciate the help
File upload.bat
ftp -s:temp.txt
Temp.txt file
open ip_server
user usuario
pass password
put "direccion_fichero"
quit
And it gives me the following error
500 OOPS: cannot locate user entry:nobody
Conexión cerrada por el host remoto.
Thanks for the help in advance Regards
According to this article the problem is in the FTP server, which is not requesting the user and the solution is to restart the FTP server.
test :
and modify temp.txt to put user and pass on the same line
Taking into account that the user and pass appear on the screen, the wave output will have to be redirected: