I am trying to combine the following Shell command and arguments into a one line VB statement. Can anyone provide any suggestions. I have tried the FTP -s:CommandFile command and that works fine but I am trying to pass different text files at different times contained in the c:\temp directory. Thank you.
Shell ("FTP -v -n 172.16.7.10")
put c:\temp\ML78071.txt
quit
Shell ("FTP -v -n 172.16.7.10")
put c:\temp\ML78071.txt
quit