In the options that will appear above we have to select FTP and without encryption. This is the port that google-drive-ftp-adapter configures us by default. In the user section we put user and password also user. It will ask us for a series of data that will be necessary to be able to connect to Google Drive. Therefore, the next step will be to open the FTP program, which in this case will be WinSCP. It would be similar with any other option. For example in our case we have decided to use WinSCP, which works very well. This tool that we have installed automates the entire process. This is essential to really link the account and be able to access the content that we already have saved or be able to upload new files that we want to the platform.įrom that moment on we will have Google Drive configured to work as an FTP client. Must log in in Drive with our username and password. We will have to give it to accept, since otherwise it could block the program and not work correctly. What’s more, Windows Defender, Microsoft’s antivirus, will send us a message to allow us to use this application. We have to give the necessary permissions so that it can work properly. When we have run google-drive-ftp-adapter, it will ask us to link it to our account. It is something that can happen, but it is easily solved just by rerunning it a second time. * Note: when we executed it for the first time this file gave an error indicating that it could not be read correctly. This is what allows you to configure Drive as a CDN. Inside there we must execute the jar file that we will see in order to start the program.Īdditionally, we will also see that there is a tool called PoweredBy.Cloud. It is right there where we have to enter. One of them is google-drive-ftp-adapter-master. Once we have downloaded the ZIP file from GitHub and unzip it on the computer, we will see that there are different folders. This, as we will see, will give a series of possibilities to users who have accounts in this popular Google service. Within the information we will see that the mission of this program is to be able to use the FTP protocol through Google Drive. In GitHub we will see all the information regarding google-drive-ftp-adapter, as well as the button to download the ZIP file that contains what the program itself is and all the content that we are going to have to download on our computer and run later. ![]() Of course, it is necessary to have Java previously installed on the computer for it to work correctly. It’s a free software, open source, and that we can download from GitHub. The first thing we have to do is download the google-drive-ftp-adapter program to our computer. We will have to download it on our computer, configure it and start using it with our user to be able to upload or download files. We are going to refer to google-drive-ftp-adapter, which is the application necessary to achieve our goal. Steps to use Google Drive as an FTP serverĪfter having briefly explained what the FTP protocol is, how the client and the server act, we are going to explain how we can use Google Drive for it. Next, type the following commands pressing Enter after each one.Ĭd s3fs-fuse sudo. You will get message “Checking connectivity… done.”ġ1. Next, type sudo git clone and press Enter. Now, type sudo apt-get install automake autotools-dev fuse g++ git libcurl4-gnutls-dev libfuse-dev libssl-dev libxml2-dev make pkg-config type Y and hit Enter once prompted. Wait a minute for the installation process to complete.ġ0. Then type sudo apt-get update and press enter. Type Y and hit Enter once prompted. Wait a minute for installation process to complete.ĩ. ![]() Then type sudo service sshd restart and press enter.Ĩ. Scroll down to find PasswordAuthentication no and replace it with PasswordAuthentication yes. Press Ctrl-O to write out the changes, press Enter and Ctrl-X to exit editing sshd_config.ħ. ![]() Next, type sudo nano /etc/ssh/sshd_config and press enter.Ħ. Type echo “s3” | sudo tee -a /etc/erlist and press enter.ĥ. Once done, press Ctrl-O to write out the changes, hit Enter and Ctrl-X to exit editing nfĤ. Write_enable=YES chroot_local_user=YES user_sub_token=$USER local_root=/home/$USER pasv_min_port=40000 pasv_max_port=50000 listen_port=45000 userlist_enable=YES userlist_file=/etc/erlist userlist_deny=NO Scroll down to the end if the file and copy-paste the following lines into it. Confirm that the information is correct by typing Y and then press Enter.ģ. Press Enter several times when prompted for the user details. ![]() Write down the password, you will need it later. Then, type any password and press Enter. Retype the password and press Enter again. Type sudo apt-get install vsftpd and press Enter. TIP: You can copy (Ctrl-C) and paste them into the terminal windows with right-mouse button.ġ. Enter this commands in exact order as shown below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |