working on a similar process.
i am building an .hta that builds the ftp script.
my problem is if the user enters bad user/password, the upload fails, but ftp returns 0 as if it worked.
i am looking into - ws.Exec(~~~) - it is supposed to let me see StdOut.
ftp does not communicate back, but...
i am going down similar path. i don't have final answer for you yet, but something to look at.
instead of
shl.run(~~~)
look at
shl.exec(~~~)
per msdn, ... along with access to the StdIn, StdOut, and StdErr channels.
i'm digging into this to use an hta file to script an ftp upload.
hth
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.