LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


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

Rep: Reputation: 0
KDE limit number of ftp connections


hello,
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 01:18 AM.
 
Old 07-26-2008, 03:15 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
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?)..

Then..do 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).
 
  


Reply



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 03:58 PM
Limit number of simultaneous TCP connections per IP hegdeshashi Linux - Networking 1 01-06-2006 08:29 PM
Need a way to limit TCP connections ewerta Linux - Networking 1 07-25-2005 03:54 PM
limit connections Smokey Slackware 1 10-13-2004 02:22 AM
How to limit the number of TCP connections for a certain port? mussons Linux - Security 1 01-28-2004 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:36 PM.

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