humy2833 / FTP-Simple

visual studio code extension
107 stars 39 forks source link

Running the contributed command:'ftp.config' failed. #139

Open Connor-Knabe opened 6 years ago

Connor-Knabe commented 6 years ago

First off this is a great extension, thanks so much for working on this!

When I try to open config it gives me "Running the contributed command:'ftp.config' failed." error. I don't see any console output and have tried reinstalling (fully deleting extensions folder) and restarting the machine. It does work in the non-insiders build but this seems odd it wouldn't work for Insiders. Any ideas?

Windows 10. VS Code insiders 1.23.0

hogiro commented 6 years ago

I have the same issue. Unfortunately still no solution...

Connor-Knabe commented 6 years ago

Strangely enough, it started working. I think by setting the config in the non insiders build of VS Code it was able to pick it up in the insiders build. @hogiro can you see if that fixes it for you?

hogiro commented 6 years ago

Unfortunately it doesnt work by me. I still get the same error message.

Connor-Knabe commented 6 years ago

So on a fresh install of Windows, I had the same issue. Were you able to get it to work @hogiro? The fix that is working for me is: 1) Install Visual Studio Code (non-insiders build) and open it 2) Install ftp-simple open config 3) Fill out server info 4) Go back to Visual Studio Code Insiders and it should allow you to open a connection.

BitoTan commented 6 years ago

Excuse my English, it's very basic.

I had the same problem and reviewing the extension library found the solution, just change the part where it says:

return pathUtil.join (folder, "/ Code / User /", filename? filename: "");

for

return pathUtil.join (folder, "/ Code - Insiders / User /", filename? filename: "");

image

I hope it will help.

NgxDev commented 6 years ago

The issue still exists, why is this closed? Installing VSCode only to config and extension isn't a solution, it's a workaround. Extensions should work with either VSCode or VSCode Insiders.

Connor-Knabe commented 6 years ago

The issue still exists, why is this closed? Installing VSCode only to config and extension isn't a solution, it's a workaround. Extensions should work with either VSCode or VSCode Insiders.

Reopening until there is a proper solution.

Connor-Knabe commented 6 years ago

I have a possible fix here -> https://github.com/humy2833/FTP-Simple/pull/161 Need testers for this. Thanks!

jheaden commented 5 years ago

I just got this error trying to use ftp-simple: config "Running the contributed command: 'ftp.config' failed."

Connor-Knabe commented 5 years ago

@jheaden are you using the insiders build of VS code?

jheaden commented 5 years ago

[image: image.png]

I don't think so.

On Mon, Oct 7, 2019 at 5:52 AM Connor Knabe notifications@github.com wrote:

@jheaden https://github.com/jheaden are you using insiders build of VS code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/humy2833/FTP-Simple/issues/139?email_source=notifications&email_token=ABHZLVN6CGQZEWLYTEPUEZ3QNMWKDA5CNFSM4E6AY75KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAQGV4Y#issuecomment-538995443, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHZLVICPA75FX2ECVKKYSTQNMWKDANCNFSM4E6AY75A .

mattiachiabrando commented 5 years ago

I know that this is not a proper fix, but until you found a solution i managed to workaround it installing the version 0.6.8, setting up the config file and the returning to 0.7.2. Hope it works for you as well!

Jamezhall commented 5 years ago

I'm still getting this issue. Is this still being looked at? Just installed the extension today.

Using VSCode: Version: 1.38.1 (user setup) Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0 Date: 2019-09-11T13:35:15.005Z Electron: 4.2.10 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Windows_NT x64 10.0.18362

EDIT: I also reverted back to 0.6.8 and it now allows me to configure.

This needs to be solved. :)

vrodriguezf commented 5 years ago

same here! New to VScode, this is annoying!

jon-by commented 5 years ago

Same here =/

Running the contributed command: 'ftp.config' failed.

jon-by commented 5 years ago

hi @Jamezhall , were did you found 0.6.8 version?

Connor-Knabe commented 5 years ago

@jon-by you can download this one

https://github.com/humy2833/FTP-Simple/tree/e27254076cc026d698b9946c62050d6b9acde600

Overwrite the files in the humy2833.ftp-simple folder with those -> %USERPROFILE%.vscode\extensions

I plan on working on a fix for this again (it seems like it was working but a few commits recently broke it). It could be a couple of weeks as im out on vacation next week though.

EDIT: an easier way to do this would be to hit the settings button when searching for that extension click "Install Another Version..."

jon-by commented 5 years ago

@jon-by you can download this one

https://github.com/humy2833/FTP-Simple/tree/e27254076cc026d698b9946c62050d6b9acde600

Overwrite the files in the humy2833.ftp-simple folder with those -> %USERPROFILE%.vscode\extensions

I plan on working on a fix for this again (it seems like it was working but a few commits recently broke it). It could be a couple of weeks as im out on vacation next week though.

OMG, we got it. i can back to work now. thank you so much =,)

pcnest commented 5 years ago

@Jamezhall thanks reverting works :)

eduard-ungureanu commented 5 years ago

@Connor-Knabe it doesn't work for me, I use the install another version route and not I get only FTP Connecting then FTP Close!! in my terminal.

fredyinstr commented 5 years ago

this worked for me: Uninstall the extension, go to extensions tab or Ctr + shift + x and click on Manage, then choose install another version and install version 7.0. This version allow opening config, you can edit the file, then update version. English is not my mother tongue; please excuse any errors on my part.

yangkai798 commented 5 years ago

I have solve this problem, edit ftp-simple-temp.json in ~/.config/Code/User/globalStorage/humy2833.ftp-simple like this

[ { "name": "Sample-Name", "host": "Sample-Host", "port": 21, "type": "ftp", "username": "Your FTP USERNAME", "password": "Your FTP PASSWORD", "path": "/", "autosave": true, "confirm": true } ]

then go on!

Deniz-13 commented 5 years ago

@parvezhossan you shouldn't be publishing your private files. which includes some of your ftp connection infos. you should check that out

parvezhossan commented 5 years ago

Thanks. I deleted my file. I already hacked by someone. Not a big deal but I'll never help people again.

On Tue, Oct 22, 2019 at 2:55 AM 1Plumy notifications@github.com wrote:

@parvezhossan https://github.com/parvezhossan you shouldn't be publishing your private files. which includes some of your ftp connection infos. you should check that out

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/humy2833/FTP-Simple/issues/139?email_source=notifications&email_token=ABH2DFBWL4PZSO3HNIRVMUTQPYJNVA5CNFSM4E6AY75KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB3YMMQ#issuecomment-544704050, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH2DFE6MS2BNMUVGHH6KGLQPYJNVANCNFSM4E6AY75A .