Need to write batch script which copies file from FTP to local drive
I'm trying to achieve this using cmd command prompt
inside batch file
please help me or paste any thread.
I found the answer thanks a lot but,
I need to use 2files script.txt and batch.bat
which contains script.txt code:
open ftp.server.com username password cd folderpath/newfolder get file1.xml close bye and batch.bat code
ftp -v -i -s:script.txt echo done! But How can i do it using only
.batfile so that I need only 1 file not 2 files