SublimeText2-FTPSync icon indicating copy to clipboard operation
SublimeText2-FTPSync copied to clipboard

Suggestion: Stop Download/Upload

Open MartinBucko opened this issue 10 years ago • 9 comments

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 :)

MartinBucko avatar Jan 14 '14 17:01 MartinBucko

Hi, that's actually a really good suggestion, thanks!

NoxArt avatar Jan 14 '14 18:01 NoxArt

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.

winfried-van-loon avatar Feb 03 '14 12:02 winfried-van-loon

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.

NoxArt avatar Feb 03 '14 12:02 NoxArt

Cancelling of commands is partially done, mostly just missing the actual stopping.

NoxArt avatar Feb 03 '14 18:02 NoxArt

Stopping is kinda done too, will merge it with the current code and test it

NoxArt avatar Feb 25 '14 12:02 NoxArt

it is really important feature

@NoxArt will it be available soon?

thecotne avatar Aug 26 '14 20:08 thecotne

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)

NoxArt avatar Aug 26 '14 20:08 NoxArt

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.

NoxArt avatar Aug 31 '14 10:08 NoxArt

Any news about this?

Luc45 avatar Dec 13 '16 18:12 Luc45