How to use ftp.simple in VSCode

前端 未结 3 1566
情话喂你
情话喂你 2020-12-11 05:22

I have installed ftp.simple, watched the YouTube video, created a SFTP config for a remote server in the ftp-simple-temp-json, and run the command: Open the file directly fr

相关标签:
3条回答
  • 2020-12-11 05:59

    after installing ftp-simple from extensions

    1- check your internet connection.

    2- restart VS CODE.

    3- cmd + shift + p --> type: ftp-simple:Config --> Enter

    4- you can see ftp-simple-temp.json file change it like so

    [
        {
            "name": "Sample-Name",
            "host": "Sample-Host",
            "port": 21,
            "type": "ftp",
            "username": "Your FTP USERNAME",
            "password": "Your FTP PASSWORD",
            "path": "/",
            "autosave": true,
            "confirm": true
        }
    ]
    

    ---> save then hit enter.

    5- a little bar at the top of the window shows up with "Sample-Name" given above --> hit enter

    6- wait a moment (depending on your internet connection speed) then another little bar pops up with a directory of your FTP server and just hit enter to see the entire project folder.

    you should be fine...

    0 讨论(0)
  • 2020-12-11 06:01

    You can check the logs to see if an error occurred.

    %appdata%/Code/logs/[Date]/renderer1.log
    

    I found the error I had using this file.

    My versions:

    • VSCode 1.27.2 (64 bits)
    • ftp-simple 0.6.7
    0 讨论(0)
  • 2020-12-11 06:21
    1. Press F1, in the input type ftp-simple
    2. Click on the ftp-simple:Config then a file will be open
    3. fill the file with true information like below and save it:
        {
            "name": "any given name",
            "host": "given ftp address",
            "port": 21,
            "type": "ftp",
            "username": "given username",
            "password": "given password",
            "path": "/",
            "autosave": true,
            "confirm": true
        }
    
    1. Press F1 again and type ftp-simple and click on ftp-simple:Open then your chosen name in a little bar will be show up on top
    2. click on chosen name on the top bar and go to directory you want
    3. if after doing this nothing happened or in the 4th step nothing show up to you then go to log file directory: a address like below

    C:\Users\username\AppData\Roaming\Code\logs

    and find out what is the problem.

    0 讨论(0)
提交回复
热议问题