Avatar of ReconIT
ReconIT asked on

How do I run Microsoft FTP from vbs

We are working with a vendor whom requires that we use Microsoft FTP to send them files. What I need to do it take the process below and turn it into something I can do with a vbs script. I've tried a few things but thus far I've not been successful.
Any help on this would be greatly appreciated.
Here is the process (with server responses) from the command window we are trying to do from a vbs script:

C:>CD C:\Test <enter>
C:\Test>ftp -i <enter>
ftp>open 0101 <enter>
123 A23Bttyr3 F_FTP...server ready
User (ftp. (none)): MYUSERNAME <enter>
User name okay, password required
Password: MYPASSWORD <enter>
009 User logged in
ftp>binary <enter>
200 Type Set to I
ftp>put Test.txt CUS_LOAD!FTP <enter>
some server response that sends a suceess
message  that I don't have in front of me at the moment
ftp>bye <enter>
Microsoft DevelopmentMicrosoft DOSMicrosoft Legacy OS

Avatar of undefined
Last Comment
Paolo Santiangeli

8/22/2022 - Mon
Paolo Santiangeli

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes