Re: Lots of users now having this problem (General questions)
Drazen,
Believe me, I understand the difficulty of not being able to duplicate the problem!
Here's the code that I use to set the LicenseKey. cnx is an object variable that contains various parameters for the connection. I've emailed you the actual license key that I use.
With Ftp1
If .State = Connected Then .Disconnect
.LicenseKey = XXXX-XXXX-XXXX-XXXX
.HostName = strHost
.Login = cnx.FTP_Username
.Password = cnx.FTP_Password
.Protocol = IIf(cnx.FTP_SecureFTP, SFTP, FTP)
.Port = cnx.FTP_Port ' this has to be set AFTER setting the protocol
.Timeout = 30
.Blocking = True
.ProxyHostname = cnx.FTP_Proxy
.Tag = cnx.FTP_RootFolder ' original root folder -- restore to this on disconnect
.Connect
strInitialRemotePath = .RemotePath ' get initial home path
End With
The above code is part of a function called FTPConnect, and it is called before any ftp activity. FTPConnect is on a form called frmFTP, which is unloaded when the ftp activity is complete. The following code is in frmFTP.Unload.
If Not Ftp1 Is Nothing Then
Ftp1.Disconnect ' in case this hasn't already been done
Set Ftp1 = Nothing
End If
Complete thread:
- User gets missing key message - ltoews, 2009-01-03, 09:07
- Re: User gets - woddrazen, 2009-01-03, 10:15
- Re: User gets - ltoews, 2009-01-04, 10:19
- Re: User gets - wodDamir, 2009-01-04, 13:14
- Re: User gets - ltoews, 2009-01-05, 05:49
- Re: User gets - wodDamir, 2009-01-05, 09:29
- Re: User gets - ltoews, 2009-01-08, 08:10
- Re: User gets - woddrazen, 2009-01-08, 09:19
- Lots of users now having this problem - ltoews, 2009-03-28, 07:12
- Re: Lots of users now having this problem - woddrazen, 2009-03-28, 08:29
- Re: Lots of users now having this problem - ltoews, 2009-03-28, 09:30
- Re: Lots of users now having this problem - woddrazen, 2009-03-28, 20:19
- Re: Lots of users now having this problem - Al Moser, 2010-12-11, 02:20
- Re: Lots of users now having this problem - woddrazen, 2009-03-28, 20:19
- Re: Lots of users now having this problem - ltoews, 2009-03-28, 09:30
- Re: Lots of users now having this problem - woddrazen, 2009-03-28, 08:29
- Lots of users now having this problem - ltoews, 2009-03-28, 07:12
- Re: User gets - woddrazen, 2009-01-08, 09:19
- Re: User gets - ltoews, 2009-01-08, 08:10
- Re: User gets - wodDamir, 2009-01-05, 09:29
- Re: User gets - ltoews, 2009-01-05, 05:49
- Re: User gets - wodDamir, 2009-01-04, 13:14
- Re: User gets - ltoews, 2009-01-04, 10:19
- Re: User gets - woddrazen, 2009-01-03, 10:15