Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Таймаут при открытом соединении FTP

 
Post new topic   Reply to topic    Total Commander Forum Index -> Общие вопросы printer-friendly view
View previous topic :: View next topic  
Author Message
Strek



Joined: 17 Oct 2010
Posts: 186

Post (Separately) Posted: Sat Jun 05, 2021 12:19    Post subject: Таймаут при открытом соединении FTP Reply with quote

Что можно сделать, чтобы FTP не закрывалось каждые 5 минут (примерно).
То есть не закрывать его вообще.

ПС. Опция "Автовозобноление ..." каждые 5 сек. поставил, но это никак не помогает.
Back to top
View user's profile Send private message
Skif_off



Joined: 28 Nov 2012
Posts: 1232

Post (Separately) Posted: Sun Jun 06, 2021 22:15    Post subject: Reply with quote

По логу понятно, почему разрывает? Возможно, сервер рвёт и ТС ни при чём?
Описание параметров не смотрели?
Back to top
View user's profile Send private message
Strek



Joined: 17 Oct 2010
Posts: 186

Post (Separately) Posted: Mon Jun 07, 2021 00:56    Post subject: Reply with quote

Skif_off wrote:
По логу понятно, почему разрывает? Возможно, сервер рвёт и ТС ни при чём?
[url= параметров[/url] не смотрели?

логи говорят такое?
Code:
250 CWD command successful
CWD img_srv_err
250 CWD command successful
PWD
257 "/img_srv_err" is the current directory
Чтение каталога...
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (62,109,9,117,170,173).
Connected to PASV port
MLSD
150 Opening ASCII mode data connection for MLSD
Загрузка
Ожидание ответа сервера...

То бишь я подключился, подождал длительное время и попытался зайти в каталог /img_srv_err и здесь меня попросило восстановить соединение

Настройки такие
Code:
[General]
ConnectRetries=10
WaitDelay=5
transfermode=I
LogFile=%Commander_Path%\Logs\FTP.log
FtpInBackground=1
ModeZ=1
FtpOpenIn=1
AutoResume=10000
TcpKeepAlive=1


ПС. В описание да, смотрел.
Back to top
View user's profile Send private message
Skif_off



Joined: 28 Nov 2012
Posts: 1232

Post (Separately) Posted: Tue Jun 22, 2021 15:46    Post subject: Reply with quote

Strek wrote:
логи говорят такое?

Похоже, нет.

С AutoResume=-1 ничего не меняется?

Скорее всего FTP-сервер рвёт подключение по таймауту (подключения или передачи), проверьте в FileZilla, например.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Общие вопросы All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group