Re: Getting a strange error (General questions)
Connecting to ftp.expressbil.com using implicit SSL, port 990.
I have successfully connected through FileZilla FTP client.
Written in C++. m_Ftp is a smart pointer. m_FtpEvent is a smart pointer to an event handler.
[code]
m_Ftp->put_Hostname( my.server );
m_Ftp->put_Login( login );
m_Ftp->put_Password( password );
m_Ftp->put_Port(990);
m_Ftp->Connect();
// setup manual timeout
dtStart = COleDateTime::GetCurrentTime();
while (m_FtpEvent.DidConnectedEventFire() == FALSE)
{
dtsSpan = COleDateTime::GetCurrentTime() - dtStart;
long lSecs = (long) dtsSpan.GetTotalSeconds();
if (lSecs >= 120 || m_FtpEvent.DidDisconnectedEventFire())
break;
}
if (m_Ftp->State == Connected)
.. do stuff ...
[/code]
Complete thread:
- Getting a strange error - JasonH, 2006-03-24, 18:29
- Re: Getting a strange error - wodDrazen, 2006-03-24, 18:43
- Re: Getting a strange error - JasonH, 2006-03-24, 20:07
- Re: Getting a strange error - wodDrazen, 2006-03-24, 20:24
- Re: Getting a strange error - JasonH, 2006-03-24, 20:36
- Re: Getting a strange error - wodDrazen, 2006-03-24, 20:46
- Re: Getting a strange error - JasonH, 2006-03-24, 22:06
- Re: Getting a strange error - wodDrazen, 2006-03-24, 22:10
- Re: Getting a strange error - JasonH, 2006-03-24, 22:15
- Re: Getting a strange error - wodDrazen, 2006-03-24, 22:18
- Re: Getting a strange error - JasonH, 2006-03-24, 22:15
- Re: Getting a strange error - wodDrazen, 2006-03-24, 22:10
- Re: Getting a strange error - JasonH, 2006-03-24, 22:06
- Re: Getting a strange error - wodDrazen, 2006-03-24, 20:46
- Re: Getting a strange error - JasonH, 2006-03-24, 20:36
- Re: Getting a strange error - wodDrazen, 2006-03-24, 20:24
- Re: Getting a strange error - JasonH, 2006-03-24, 20:07
- Re: Getting a strange error - wodDrazen, 2006-03-24, 18:43