Synapse FTPSend handling connection errors lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- RugiaArt ยท 2012-10-11 17:54 hi, how can i handle connection lost error (disconnect from internet) while file uploading/downloading with FTPSend.StoreFile(); ? at the moment my application do not response when i disconnect... Code: [Select]... ftp:TFtpSend; ... ftp.DirectFileName := 'FileName'; ftp.DSock.SetTimeout(10); //now its not important how long my timeout is ftp.StoreFile('FileName',false); ... //upload runs //internet connection lost //no errors, no messages ... just hanging up :( thx