
Using WSH to get a file from a FTP site in web
My problem is that the proxy/gateway servers do not allow direct FTP. You
have to use IE and rely on the IE->MS Proxy FTP/HTTP conversion process!
the ftp utility has a command line option to read a script file
command:
<open dos prompt, or from Run line:>
ftp -s:C:\myscript.txt ftp.xyxyxy.com
---c:\myscript.txt--
myID
MyPassword
cd <path>
get <filename> <destination and filename>
bye
--end file--
It downloads to the folder the command is run from
Naturally, a shell.Run command would do all this
--
Mark L. Ferguson Please reply in Newsgroup
marfers notes for OE 5.0 >
http://www.geocities.com/SiliconValley/Bay/6386/IE_ng_notes.htm
Quote:
> i need run a command that brings me a file from a FTP site like:
> "ftp:\\ftp.xyxyxy.com\path\filename"
> the problem is that i have to wait a popup windows to say i want to save
the
> file, the new name i want to give the file and where to download it.
> sendkeys method is not the best way as i dont know how long i will
> wait that popup window.
> is there a way to do this???
> thanx