Showing posts with label ftp. Show all posts
Showing posts with label ftp. Show all posts

Tuesday, September 5, 2017

Tutorial Installation and Configuration FTP Server in Linux Ubuntu Using ProFTPd

Tutorial Installation and Configuration FTP Server in Linux Ubuntu Using ProFTPd


ProFTPd is an application that used to transfer data or familiar called as FTP (File Transfer Protocol). By using proFTPd, we can create an FTP server that can make a server can provide facilities to upload and download from the server.

ProFTPd is easy to configure. This step-by-step installation and configuration FTP server using proFTPd.


Installation ProFTPd:
  1. Install proftpd with the following command:
    sudo apt-get install proftpd
  2. While the installation process, you are given two options to running proFTPd from inetd or standalone. If FTP traffic is large, you must choose standalone. You mus create FTP user with the following commands for edit file:
    sudo nano /etc/shells
    Then add the following code:
    /bin/false
    Then create folder/directory what you want to share using FTP, for example: /home/ShareFTP. So you must type this command to create that directory:
    sudo mkdir /home/ShareFTP
  3. Create user and password with type this command:
    sudo useradd name_user -p password_user -d /home/ShareFTP -s /bin/false
    *name_user is username for account FTP server. password_user is password of that username.
  4. Then create download and upload directory into ShareFTP with the following command:
    sudo mkdir /home/ShareFTP/download
    sudo mkdir /home/ShareFTP/upload
  5. Setting permission directory for user with the following command:
    sudo chmod 755 /home/ShareFTP
    sudo chmod 755 /home/ShareFTP/download
    sudo chmod 755 /home/ShareFTP/upload


Configuration ProFTPd:
  1. Edit configuration file /etc/proftpd/proftpd.conf using nano editor with this following way:
    sudo nano /etc/proftpd/proftpd.conf
  2. Will display the text editor of proftpd configuration, then put your cursor on the bottom line. Then add this script:
    <Anonymous /home/ShareFTP/>
    User nama_user
    Group nogroup
    UserAlias anonymous ftp
    DirFakeUser on ftp
    DirFakeGroup on ftp
    RequireValidShell off
    MaxClients 10
    DisplayLogin welcome.msg
    DisplayChdir .message
    <Directory *>
    <Limit WRITE>
    AllowAll
    </Limit>
    </Directory>
    </Anonymous>
  3. Save and restart proftpd service with the following command:
    sudo /etc/init.d/proftpd restart
  4. Configuration proFTPd has been completed. For transfer file from windows to linux server, you can run an application FileZilla, then fill with this configuration:
    hostname: alamat IP server
    username: username FTP
    password: password user FTP
    port    : 21

    or you can type ftp localhost in linux Terminal, then type username and password.


download file now

Read more »

Monday, August 7, 2017

Tutorials Uploading files with FTP and Filezilla

Tutorials Uploading files with FTP and Filezilla


FTP (or File Transfer Prorocol) is a popular way to transfer files between computers . Over the Internet.since almost very web host allows FTP access to their servers, its also a great way to upload files up to a website. this tutorial will walk you through the basics of FTP with Filezilla, an awsome (and Free!) open source FTP Client for Windows, Mac OS X, and Linux. if you dont have filezilla yet, download a free Copy here.




1. start filezilla and go to File > Site Manager.







2. Click on New Site and enter the Ftp Account details provided by Your web Host, once yourre done, click Connect ( The new site entry will be saved automatically).






3.  once Connected, youll see two panes: the left one (first image below) Shows the files on Your computer, and the right one (second image below) shows the files currently on the Web Server, using the pane on the Right, Browse to the folder to which you want to Upload Your Files.


                               
                             


4. using the left pane, select the files you want to upload and drag them over to right pane. Filezilla wil now begin uploading the files to your web host.






5. And thats it! if youre done uploading files, just click the disconnect icon close the connection to the web server.


download file now

Read more »