Issue with FTP-Sync, using command "ftp-sync:init" I get error message: "Cannot read property '0' of undefined"

Viewed 779

I have downloaded vs code to my mac and am trying to connect to the server using the ftp-sync extension built into vs code. After installing ftp-sync, I tried to use the command ftp:sync-init and the following error appears:

"Command 'Ftp-sync: Init' resulted in an error (Cannot read property '0' of undefined)".

I'm a beginner at using VS Code and don't know how to fix the problem and need to get my server going asaap to access files.

1 Answers

You have to first open a folder either empty o or an existing project so the .vscode can be created.

Related