Problem with ftp connection

dmarop

Registered User.
Local time
Today, 17:50
Joined
May 17, 2013
Messages
41
Hello,

I will need your help.

I have a database is Access 2016 and I have put the add-on Chilkat FTP 3.0.0. I am checking if there is the particular name file in a specific ftp folder with the following code:
Code:
    Imgs = ftp.GetCurrentDirListing(strImgName & "*.jpg")
    Imgs = Replace(Imgs, vbCrLf, "")
    Imgs = Replace(Imgs, vbTab, "")
    Imgs = Replace(Imgs, "<file>", ";")
    Imgs = Replace(Imgs, "</file>", ";")
    CollImgs = Split(Imgs, ";")

For long time the code it was working well and suddenly gives me the following run time error: “-2147467259 (80004005)”

I can’t understand why this is happens.

I upload an example of the code.

Any ideas please?

Thank you in advance.

Regards,
Dimitris
 

Attachments

Error 80004005 is a problem based on either login issues or permissions issues.

http://www.accessrepairnrecovery.com/blog/how-to-fix-80004005-error-message-in-ms-access-database

Unfortunately, it is a catch-all type of error. It COULD be that you need to log in before you touch a particular folder, or it could be that someone created a new folder for you and mucked about with its ownership and permissions. You'll have to talk to the system admin of the machine with which you intend to have these data exchanges.
 
Hello,

Thank you for your reply.

The problem is solved.

Regards,

Dimitris
 

Users who are viewing this thread

Back
Top Bottom