Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 07-26-2008, 01:50 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 17

Rep: Reputation: 0
KDE limit number of ftp connections

i want to edit some ftp files, but my host only supports one ftp connection, so i want to force kde to use only one connection per host for all the programs that use that host,

otherwise i get an FTP error each time i try to open two files in different apps, because i cannot set 2 simultaneous connections to
the same host,

this may happen in programs that manage multiple files, all you get is an error msg and an empty document

is there any way to limit the number of ftp conns????

thanks for your advise

Last edited by zxLinux; 07-26-2008 at 02:18 AM.
Old 07-26-2008, 04:15 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Originally Posted by zxLinux View Post
is there any way to limit the number of ftp conns????
Yes, there is!!!! Don't start them

Seriously speaking, if your client (whatever you use then) allows you to specify how many connections you may make, it's probably mentioned in the documentation and can be controlled in a configuration file. Check the man page first, search for "limit" or something if you don't want to go trough it all..though I wonder if client-side software would restrict connection numbers, for me it sounds like it's the server's job.

Another possibility would perhaps be to set your firewall block all ftp connections after n connections are made, but that sounds like an overkill really.

Interesting case, however; have you asked the ftp service provider if they could increase the number of allowed connections a little? Or why they have so little (or are you perhaps already using something like 10 connections?).. you really need more than one (or two..) connection to edit the files? I mean you can just (m)get the files, edit them locally and then put them all back. That's what I do; if you don't feel comfortable with doing puts and gets all the time, you can pretty easily write a script/scripts that take care of your ftp'ing business and you just need to click on them (or run them, if on command line).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit number of concurrent connections in apache jakev383 Linux - Server 2 07-18-2008 04:58 PM
Limit number of simultaneous TCP connections per IP hegdeshashi Linux - Networking 1 01-06-2006 09:29 PM
Need a way to limit TCP connections ewerta Linux - Networking 1 07-25-2005 04:54 PM
limit connections Smokey Slackware 1 10-13-2004 03:22 AM
How to limit the number of TCP connections for a certain port? mussons Linux - Security 1 01-28-2004 07:27 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration