liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 256 forks source link

Files are downloaded from the server but cannot be edited #1001

Closed samehel closed 1 year ago

samehel commented 1 year ago

Do you read the FAQ?

Describe the bug I am connected successfully, However, I am unable to edit the files on the server. It only gives me the option to edit locally. Whenever I try editing I get the message "Cannot edit in read-only editor"

To Reproduce

{
    "name": "example",
    "host": "hostname",
    "protocol": "ftp",
    "port": 21,
    "username": "exampleUsername",
    "password": "examplePassword",
    "remotePath": "/",
    "uploadOnSave": true
}

Expected behavior The file is downloaded and I can edit the file and with ever edit I make followed by a save, I expect it to save online as well.

Yohn commented 1 year ago

Once you edit the file locally and then save it, it'll upload to your server. You may have to right click on the file in explorer and select upload or sync local -> remote to auto upload to the server.