Getting a strange error (General questions)
error code: 00000001
error text: lib (0):func(0):reason(1)
Can you tell me what this might mean?
It occurs when trying to connect.
Thanks
error code: 00000001
error text: lib (0):func(0):reason(1)
Can you tell me what this might mean?
It occurs when trying to connect.
Thanks
by wodDrazen
, (7307 days ago) @ JasonH
Hi Jason,
Which type of server do you connect?
Can you try to telnet your server from command prompt (telnet your.server port) and tell us first line that you received.
And also can you send us code snippet where you trying to connect to your server to try to duplicate your problem and resolve it.
Hope I helped.
Regards,
Drazen
by JasonH
, (7307 days ago) @ wodDrazen
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]
by wodDrazen
, (7307 days ago) @ JasonH
Jason,
Did you try using Blocking Property and set it to True.
That will explain your problems with connecting to your server.
Drazen
by JasonH
, (7307 days ago) @ wodDrazen
Jason,
Did you try using Blocking Property and set it to True.
That will explain your problems with connecting to your server.Drazen
Whats odd is that I haven't changed this code in almost a year. I am setting blocking to false and it has worked that way since we started using wodFtpDlx.
I changed blocking to true and it just timed out.
Do you know what that error means?
by wodDrazen
, (7307 days ago) @ JasonH
Jason,
Can you try to add Protocol Property and use FTPSimplicit Protocol (value = 4).
You need to add it before calling Connect method.
Let us know how it goes.
Drazen
by JasonH
, (7307 days ago) @ wodDrazen
Jason,
Can you try to add Protocol Property and use FTPSimplicit Protocol (value = 4).
You need to add it before calling Connect method.Let us know how it goes.
Drazen
I have this right now, I just didn't think it relevant to post:
m_Ftp->put_Authentication(authPassword);
m_Ftp->put_Protocol(FTPSwithdata);
by wodDrazen
, (7307 days ago) @ JasonH
Jason,
I didn't understand you absolutely is it working now?
Drazen
by JasonH
, (7306 days ago) @ wodDrazen
Jason,
Can you try to add Protocol Property and use FTPSimplicit Protocol (value = 4).
You need to add it before calling Connect method.Let us know how it goes.
DrazenI changed it to FTPSimplicit and it worked!
Thanks.I wonder why it always worked before?
by wodDrazen
, (7306 days ago) @ JasonH
I'm wonder too :)
Let us know if you have some other problems!
Drazen

Don't be fooled by the cost, it's value and quality far exceeds the price being charged!

Thank you very much for the rapid responses. I was a little nervous about dealing with a company that is on a different continent from me. You have proven my concerns to be unfounded.

Not only wodSFTPdll is excellent, the service you have provided is outstanding and second to none!

Your component works really great. With minor effort I have been able to convert my delphi application...

Your component works really great. With minor effort I have been able to convert my delphi application...

We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.

...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!

WeOnlyDo!COM will be the first stop I make should I require any further off-the-shelf components.

This has been, by far, the best experience I have ever had dealing with a support entity in my long career in the technical arena

...with WOD's excellent support I was able to bypass Winsock and focus on the task at hand...

