Click here to Skip to main content
15,347,523 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had this error pop up on exactly the 3rd line of code below. There seem to be no explanation on the Internet for this behaviour.

I'm looking at why this error came up, and fixed itself after few minutes.

Set Ftp = CreateObject("Reflection.FTP.3")
Ftp.Open "", "username", "password"
Ftp.SetCurrentDirectory "DirectoryName/DirectoryName/DirectoryName"

What was the error?

Run-time error '-2147418113 (8000ffff)': Method 'SetCurrentDirectory' of object 'IReflectionFTP' failed

More details:

Application: Excel Macro

Language : VB (VBA)

*Is this because of a coding error? *

Not likely. The macro has been long running and this came up for the first time.

*Is it because of a FTP service disruption? *

May be. But logs have a recording for every second and there seems to be no outage.
RedDk 14-Aug-13 18:29pm
This wasn't the answer?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900