This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sftp plugin maximum connections

 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
ardealul
Junior Member
Junior Member


Joined: 03 Sep 2014
Posts: 7

PostPosted: Wed Feb 07, 2018 4:47 am    Post subject: sftp plugin maximum connections Reply with quote

Hi,

having an issue with the sftp plugin (old one - 1.4 - and new one - 2.0 - alike): it seems there is a maximum number of connections that you can have in the sftpplug.ini file. Seems to be 260 (including _Quick Connection). Any more and they don't get displayed in total commander.

As in you can add more than 259 (excluding _Quick Connection) but none will show in total commander.

Thanks.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35966
Location: Switzerland

PostPosted: Thu Feb 08, 2018 4:28 am    Post subject: Reply with quote

There shouldn't be any hard limit for the server count. The limit seems to be this line in multiserver.cpp:
char serverlist[8192];

This is the length of the names of all connections combined. This gives an average length of 31 (including terminating 0). Try shortening the connection names a bit.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ardealul
Junior Member
Junior Member


Joined: 03 Sep 2014
Posts: 7

PostPosted: Fri Feb 09, 2018 1:42 am    Post subject: Reply with quote

absolutely brilliant Very Happy. Never had thought of that. Works !
Back to top
View user's profile Send private message
ardealul
Junior Member
Junior Member


Joined: 03 Sep 2014
Posts: 7

PostPosted: Fri May 04, 2018 5:52 am    Post subject: Reply with quote

did you get to fixing this issue ? I liked my full hostnames Smile
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35966
Location: Switzerland

PostPosted: Sun May 06, 2018 3:13 am    Post subject: Reply with quote

No, not yet, sorry. I will change it right away, so it will be in the next update.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 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


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group