connecting to filezila server with batch error

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
BertD
500 Command not understood
Posts: 1
Joined: 2019-12-16 15:58
First name: B

connecting to filezila server with batch error

#1 Post by BertD » 2019-12-16 16:05

When i run bij batch:
c:\windows\system32\ftp.exe -s:DosFtpFile.ftp

And i am calling the DosFtpFile.ftp:
open wibonftp.goconnectit.nl
ECHO USER>>username
ECHO PASSWORD>>password
put DosFtpFile.txt
quit

I am getting the folowing error:

D:\ftp>c:\windows\system32\ftp.exe -s:DosFtpFile.ftp
ftp> open wibonftp.goconnectit.nl
Connected to wibonftp.goconnectit.nl.
220-FileZilla Server 0.9.60 beta
220-Welkom bij de ftp server tbv Geodan van den Berg
220 (onderdeel van de GOconnecIT groep)
202 UTF8 mode is always enabled. No need to send this command.
User (wibonftp.goconnectit.nl:(none)):
331 Password required for echo user>>username

530 Login or password incorrect!
Login failed.
ftp>
ftp> put DosFtpFile.txt
530 Please log in with USER and PASS first.
530 Please log in with USER and PASS first.
ftp> quit
221 Goodbye

D:\ftp>pause

there are no blanks in the DosFtpFile.ftp file, what am i doing wrong?

User avatar
boco
Contributor
Posts: 26934
Joined: 2006-05-01 03:28
Location: Germany

Re: connecting to filezila server with batch error

#2 Post by boco » 2019-12-16 21:06

The ECHO commands do not belong into your FTP script file. Simply put the username and password there.
open wibonftp.goconnectit.nl
username
password
put DosFtpFile.txt
quit
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply