LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   KDE limit number of ftp connections (https://www.linuxquestions.org/questions/linux-desktop-74/kde-limit-number-of-ftp-connections-658333/)

zxLinux 07-26-2008 12:50 AM

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

b0uncer 07-26-2008 03:15 AM

Quote:

Originally Posted by zxLinux (Post 3226637)
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).


All times are GMT -5. The time now is 04:52 AM.