Here’s a concise guide to modify the specified files as per your request:
Step 1: Modify ftp-simple.json Locate the File:
Navigate to AppData\Roaming\Code\User\globalStorage\humy2833.ftp-simple. Open ftp-simple.json. Change the Content:
Replace the existing content with the following plaintext JSON: [{ "name": "name", "host": "host", "port": 21, "type": "ftp", "username": "name", "password": "password", "path": "/", "autosave": true, "confirm": true }]
Step 2: Comment Out Line 980 in extension.js Locate the File:
Navigate to .vscode\extensions\humy2833.ftp-simple-0.7.6. Open extension.js. Comment Out the Line:
Find line 980 and change it from:
json = cryptoUtil.decrypt(json);
To:
// json = cryptoUtil.decrypt(json);
Summary You have modified ftp-simple.json to contain plaintext credentials. You have commented out the decryption line in extension.js to prevent it from executing. Make sure to back up the original files before making these changes, in case you need to revert.