Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 339
Sue Parker Avatar asked Feb 04 '23 02:02

Sue Parker


2 Answers

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

like image 165
Amir Rezvani Avatar answered Mar 06 '23 17:03

Amir Rezvani


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
like image 40
Retiixx Avatar answered Mar 06 '23 16:03

Retiixx