I am trying to use an ftp class I have downloaded from the net.
I get the following error: "object variable or with block variable not set"
I have tried setting the object using the create object method as follows:
Set objFTP = CreateObject("FTP_TEST.FTP_CLASS")
Here is the code I am using:
Private Sub Form_Load()
Dim objFTP As FTP_CLASS
'set the properties for the connection
objFTP.sServerName = "ftp.mircrosoft.com"
objFTP.sUserID = "anonymous"
objFTP.lTransferType = TRANSFER_TYPE_ASCII
Regards,
Craig Whiteman
Please remove "MYBOXERSHORTS" to email me.