Getting started

This application allows the user to connect to the Google Drive services and transfer files easily using an FTP client (i.e. Filezilla). However, there will be a few things we need to set up before we can start using the application. After completing this tutorial, if you still have any doubt or suggestion you can contact us via mail to [email protected].

 

You can download our application here.

Configuring the application

First, execute the application. You shall see a window prompt, like the one on this image:

 

 

Notice the text area at the bottom of the application. This will serve as a console to show the output and status of the application. Keep track of it to be able to solve possible errors.

 

Once the application is launched, we simply need to input our user, password and the port we want to use on the text fields and press the “Validate Settings” button. We can use the default settings (User = user; Password = user; Port = 1821).

The first time we execute the program, it will open a browser so that we can login into google drive. We need to accept a few permissions there, but do not worry: your privacy is safe.

 

 

Allowing these requirements will land ourselves on a page with the confirmation message: “Received verification code. You may now close this window…”.

 

Once that’s settled down, the “Open connection” button will become available.

 

 

We can click this button to start the connection. Once we are connected, the button will be disabled and we will be able to click the “Close connection” button to stop the service. Notice that some of the icons now have colour and motion, indicating a successful connection.

 

 

Some errors may occur if we use wrong settings or if the connection cannot be performed. For instance, if we set the port to 100000 and press validate connection, we will be prompted a window like this one:

 

 

If error occurs, review your settings and try again. If your errors persist, contact us at [email protected].

 

If we close the connection (Do not do it now! We are not finished setting things up!), a confirmation message will appear at the text area at the bottom of the window.

 

 

Setting up Filezilla

If you do not have a working version of Filezilla at your system, you can obtain it here (https://filezilla-project.org/).

 

Once we have Filezilla up and running, we need to give it the settings we used in the Google Drive FTP application. We need to provide host, user, password and port as done in the following image:

 

 

Then we can click the Quickconnect and… Voilà! The contents of our Google Drive will appear on Filezilla.

 

 

However, this will only work for a quick connection and the settings will be lost the next time we run Filezilla. This can be solved by configuring a profile on filezilla. For this purpose, in Filezilla’s main window, we open the site manager, clicking at the first button of the toolbar, just like in this image:

 

 

This will prompt a new window where we can add a new site and configure it like we did before.

 

 

Once set, press the connect button. If there are no errors, you shall see your Google Drive files and folders at filezilla. The advantage of this last procedure is that, you can press the small black arrow next to the “Mysites” button to display and select your configured sites, making it a bit easier.

 

OK, now we are all set and we can start transferring files using the client.

 

Transfering files

From Filezilla, we simply need to drag files and/or folders to the right-side explorer window. We can also use the left-down-side explorer window to navigate through the files and folders in our system, and drag from left to right in order to upload them to drive. From the right-side (our Google Drive) we can also delete files by pressing the “Supr” key or doing the classical right-click and delete. Deleting a few files and uploading one to Google Drive will show something similar to this at the text area:

 

 

Great! You are now all ready to go. Keep up the good work!

 

Creating backups

In this section we are going to learn how to create backups of our files and store them into google drive by using the Google Drive FTP Adapter.

 

Linux

 

Open the search window of your system and type “backups”. You should see a result with this icon:

 

 

Depending on the status of your system you will need to install some software, as shown in a window like this one:

 

 

Once all is up and ready, click on the “Storage location” tab, where you will be shown a few text fields and selectors so that you can set up your backup location. We choose FTP as storage location, localhost as server and then we specify the port we use in the Google Drive FTP Adapter application. Regarding the folder, we could, for instance, create a folder named “backup” in our Google Drive and specify the route, like in this example.

 

 

We also need to specify the folders we want to save, for instance, let’s say a folder called “Important files”.

 

 

Once we are all set, we need to activate the automatic backup of files. Make your the Google Drive FTP Adapter application is up and running when you try to create the backup. Otherwise, it may not work.

 

 

If you carried all the prior steps correctly, you should see a new window in which you are asked to input your password in order to connect to the server. Do as it says and then press “continue”.

 

 

If all is successful you will be granted the option to require a password when restoring your backup. If you are backing up sensitive data, we strongly recommend you to password-protect your backup, but make sure you keep track of your password.

 

 

 

 

Once the backup is completed, you can use Filezilla or any other FTP client to check that the files were uploaded properly.

 

 

Congratulations! You are now able to backup your important files on Google Drive using our application on your Linux system.

 

Back to top

 

Windows/Mac

 

For these two OS, we recommend you to use Duplicati. You can read more about it in our tutorial.