Click here to Skip to main content
15,891,033 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.

VB
Set Ftp = CreateObject("Reflection.FTP.3")
Ftp.Open "xxx.xxx.xxx.xxx", "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.
Posted
Comments
RedDk 14-Aug-13 18:29pm    
This wasn't the answer?
http://stackoverflow.com/questions/17329842/vba-error-reflection-ftp-3

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



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