Raspberrypi Ftpsync Sublimetext

Remote edit files in raspberrypi

To work in your computer and sync files to the raspberry pi you can use the package FTPSync, repo here

Your config file should look similar to this one:

    "default": {

        "host": "",
        "username": "pi",  // or null for anonymous login
        "password": "raspberry",
        "path": "/home/pi/CODE/sensor-tap"

Setup FTP in raspberry pi

We can use a simple FTP server, vsftp which is really simple to setup. SSH in your rsp and from terminal apt-get the package:

$ sudo apt-get install vsftpd

After the package is installed, we need to edit the config file, I use nano:

$ sudo nano /etc/vsftpd.conf

Edit the following lines:

anonymous_enable=YES #Change To anonymous_enable=NO
#local_enable=YES #Uncomment
#write_enable=YES #Uncomment

Add the following to the config file:


To exit hold the ctrl + x, then press y, hit Return/Enter key.

Restart the FTP server:

$ sudo servce vsftpd restart

NOTE Something to note, the files and their parent directories you want to sync have to be owned by the pi user. You can chown any file or directory:

$ sudo chown -R pi /home/pi/CODE/