I am trying the following code, but it will not send the File:
x = unique address, username, passwordCode:Private Sub cmdSend_Click() Dim strFileName As String, strFileTitle As String strFileName = CommonDialog1.FileName strFileTitle = CommonDialog1.FileTitle With Inet1 .Protocol = icFTP .URL = "xxx.xxx.xxx.xxx" .UserName = "xxx" .Password = "xxx" .Execute , "PUT " & strFileName & " " & strFileTitle End With End Sub
*If I forget the string variables and just type the text into the code of where it should go then it works fine.
Can someone please help?
[Edited by bedowin on 08-24-2000 at 01:25 PM]




Reply With Quote