Exception on connect (General questions)
Hi,
I get an exception when I call the connect method. The blocking property is set to true. When blocking is deactivated the exception does not arise.
This is the code:
m_Ftp.put_Blocking(TRUE);
m_Ftp.put_Hostname(host);
m_Ftp.put_Login(user);
m_Ftp.put_Password(passwd);
m_Ftp.put_Protocol(PROTOCOL_FTP);
VARIANT var;
var.vt = VT_ERROR;
m_Ftp.Connect(var,var,var);
The exception that arise just after calling Connect is the following:
Unhandled exception at 0x7c81eb33 in ScriptFTP.exe: Microsoft C++ exception: COleDispatchException @ 0x010bf598.
Complete thread:
- Exception on connect - carl, 2005-10-11, 12:53
- Re: Exception on connect - wodSupport, 2005-10-11, 12:57
- Re: Exception on connect - carl, 2005-10-11, 13:56
- Re: Exception on connect - wodSupport, 2005-10-11, 13:57
- Re: Exception on connect - carl, 2005-10-11, 14:10
- Re: Exception on connect - wodSupport, 2005-10-11, 14:12
- Re: Exception on connect - carl, 2005-10-11, 14:10
- Re: Exception on connect - wodSupport, 2005-10-11, 13:57
- Re: Exception on connect - carl, 2005-10-11, 13:56
- Re: Exception on connect - wodSupport, 2005-10-11, 12:57