LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Limiting concurrent FTP connections? (https://www.linuxquestions.org/questions/linux-newbie-8/limiting-concurrent-ftp-connections-860024/)

windom 02-01-2011 10:27 AM

Limiting concurrent FTP connections?
 
Hello,
I've got a weird problem. FTP servers I use frequently have imposed a simultaneous connections limit, usually 5-10 at the time. It was no problem under Windows, since Windows artificially limits allowed FTP connections to ~10 as far as I know. But it is a problem under Linux very much since I cannot find how to limit them :/

So far I used these clients:

Native FTP client (Places -> Connect to FTP server). No apparent way to limit connections.

FileZilla. Under particular server settings you can limit number of simultaneous connections. Also you can do that globally in Edit -> Preferences -> Transfers. Problem is, it doesn't work, I still keep getting the 530 Sorry the maximum number of clients (10) for this user are already connected. And netstat shows quite a few simultaneous FileZilla connections no matter that I limited them to 1 both in global and local settings.

NCFTPPUT. 10 successful uploads and hi 530.

Total Commander under Wine. Same.

NetBeans IDE integrated ftp. Same.

Some other crapy FTP clients which names I already forgot. Same.

OS is Ubuntu 10.04

So, is there any way to force any of these FTP clients to use less than 10 concurrent connections? Or maybe the problem lies somewhere else? Thanks in advance for your help...

geovg 02-02-2011 04:34 AM

Quote:

Originally Posted by windom (Post 4244749)
Hello,
I've got a weird problem. FTP servers I use frequently have imposed a simultaneous connections limit, usually 5-10 at the time. It was no problem under Windows, since Windows artificially limits allowed FTP connections to ~10 as far as I know. But it is a problem under Linux very much since I cannot find how to limit them :/

So far I used these clients:

Native FTP client (Places -> Connect to FTP server). No apparent way to limit connections.

FileZilla. Under particular server settings you can limit number of simultaneous connections. Also you can do that globally in Edit -> Preferences -> Transfers. Problem is, it doesn't work, I still keep getting the 530 Sorry the maximum number of clients (10) for this user are already connected. And netstat shows quite a few simultaneous FileZilla connections no matter that I limited them to 1 both in global and local settings.

NCFTPPUT. 10 successful uploads and hi 530.

Total Commander under Wine. Same.

NetBeans IDE integrated ftp. Same.

Some other crapy FTP clients which names I already forgot. Same.

OS is Ubuntu 10.04

So, is there any way to force any of these FTP clients to use less than 10 concurrent connections? Or maybe the problem lies somewhere else? Thanks in advance for your help...

you must increase the connection limit in the FTP server, not in the client software.


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