h3imdall / ftp-remote-edit

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

sFTP Can Create Files But Not Delete Them #400

Closed bcpeterson7 closed 3 years ago

bcpeterson7 commented 3 years ago

Title says it all. I can create a file, but not delete it with remote-ftp. This is not a permissions issue, as I have tested it with full user:group ownership rights over a file and its parent directory. I can use a third-party software, like FileZilla, and it will be able to delete the file (same sFTP credentials). This issue is recurring for me across multiple VPS servers - so I figure I am consistently configuring the .ftpconfig file incorrectly, or it's a bug (but no one else reports it, so back to it's probably my fault). Here is my config file:

{
"protocol": "sftp", "host": "IP_ADDRESS",
"port": 22,
"user": "USERNAME",
"pass": "SUPER_SECRET_PASSWORD_GOES_HERE",
"promptForPass": false,
"remote": "/",
"local": "",
"agent": "",
"privatekey": "",
"passphrase": "",
"hosthash": "",
"ignorehost": true,
"connTimeout": 10000,
"keepalive": 10000,
"keyboardInteractive": false,
"keyboardInteractiveForPass": false,
"remoteCommand": "",
"remoteShell": "",
"watch": [],
"watchTimeout": 500,
"filePermissions":"0644" }

Package: remote-ftp version 2.2.4

bcpeterson7 commented 3 years ago

Oops! Wrong package!