SublimeText2-FTPSync
SublimeText2-FTPSync copied to clipboard
Suggestion: Stop Download/Upload
Hi, first thanks to all for this cool plugin!
I miss in menu stop upload/download if i make mistake maybe on root folder and i download/upload whole directory, what i don't want.
I hope this suggestion help little bit :)
Hi, that's actually a really good suggestion, thanks!
We've figured out that closing SublimeText works as a cancel action aswell, altough we're not quite sure if that'll damage the files that are being down- or uploaded. Somekind of cancel button would be quite handy. Thank you for your time.
Yes, this is among my next on the list, but it'll require a few more changes.
It should be safe for downloading when use_tempfile
is enabled (it is by default), for uploading it's yet to be added, but FTP renaming is designed in fragile way imho, it's split into two commands that have to follow in order and each can fail, a lot of adjustment code required ... https://github.com/NoxArt/SublimeText2-FTPSync/blob/master/ftpsyncwrapper.py#L562. So for mass uploads ... not sure, but I guess I add it too as see if it's viable.
Cancelling of commands is partially done, mostly just missing the actual stopping.
Stopping is kinda done too, will merge it with the current code and test it
it is really important feature
@NoxArt will it be available soon?
Oh, I've just spent most of the time working on it. It mostly works, just have to figure out a few issues (can't say when exactly, because one in particular is really weird, part of the code does not exectute after Sublime restart, only after I change something in the plugin file and resave it each time...) (hah, mystery solved)
Found out I need to look into #154 alongside this one, which is also partially in progress, once that's completed, and fixed the last issue, I will push this one too.
Any news about this?