SublimeText2-FTPSync
SublimeText2-FTPSync copied to clipboard
Maximum number of connections
I am finding that FTPSync appears to open too many connections. I have seen previous issue referring to a similar issue - https://github.com/NoxArt/SublimeText2-FTPSync/issues/86
I am often getting this message:
FTPSync [default] > Login failed [Exception: 530 Sorry, the maximum number of clients (3) for this user are already connected.]
I have tried changing the max_threads to 1 in by Settings - Default file.
Here is my FTPSync.sublime-settings file which is for this specific project/folders.
{
"default": {
"host": "",
"username": "", /
"password": "",
"path": "/public_html/",
"upload_on_save": true,
"download_on_open": true,
"max_threads" : 1,
"debug_threads" : true
}
}
What appears to happen is some of the files/folders are downloaded then the error is received:
FTPSync [default] > Login failed [Exception: 530 Sorry, the maximum number of clients (3) for this user are already connected.]
FTPSync > Exception in user code:
------------------------------------------------------------
Traceback (most recent call last):
File ".\FTPSync.py", line 921, in makeConnection
File ".\ftpsyncwrapper.py", line 331, in login
File ".\ftpsyncwrapper.py", line 276, in retryingCommand
File ".\ftpsyncwrapper.py", line 270, in call
File ".\lib2\ftplib.py", line 385, in login
File ".\lib2\ftplib.py", line 244, in sendcmd
File ".\lib2\ftplib.py", line 219, in getresp
error_perm: 530 Sorry, the maximum number of clients (3) for this user are already connected.
+1
Hi, I now have more time, I will look into this starting today or tomorrow, will let you know how it's progressing. Thank you for patience

I don't find that label absolutely unambiguous, but I assume you mean: the total number of connections to a specific server at any time should not exceed a certain number
In short, my hosting provider's ftp allow me connect simultaneously 3 connections.
I don't know what the option max_threads is, but I think it's not related to my problem, because I set it to 3 and restarted sublime. The problem didn't go away, but when I set it to 1, it's solved my problem.
Yes, I believe I understand. To clarify: max_threads is the number of connections for one transfer when using multi-threaded download/upload for faster transfer. The total number of connection can go higher by:
- initiating more transfers at once
- defining more sync targets in one .settings file to the same server
- the action needed to issue more connections to acquire additional information
- another action being initiated or triggered (often asynchronously) in the duration of the original transfer
And you are right that (because of the reasons mentioned above) it does not address your issue. I will limit the total number of connection at one time to the same server.
Thank you! Look forward to updates
Correct
On 26 Jun 2014, at 17:46, Jiří Petruželka [email protected] wrote:
I don't find that label absolutely unambiguous, but I assume you mean: the total number of connections to a specific server at any time should not exceed a certain number
— Reply to this email directly or view it on GitHub.
Was this issue ever resolved? Thanks
I'm working on it, but having little time during a week, hopefully will make some progress over the weekend
hi, im having the same problem, there is any update about this?
Hi! having the same issue right now. Is there any solution? Thx, Falk