how many "t"s can you find in:
q: ftp batch file invalid login i am trying to create a simple ftp batch file to upload a handful of files on a regular basis but i cannot seem to get the login right.  i can take the same credentials and log in through filezilla without issue but from the command line it's not working.
here is what i am attempting:
echo creating script file for ftp download for district %2....
echo open xxx.xxx.xxx.xxx >ftp.scr
echo myuser >>ftp.scr
echo mypassword >>ftp.scr
echo bin >>ftp.scr
echo send %1 >>ftp.scr
echo quit >>ftp.scr

ftp -s:ftp.scr

simple and to the point i believe.
here is what it is responding with:
d:\suburban>ftp -s:ftp.scr
ftp> open xxx.xxx.xxx.xxx
connected to xxx.xxx.xxx.xxx
220---------- welcome to pure-ftpd [privsep] [tls] ----------
220-you are user number 5 of 50 allowed.
220-local time is now 10:16. server port: 21.
220 you will be disconnected after 15 minutes of inactivity.
user (xxx.xxx.xxx.xxx:(none)):
331 user myuser  ok. password required

530 login authentication failed
login failed.
ftp> bin
200 type is now 8-bit binary
ftp> send webtrn25.001
530 you aren't logged in
530 you aren't logged in
ftp> quit
221-goodbye. you uploaded 0 and downloaded 0 kbytes.
221 logout.

i thought this should be straight forward, but seems nothing ever is... this has to be something simple i'm overlooking.
any input would be greatly appreciated!
** edit **
let me also add, if i run these commands straight up from the command line, i am able to log in via ftp:
d:\suburban>ftp
ftp> open xxx.xxx.xxx.xxx
connected to xxx.xxx.xxx.xxx
220---------- welcome to pure-ftpd [privsep] [tls] ----------
220-you are user number 5 of 50 allowed.
220-local time is now 10:19. server port: 21.
220 you will be disconnected after 15 minutes of inactivity.
user (xxx.xxx.xxx.xxx:(none)): myuser
331 user myuser ok. password required
password:
230 ok. current restricted directory is /
ftp>


a: i debated deleting this, the mods might still do so, but i figured out my issue. figured it might help someone later down the road...
echo myuser >>ftp.scr
echo mypassword >>ftp.scr

the space between the name/password and the >> was the issue.
once i changed it to:
echo myuser>>ftp.scr
echo mypassword>>ftp.scr

it worked fine!

user
The given text has one hundred and forty-one "t"s.
assistant