Good Day,
Thank you for your reply. I followed the steps and looked for the possible version which I needed to "Unregister". I went through every version on sourceforge to get each installer.
Steps performed:
1. Install
2. Copy dll to install folder
3. Unregister dll
4. Uinstall
I went through several versions doing this. When I have completed doing this upto the latest version. I re-installed the latest version and registered the dll.
Upon running the macro no automation error occurred but it now says that "Method or Data not found" and upon debugging it goes to Session.Open.
[code]
Sub GetFilesFromFTP()
Dim ftp_session As New Session
Dim ftp_sessionoptx As New SessionOptions
With ftp_sessionoptx
.Protocol = Protocol_Ftp
.Hostname = GlobalVariable(FTP_SERVER)
.UserName = "anonymous"
.Password = ""
End With
ftp_session.Open ftp_sessionoptx '<--error points here
End Sub
[/code]
Now I'm stumped. Would need help here.
Regards,
Alfred Ayson, PMP
Thank you for your reply. I followed the steps and looked for the possible version which I needed to "Unregister". I went through every version on sourceforge to get each installer.
Steps performed:
1. Install
2. Copy dll to install folder
3. Unregister dll
4. Uinstall
I went through several versions doing this. When I have completed doing this upto the latest version. I re-installed the latest version and registered the dll.
Upon running the macro no automation error occurred but it now says that "Method or Data not found" and upon debugging it goes to Session.Open.
[code]
Sub GetFilesFromFTP()
Dim ftp_session As New Session
Dim ftp_sessionoptx As New SessionOptions
With ftp_sessionoptx
.Protocol = Protocol_Ftp
.Hostname = GlobalVariable(FTP_SERVER)
.UserName = "anonymous"
.Password = ""
End With
ftp_session.Open ftp_sessionoptx '<--error points here
End Sub
[/code]
Now I'm stumped. Would need help here.
Regards,
Alfred Ayson, PMP