We help IT Professionals succeed at work.
Get Started

How do I run Microsoft FTP from vbs

306 Views
Last Modified: 2013-11-25
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 0.0.0.0 0101 <enter>
123 A23Bttyr3 F_FTP...server ready
User (ftp. 0.0.0.0: (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>
Comment
Watch Question
Consulente Informatico
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE