foxidrive wrote:sam14189 wrote:Squashman wrote:All my FTP commands are launched from batch files like this.Code: Select all
ftp -n -i -s:"E:\PathtoBatchFiles\ClientNameFTPscript.scr" >"E:\PathtoLogFiles\ClientNameFTPscript.txt"
I tried using this command but it says invalid parameter.sam14189 wrote:I am not sure why -n is not working
Paste in the exact command you used and the reason may become clear.
ftp -i -n -s:"C:\temp.txt" >logs.txt
The contents of temp.txt are:
open 10.1.1.1
username
password
bin
put sourcefile destination path
quit
It is giving me below error:
Invalid command.
Invalid command.