Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

visual studio code - How to use ftp.simple in VSCode

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 from FTP server, among others. Nothing happens -- no messages as sent in the video. Any ideas about what is going wrong? Is there a log file that I can look at? Thanks, Sue.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...