Re: [twsocket] [FTPCli] - 421 No Transfer Timeout (300 seconds)
Artem Antonov wrote: > On Tue, 13 Sep 2005 11:15:34 +0200 > "Arno Garrels" <[EMAIL PROTECTED]> wrote: >> Artem Antonov wrote: >>> Hello! >>> >>> I had such a problem. To prevent of FTP server disconnection on >>> timeout I use "Pwd" command: >>> ExecuteCmd(FtpClient.Pwd, FtpClient.PwdAsync); >>> >>> But after five minutes I get a message: >>> 421 No Transfer Timeout (300 seconds): closing control connection. >>> Session closed, error 0. >>> >>> What should I do to fix it? >> >> You could try a directory listing. > > Thanks! It seems to me works correctly. > So, problem was in FTP server, as I understand. Yes, some servers disconnect you if you don't transfer something within a certain period of time. However that timeout may be different from server to server. > > Best regards, > Artem Antonov. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [FTPCli] - 421 No Transfer Timeout (300 seconds)
On Tue, 13 Sep 2005 11:15:34 +0200 "Arno Garrels" <[EMAIL PROTECTED]> wrote: > Artem Antonov wrote: >> Hello! >> >> I had such a problem. To prevent of FTP server disconnection on >> timeout I use "Pwd" command: >> ExecuteCmd(FtpClient.Pwd, FtpClient.PwdAsync); >> >> But after five minutes I get a message: >> >>> 421 No Transfer Timeout (300 seconds): closing control connection. >> Session closed, error 0. >> >> What should I do to fix it? > > You could try a directory listing. Thanks! It seems to me works correctly. So, problem was in FTP server, as I understand. Best regards, Artem Antonov. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] [FTPCli] - 421 No Transfer Timeout (300 seconds)
Artem Antonov wrote: > Hello! > > I had such a problem. To prevent of FTP server disconnection on > timeout I use "Pwd" command: > ExecuteCmd(FtpClient.Pwd, FtpClient.PwdAsync); > > But after five minutes I get a message: > >> 421 No Transfer Timeout (300 seconds): closing control connection. > Session closed, error 0. > > What should I do to fix it? You could try a directory listing. Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be