NoxArt / SublimeText2-FTPSync

Simple and free FTP(S) syncing (SFTP not available)
MIT License
342 stars 65 forks source link

No config accepting in Sublime 3 or 2 #195

Open amorev opened 9 years ago

amorev commented 9 years ago

Good morning.

FTPSync > Found no config for {C:\Users\li_morgan\AppData\Roaming\Sublime Text 2\Packages\FTPSync\FTPSync.sublime-settings} FTPSync > Found no config for {C:\Users\li_morgan\AppData\Roaming\Sublime Text 2\Packages\FTPSync\FTPSync.sublime-settings} FTPSync > Config not found for: C:\Users\li_morgan\AppData\Roaming\Sublime Text 2\Packages\FTPSync\FTPSync.sublime-settings

This is in my console on starting sublime (3 and 2) and when me saving config for FTPSync. When I change any configuration in Settings for FTPSync it doesn't take any effect. I need to change "max_threads" from 4 to 3 and I can't do this. What should I do for it to work?

Thanks!

NoxArt commented 9 years ago

Hi, this is understandably confusing ... it only says that FTPSync detected file being saved, but found no related ftpsync.settings file and thus will not sync it via FTP. It does not mean that the change of settings would be ignored.

I'm sure you tried restarting sublime ... beside that, the implementation is currently imperfect in that this option is only limiting the threads for transfer, but the actually number of connections (which I assume you're after) can be higher (e.g. during the transfer there's another connection made while handling some even like file save) ... so please try using 2 or 1 if you're having troubles with too many connections to the server

amorev commented 9 years ago

My hosting doesn't support more than 3 connections by one user. But when FTPsync sees the error http://joxi.ru/GrqyDoQFE99Krz FTPSync.lib3.ftplib.error_temp: 421 I can't accept more than 3 connections as the same user

and stops to download the folder. This is the one problem of your plugin i see:)

amorev commented 9 years ago

workerLimit = settings.get('max_threads') printMessage("This is work limit - " + str(workerLimit)) This is what I insert in code of FTPsynd "max_threads":2, This is in user config for ftpsync (even in default config) reloading Packages/FTPSync/FTPSync.sublime-settings b'FTPSync > This is work limit - 5' This is what I see in console. Config doesn't work!