remote-ftp
remote-ftp copied to clipboard
Upload the current open file - NOT the current selected
I have been running into a very serious issue. I want to upload the current file in the Atom Editor - not the current selected in the tree - these are not always the same. Is there a way to assign this to a hot key? Thanks.
I thought assigning the hot key on the atom-text-editor would work but it does not. It means that you need to be in the editor, yes, but it still uploads the current selected in the tree - which might be a completely different directory. This has caused a serious problem in our system as a bunch of files got uploaded that were not supposed to be uploaded. It was also very hard if not impossible to cancel the upload - we had to close atom. When we came back, they kept uploading. It happened several times and the other times closing atom seemed to stop the transfers. Is there a way to cancel uploads? (second question but not as important as the first) Cheers - and thanks for the amazing package!!
I think there is something going on with Atom - this has happened like 5 times this morning. Perhaps it is not automatically selecting the file that I am on and leaving it on a directory. It never happened before - but still... knowing that I am uploading my current file when I press the hotkey is so important.
Here is an example - I am in the zim_docs.js file at the right in the text editor and the selection at the left is the CDN - if I use the hotkey now to upload it starts uploading the whole CDN! I think it might be a bug in Atom to not select the file that the left when it is active in the right. But still, I am hoping there is a command that someone knows to make sure it is the editor file and not the tree selection that we upload. Cheers.
Here I go again... uploading the whole CDN because my hotkey uploads the selection in the tree rather than the current file. I think the issue is in atom that it is not selecting the current file sometimes. But - could you add a command to upload just the current file in the editor - no the tree? Then I would use that as my hotkey. Cheers. And thanks for the great plugin - I don't mean to be grouchy.