h3imdall / ftp-remote-edit

Edit files on ftp servers with Atom editor and without a workspace.
MIT License
178 stars 27 forks source link

Allows to remeber last selected path for download/upload #320

Closed wacki4 closed 5 years ago

wacki4 commented 5 years ago

I've many times upload/download many files multiple time, even between servers. Getting throught each folder was annoing - so i've added possibility to remember last path while until restart.

cschindl commented 5 years ago

Hi @wacki4,

nice to hear from you again. As I see, you were once again very diligent. The idea to save the path is very good, because it is the normal behavior of the operating system. I therefore think that we can omit the configuration option and always save the last path temporarily. At the next upload/download it is enough to check if the path still exists. If so, it can be used again. Otherwise we change to the default path. What do you think?

wacki4 commented 5 years ago

I've made is as settings - cause maybe some people would like to open only default path. Still easy, but giving more possibilites of work :) If You thing that last path should be always - i don't have any others thoughts other that above. It would be still great ;)

cschindl commented 5 years ago

I think the last path should always be used. Too many configuration options confuse most people. Since the behavior would then be identical to the operating system, I think most people will not miss the configuration.

wacki4 commented 5 years ago

So remove config parameter? Or You will do it on merging ? ;)

cschindl commented 5 years ago

Please remove the configuration parameters. I want to make sure I don't make any mistakes when merging.

wacki4 commented 5 years ago

Done ;)