I was trying to run the following script in command line in windows xp but I couldn't make it :
C:\..\ftp -s:"%~f0"&GOTO:EOF
open someweb.com
username
password
pwd
bye
the following runs ok:
ftp>@ftp -i -s:"%~f0"&GOTO:EOF
open someweb.com
username
password
pwd
bye
but I am trying to achieve it with command line. Is there a way to do so?