{"_id":"@ekliptor/ftp-simple","_rev":"1-b79ef330ad763cfeb089b485eb1aef65","name":"@ekliptor/ftp-simple","dist-tags":{"latest":"0.7.5"},"versions":{"0.7.5":{"name":"@ekliptor/ftp-simple","displayName":"ftp-simple","description":"Simple FTP/SFTP","version":"0.7.5","publisher":"humy2833","keywords":["ftp","sftp","ftps","tls","remote","download","upload"],"categories":["Other"],"license":"MIT","repository":{"type":"git","url":"https://github.com/humy2833/FTP-Simple.git"},"bugs":{"url":"https://github.com/humy2833/FTP-Simple/issues"},"icon":"logo.png","activationEvents":["*"],"main":"./extension","contributes":{"commands":[{"command":"ftp.config","title":"ftp-simple : Config - FTP connection setting"},{"command":"ftp.open","title":"ftp-simple : Open - Open the file directly from FTP server"},{"command":"ftp.save","title":"ftp-simple : Save - Upload to FTP server"},{"command":"ftp.delete","title":"ftp-simple : Delete - File or directory in FTP server(recursive)"},{"command":"ftp.mkdir","title":"ftp-simple : Create directory to FTP server"},{"command":"ftp.diff","title":"ftp-simple : Diff - Local file and FTP server file"},{"command":"ftp.download","title":"ftp-simple : Download - Download in working directory from FTP server."},{"command":"ftp.rename","title":"ftp-simple : Rename - Change the file name from FTP server."},{"command":"ftp.remote.workspace.open","title":"ftp-simple : Remote directory open to workspace"},{"command":"ftp.reset","title":"ftp-simple : Close all FTP connections."}],"keybindings":[{"command":"ftp.save","key":"ctrl+shift+s","mac":"cmd+shift+s"},{"command":"ftp.open","key":"ctrl+shift+o","mac":"cmd+shift+o"},{"command":"ftp.diff","key":"ctrl+alt+d","mac":"cmd+alt+d"}],"menus":{"explorer/context":[{"command":"ftp.save","group":"ftp-simple"},{"command":"ftp.download","group":"ftp-simple"},{"command":"ftp.rename","group":"ftp-simple"},{"command":"ftp.diff","group":"ftp-simple"},{"command":"ftp.delete","group":"ftp-simple"}],"editor/context":[{"command":"ftp.save","group":"ftp-simple"},{"command":"ftp.download","group":"ftp-simple"},{"command":"ftp.rename","group":"ftp-simple"},{"command":"ftp.diff","group":"ftp-simple"},{"command":"ftp.delete","group":"ftp-simple"}],"editor/title/context":[{"command":"ftp.save","group":"ftp-simple"},{"command":"ftp.download","group":"ftp-simple"},{"command":"ftp.rename","group":"ftp-simple"},{"command":"ftp.diff","group":"ftp-simple"},{"command":"ftp.delete","group":"ftp-simple"}]},"configuration":{"title":"FTP-Simple","properties":{"ftp-simple.remote-workspace":{"type":"string","default":"","description":"You can modify the local workspace path when you open a remote file. Modify this option if remote file encoding is not UTF-8.(VSCode appears to have encoding recognition bugs if the workspace path is longer.)"},"ftp-simple.remote-workspace-load-all":{"type":"boolean","default":true,"enum":[true,false],"description":"Indicates whether all files are loaded during initial run. If false, the sub folder ([DIR]) will load when it is clicked. Default: true"}}}},"scripts":{},"devDependencies":{},"dependencies":{"chokidar":"^2.1.8","easy-ftp":"^0.4.1","easy-loop":"^1.7.2","filesize":"^3.6.1","fs-extra":"^7.0.1","minimatch":"^3.0.4"},"_id":"@ekliptor/ftp-simple@0.7.5","dist":{"shasum":"baaf36ea498a3d2466f0b69faf0a89a29f894f9c","integrity":"sha512-fZ9nZHWmsCH9hzCeGZEb+Bhy6oCn7442iqCDOMKa9VqLOowJ8NmLOD0UHIUfKUMTMBYYGActcuPBZeDe6AtbGg==","tarball":"https://registry.npmjs.org/@ekliptor/ftp-simple/-/ftp-simple-0.7.5.tgz","fileCount":22,"unpackedSize":169330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9hyeCRA9TVsSAnZWagAAnOcP/2RnWJtbGcAACkP0GpCY\nokXTDHNd28IivsbNzel0NP6W6HKTajCJ3Dpo+pLi9fqI0Ge0SzOYqeePlyB9\nzDDKm9eS4vIIsMDFWuQYM95ELe8xVXJDz10KKvsoIfSwpN/wbhL4jCiZ6Iap\nARInhXDivl5tI1nFZiLOZUhBFDv6S32hrRV8/gVMxQvxhCsZDOsuYQQietA+\n44hnKMNUlg6ds3X9lJP5SRTQYdWbIbaIt3WbtqK1eZCXp0l2ebhovt+w+sIo\niO8Fl63rCUh1J9KbZ/DdeAZImQ+k4u4y6iYYsE3zTMcRQ2glrutV+EuyfRHF\nLUOaItcFnYOOieYpsCAs4bpYBMnQZjkK6xrrDC6k1g/c5aJEwyfvd46J7fwe\n2lGjGxI8NuEhxLB+KcgEs6ZB5UEyblN8htrhwflgBTcS3thok8D23ongXw6l\ngMKcvUPD+HOxuAg+LjQyG0LbScYpGJ9+XORuT9DlxvZx/GuRkN7fgnb2jCvj\n4mUQGUcDyz8i7+VY8oVN20I3k8vYstb5FE5i7BMOUVCdTS1Jk2ydZCTn7cRl\n8wQ3yOA1BnlrSwcF0ag3MaJuo8HinIDt9I/7lzqOnx0P9aS+hj+rTvxVWnSI\n/5CC3TS1umrRwwgxyoHWf1jga7xQz/j/3IpJnHo2N3vMA7hmj8IWteFlt1Lf\n1CHw\r\n=I0O2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA9yCk0CTLGJyXgMjwg5ich07wfxvf/eA2GsgQi+dWvXAiBdJBrA4oUMzW8QOoZMxFC4vm+U0mmVDbc1Ycwrumifaw=="}]},"maintainers":[{"name":"ekliptor","email":"Ekliptor1@yandex.com"}],"_npmUser":{"name":"ekliptor","email":"Ekliptor1@yandex.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ftp-simple_0.7.5_1593187485701_0.06456853370748661"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-26T16:04:45.701Z","0.7.5":"2020-06-26T16:04:45.884Z","modified":"2022-04-05T07:02:43.290Z"},"maintainers":[{"name":"ekliptor","email":"Ekliptor1@yandex.com"}],"description":"Simple FTP/SFTP","keywords":["ftp","sftp","ftps","tls","remote","download","upload"],"repository":{"type":"git","url":"https://github.com/humy2833/FTP-Simple.git"},"bugs":{"url":"https://github.com/humy2833/FTP-Simple/issues"},"license":"MIT","readme":"## Functions\n\n- Directly **Open**, **Edit** and **Save** on server files.\n- **Save** the **local file** or **directory** to **server**(upload and backup option)\n- **Download** the file or directory from ftp server.\n- **Create** a **directory** on the remote server directly.\n- **Delete** **directory**(recursive) and **files** directly from the server.\n- **Rename** Change the file name on the FTP server.\n- **Compare** a local file server file.\n- **Remote directory open to workspace** (Beta version)\n\n## Available commands\n* config - Set the ftp connection information.\n* create directory - Create a directory on ftp server.\n* open - Open the file directly from ftp server and when you save upload it to the ftp server.\n* save - File or directory upload to ftp server.(Available from the context menu)\n* download - Download the file or directory from ftp server to the workspace.\n* delete - Delete the file or directory directly from ftp server.\n* rename - Change the file name on the FTP server.\n* diff - Compare a local file server file.\n* Remote directory open to workspace - (Beta version) Open the directory directly on workspace from the ftp server. Similar to remote synchronization.\n(**Caution** : So remote delete a files is only possible using 'Delete' in the context menu)\n\n\n## Caution\nBe sure to check the console(Ctrl + Shift + U)(\"OUTPUT -> ftp-simple\") for a response to the all action.\t\n                                     \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \n \n## Startup Settings\n1. Press 'F1'  \n2. Enter 'ftp-simple' \n3. Pick 'CONFIG' \n4. Enter ftp connection information and save\n\n## Config setting example\nSee the [easy-ftp](https://www.npmjs.com/package/easy-ftp) details.\n\n* **name** - _string_\t- Display name.\n* **host** - _string_\t- server domain or ip.\n* **port** - _number_\t- (option) port (**Default:** : 21)\n* **type** - _string_\t- (option) ftp type. 'ftp' or 'sftp' (**Default:** : 'ftp'). If 'ftp' does not work, try 'ftp2'.\n* **username** - _string_\t- username for authentication.\n* **password** - _string_\t- (option) password for authentication.\n* **privateKey** - _string_\t- (option) (only sftp) String that contains a private key for either key-based or hostbased user authentication (OpenSSH format) **Default:** none\n* **passphrase** - _string_\t- (option) Use sftp 'privateKey' only. For an encrypted private key, this is the passphrase used to decrypt it. **Default:** none\n* **agent** - _string_ - (option) (only sftp) Path to ssh-agent's UNIX socket for ssh-agent-based user authentication. **Important:** Windows users: set to 'pageant' for authenticating with Pageant or (actual) path to a cygwin \"UNIX socket.\" **Default:** none\n* **agentForward** - _boolean_ - (option) (only sftp) Set to ``true`` to use OpenSSH agent forwarding (auth-agent@openssh.com) for the life of the connection. agent must also be set to use this feature. **Default:** false\n* **secure** - _boolean_ - (only ftp) Explicit FTPS over TLS, default: false\n* **secureOptions** - _object_ - (only ftp) Options for TLS, same as for `tls.connect()` in Node.js.\n* **path** - _string_\t- (option) remote root path. **Default:** '/'\n* **autosave** - _boolean_\t- (option) To determine whether the automatically uploaded when you open a file directly and modify and save. **Default:** true\n* **backup** - _string_\t- (option) The local path you want to back up before file saving on the server.\n* **confirm** - _boolean_\t- (option) Only save option. When you save the file, ask if you want to overwrite the file if it already exists.. **Default:** true\n* **project** - _object_\t- (option) Only save option. Pre-specify local workspace path and server root path to save directly without selecting a path. Overwrite unconditionally.\n* **ignore** - _array_\t- (option) Only 'Remote directory open to workspace' option. Path to be ignore. Use [glog pattern](https://en.wikipedia.org/wiki/Glob_(programming)). (**Caution** : server path (ex:`/home`) + ignore pattern (ex:`/**/node_modules`) => `/home/**/node_modules`)\n\n\n\nExample\n```json\n[\n\t{\n\t\t\"name\": \"my server1\",\n\t\t\"host\": \"127.0.0.1\",\n\t\t\"port\": 21,\n\t\t\"type\": \"ftp\",\n\t\t\"username\": \"id\",\n\t\t\"password\": \"pw\",\n\t\t\"path\" : \"/\"\n\t},\n\t{\n\t\t\"name\": \"my server1 with tls\",\n\t\t\"host\": \"127.0.0.1\",\n\t\t\"port\": 21,\n\t\t\"type\": \"ftp\",\n\t\t\"username\": \"id\",\n\t\t\"password\": \"pw\",\n\t\t\"secure\" : true,\n\t\t//\"secureOptions\" : {\"rejectUnauthorized\": false, \"secureProtocol\" :\"TLSv1_2_method\"},\n\t\t\"path\" : \"/\"\n\t},\n\t{\n\t\t\"name\": \"my server2\",\n\t\t\"host\": \"127.0.0.1\",\n\t\t\"port\": 22,\n\t\t\"type\": \"sftp\",\n\t\t\"username\": \"id\",\n\t\t\"password\": \"pw\",\n\t\t\"path\" : \"/\",\n\t\t\"autosave\" : false\n\t},\n\t{\n\t\t\"name\": \"my server3\",\n\t\t\"host\": \"127.0.0.1\",\n\t\t\"port\": 21,\n\t\t\"type\": \"sftp\",\n\t\t\"username\": \"id\",\n\t\t\"password\": \"pw\",\n\t\t\"path\" : \"/home\",\n\t\t\"confirm\" : false,\n\t\t\"backup\" : \"C:/backup\",\n\t\t\"project\" :  {\n\t\t\t\"c:/projects/project1\" : \"/home/user/project\",\n\t\t\t\"c:/projects/project2\" : {\"path\":\"/home/user/project2\", \"save\":true}  //When the \"save\" value is \"true\", save immediately without confirm\n\t\t},\n\t\t\"ignore\" : [\"/**/node_modules\", \"/**/*.class\"]\n\t},\n\t{\n\t\t\"name\": \"my server4\",\n\t\t\"host\": \"127.0.0.1\",\n\t\t\"port\": 22,\n\t\t\"type\": \"sftp\",\n\t\t\"username\": \"id\",\n\t\t\"password\": \"x\",\n\t\t\"agent\": \"/run/user/1111/keyring/ssh\",\n\t\t\"path\": \"/\",\n\t\t\"autosave\": true,\n\t\t\"confirm\": false\n\t},\n\t....\n]\n```\n\n\n## Remote Config(option)\n**\"File - Preferences - Settings\"** and type in the format shown below.\n* **ftp-simple.remote-workspace** - _string_ - (option) You can modify the local workspace path when you open a remote file. Modify this option if remote file encoding is not UTF-8.(VSCode appears to have encoding recognition bugs if the workspace path is longer.)\n* **ftp-simple.remote-workspace-load-all** - _boolean_ - (option) Indicates whether all files are loaded during initial run. If false, the sub folder ([DIR]) will load when it is clicked. **Default:** true\n\nExample\n```json\n\"ftp-simple.remote-workspace\" : \"c:/remote-workspace\",\n\"ftp-simple.remote-workspace-load-all\" : true\n```\n","readmeFilename":"README.md"}