I have the following code, but am unable to figure out how to put my appropriate strings within the quotations effectively.
I want to put string variables in the place of the directory path listed. How can I do this and still get the execute command to work?Code:Private Sub cmdSend_Click() With Inet1 .Protocol = icFTP .URL = "xxx.xxx.xxx.xxx" .UserName = "xxx" .Password = "xxx" .Execute , "PUT C:\Program Files\Test.txt Test.txt" End With End Sub




Reply With Quote