Batch FTP / Directory

Microsoft Windows xp professional w/serv...
December 2, 2009 at 11:15:34
Specs: Windows XP
Hey Guys,

I have batch file that grabs files from ftp ...
I'm not sure how I can specify destination folder ( place where file is getting downloaded too )

And Is there a way ... after file is downloaded to open that folder in explorer ( so I can see files ? )

Thank You

Script:

Echo _USER_> ftpcmd.txt
echo _Password_>> ftpcmd.txt
echo binary>> ftpcmd.txt
echo prompt n>>ftpcmd.txt
echo mget _FILE_>> ftpcmd.txt
echo bye >> ftpcmd.txt
ftp -s:ftpcmd.txt _Server_
del ftpcmd.txt


See More: Batch FTP / Directory

Report •


#1
December 2, 2009 at 11:52:51
Start your script with:

pushd x:\mystuff

And after you get the files:

start explorer .


=====================================
Helping others achieve escape felicity

M2


Report •

#2
December 2, 2009 at 12:06:17
Works like a charm thank you !

Report •

Related Solutions


Ask Question