Cannot connect to server (wodSFTP / wodSFTP.NET / wodSFTPdll)
if I add the line
Memo2.Lines.Add(TimeToStr(Time)+'>>'+wodsftp1.ErrorText[wodsftp1.LastError]+' '+inttostr(wodsftp1.LastError));
I get this :
8:17:41 AM>>Connecting to server
8:17:41 AM>>Disconnected from server
8:17:41 AM>>Unrecognized Error
8:17:41 AM>>Unrecognized Error. -1
the events I am using is :
procedure TForm1.wodSFTP1StateChange(ASender: TObject; OldState: TOleEnum);
begin
Memo2.Lines.Add(TimeToStr(Time)+'>>'+wodsftp1.StateText[wodsftp1.State]);
end;
Complete thread:
- Cannot connect to server - freedom39, 2015-03-18, 22:00
- Cannot connect to server - Jasmine, 2015-03-19, 06:43
- Cannot connect to server - freedom39, 2015-03-19, 14:11
- Cannot connect to server - Jasmine, 2015-03-19, 14:13
- Cannot connect to server - freedom39, 2015-03-19, 14:20
- Cannot connect to server - Jasmine, 2015-03-19, 14:20
- Cannot connect to server - freedom39, 2015-03-19, 14:23
- Cannot connect to server - Jasmine, 2015-03-19, 14:24
- Cannot connect to server - freedom39, 2015-03-19, 14:26
- Cannot connect to server - Jasmine, 2015-03-19, 14:27
- Cannot connect to server - freedom39, 2015-03-19, 14:30
- Cannot connect to server - Jasmine, 2015-03-19, 14:33
- Cannot connect to server - freedom39, 2015-03-19, 14:41
- Cannot connect to server - Jasmine, 2015-03-19, 14:33
- Cannot connect to server - freedom39, 2015-03-19, 14:30
- Cannot connect to server - Jasmine, 2015-03-19, 14:27
- Cannot connect to server - freedom39, 2015-03-19, 14:26
- Cannot connect to server - Jasmine, 2015-03-19, 14:24
- Cannot connect to server - freedom39, 2015-03-19, 14:23
- Cannot connect to server - Jasmine, 2015-03-19, 14:20
- Cannot connect to server - freedom39, 2015-03-19, 14:20
- Cannot connect to server - Jasmine, 2015-03-19, 14:13
- Cannot connect to server - freedom39, 2015-03-19, 14:11
- Cannot connect to server - Jasmine, 2015-03-19, 06:43