If I use FTP protocol instead of SFTP, there is no problem if the OptionTimeout 
= 1. 

The OptionTimeout does not work with SFTP :-(

Disappointing, this SFTP protocol is useful 
(files and password encrypted and secure without requiring certificate).

olivier

Le 5 juin 2012 à 00:02, Paxdo Presse a écrit :

> 
> That's what I did: 
> - I run the application 
> - The application connects to sftp server: ok
> - I shut down the wifi (internet)
> - I send a command to the sftp server 
> - The application freezes for a minute or two, then says it can not connect.
> 
> Here are the full debugMessage:
> 
> 
> 0 - About to connect() to mysite.com port 22 (#0)
> 
> 0 -   Trying 88.190.21.102... 
> 0 - connected
> 
> 0 - Connected to mysite.com (88.190.21.102) port 22 (#0)
> 
> 0 - SSH authentication methods available: publickey,gssapi-with-mic,password
> 
> 0 - Using ssh public key file /Users/olivier/.ssh/id_dsa.pub
> 
> 0 - Using ssh private key file /Users/olivier/.ssh/id_dsa
> 
> 0 - SSH public key authentication failed: Unable to open public key file
> 
> 0 - Initialized password authentication
> 
> 0 - Authentication complete
> 
> 4 - 
> 
> 0 - Connection #0 to host mysite.com left intact
> 
> 0 - Re-using existing connection! (#0) with host mysite.com
> 
> 0 - Connected to mysite.com (88.190.21.102) port 22 (#0)
> 
> 0 - Could not open directory for reading: Unknown error in libssh2
> 
> 0 - Connection #0 to host mysite.com left intact
> 
> 
> olivier
> 
> Le 4 juin 2012 à 23:13, Christian Schmitz a écrit :
> 
>> Hi,
>> 
>> like everyone with a CURL problem:
>> 
>> Can you please set OptionVerbose = true and write the output of the Debug 
>> event to a text output stream. And flush on the end of the event.
>> 
>> So you can see in the text file, what messages are written there. Maybe it 
>> tries to send and gets a message about a timeout as connection dropped and 
>> does a reconnect.
>> 
>> Greetings
>> Christian
>> 
>> -- 
>> Real Studio Conferences, Training and Meetings.
>> 
>> More details and registration here:
>> http://www.monkeybreadsoftware.de/realbasic/events/
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Mbsplugins_monkeybreadsoftware.info mailing list
>> [email protected]
>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to