Link to home
Start Free TrialLog in
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 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>
ASKER CERTIFIED SOLUTION
Avatar of Paolo Santiangeli
Paolo Santiangeli
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial