how to install a lftp program on centOS

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












how to install a lftp program on CentOS and use it to transfer files between servers.



I used the below command but got an error as bad command.



wget http://example.com/user/filename.gz.tar









share|improve this question



















  • 1




    wget is not lftp. Also it's important to share any error messages in the question.
    – Pavel Šimerda
    Dec 29 '14 at 10:51














up vote
0
down vote

favorite
1












how to install a lftp program on CentOS and use it to transfer files between servers.



I used the below command but got an error as bad command.



wget http://example.com/user/filename.gz.tar









share|improve this question



















  • 1




    wget is not lftp. Also it's important to share any error messages in the question.
    – Pavel Šimerda
    Dec 29 '14 at 10:51












up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





how to install a lftp program on CentOS and use it to transfer files between servers.



I used the below command but got an error as bad command.



wget http://example.com/user/filename.gz.tar









share|improve this question















how to install a lftp program on CentOS and use it to transfer files between servers.



I used the below command but got an error as bad command.



wget http://example.com/user/filename.gz.tar






ftp lftp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 at 20:26









Rui F Ribeiro

38.2k1475125




38.2k1475125










asked Jun 19 '14 at 0:29









user72966

6112




6112







  • 1




    wget is not lftp. Also it's important to share any error messages in the question.
    – Pavel Šimerda
    Dec 29 '14 at 10:51












  • 1




    wget is not lftp. Also it's important to share any error messages in the question.
    – Pavel Šimerda
    Dec 29 '14 at 10:51







1




1




wget is not lftp. Also it's important to share any error messages in the question.
– Pavel Šimerda
Dec 29 '14 at 10:51




wget is not lftp. Also it's important to share any error messages in the question.
– Pavel Šimerda
Dec 29 '14 at 10:51










2 Answers
2






active

oldest

votes

















up vote
5
down vote













You can install lftp from CentOS repository:



sudo yum install lftp


The best way to learn how to transfer files is reading man lftp






share|improve this answer



























    up vote
    1
    down vote













    I would urge caution on using SFTP or FTPS if you're planning on exposing this traffic to the interent. You need to make absolutely certain that you're blocking TCP port 21 (normal, unsecured FTP), and that you disable anonymous logins over SFTP/FTPS.



    While SFTP does have its uses, it uses SSH. Make sure you're on SSH v2 if you take that route. I would recommend using FTPS (uses an SSL, and default traffic is over TCP port 443). The real advantage of FTPS is that when a file transfer is interrupted, the file transfer will resume where it left off once a connection is re-established. SFTP will work fine for small files, but if you're going to transfer files that might take hours or days, FTPS is the better solution. If an SFTP transfer is interrupted for any reason, when the connection resumes, the transfer will have to start over from the beginning.



    If your goal is to be able to transfer files internally within your own network, then learn how to use SCP (secure copy) and avoid the headache of patching LFTP as vulnerabilities are discovered.






    share|improve this answer




















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f137942%2fhow-to-install-a-lftp-program-on-centos%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      5
      down vote













      You can install lftp from CentOS repository:



      sudo yum install lftp


      The best way to learn how to transfer files is reading man lftp






      share|improve this answer
























        up vote
        5
        down vote













        You can install lftp from CentOS repository:



        sudo yum install lftp


        The best way to learn how to transfer files is reading man lftp






        share|improve this answer






















          up vote
          5
          down vote










          up vote
          5
          down vote









          You can install lftp from CentOS repository:



          sudo yum install lftp


          The best way to learn how to transfer files is reading man lftp






          share|improve this answer












          You can install lftp from CentOS repository:



          sudo yum install lftp


          The best way to learn how to transfer files is reading man lftp







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 29 '14 at 14:21









          svq

          760310




          760310






















              up vote
              1
              down vote













              I would urge caution on using SFTP or FTPS if you're planning on exposing this traffic to the interent. You need to make absolutely certain that you're blocking TCP port 21 (normal, unsecured FTP), and that you disable anonymous logins over SFTP/FTPS.



              While SFTP does have its uses, it uses SSH. Make sure you're on SSH v2 if you take that route. I would recommend using FTPS (uses an SSL, and default traffic is over TCP port 443). The real advantage of FTPS is that when a file transfer is interrupted, the file transfer will resume where it left off once a connection is re-established. SFTP will work fine for small files, but if you're going to transfer files that might take hours or days, FTPS is the better solution. If an SFTP transfer is interrupted for any reason, when the connection resumes, the transfer will have to start over from the beginning.



              If your goal is to be able to transfer files internally within your own network, then learn how to use SCP (secure copy) and avoid the headache of patching LFTP as vulnerabilities are discovered.






              share|improve this answer
























                up vote
                1
                down vote













                I would urge caution on using SFTP or FTPS if you're planning on exposing this traffic to the interent. You need to make absolutely certain that you're blocking TCP port 21 (normal, unsecured FTP), and that you disable anonymous logins over SFTP/FTPS.



                While SFTP does have its uses, it uses SSH. Make sure you're on SSH v2 if you take that route. I would recommend using FTPS (uses an SSL, and default traffic is over TCP port 443). The real advantage of FTPS is that when a file transfer is interrupted, the file transfer will resume where it left off once a connection is re-established. SFTP will work fine for small files, but if you're going to transfer files that might take hours or days, FTPS is the better solution. If an SFTP transfer is interrupted for any reason, when the connection resumes, the transfer will have to start over from the beginning.



                If your goal is to be able to transfer files internally within your own network, then learn how to use SCP (secure copy) and avoid the headache of patching LFTP as vulnerabilities are discovered.






                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  I would urge caution on using SFTP or FTPS if you're planning on exposing this traffic to the interent. You need to make absolutely certain that you're blocking TCP port 21 (normal, unsecured FTP), and that you disable anonymous logins over SFTP/FTPS.



                  While SFTP does have its uses, it uses SSH. Make sure you're on SSH v2 if you take that route. I would recommend using FTPS (uses an SSL, and default traffic is over TCP port 443). The real advantage of FTPS is that when a file transfer is interrupted, the file transfer will resume where it left off once a connection is re-established. SFTP will work fine for small files, but if you're going to transfer files that might take hours or days, FTPS is the better solution. If an SFTP transfer is interrupted for any reason, when the connection resumes, the transfer will have to start over from the beginning.



                  If your goal is to be able to transfer files internally within your own network, then learn how to use SCP (secure copy) and avoid the headache of patching LFTP as vulnerabilities are discovered.






                  share|improve this answer












                  I would urge caution on using SFTP or FTPS if you're planning on exposing this traffic to the interent. You need to make absolutely certain that you're blocking TCP port 21 (normal, unsecured FTP), and that you disable anonymous logins over SFTP/FTPS.



                  While SFTP does have its uses, it uses SSH. Make sure you're on SSH v2 if you take that route. I would recommend using FTPS (uses an SSL, and default traffic is over TCP port 443). The real advantage of FTPS is that when a file transfer is interrupted, the file transfer will resume where it left off once a connection is re-established. SFTP will work fine for small files, but if you're going to transfer files that might take hours or days, FTPS is the better solution. If an SFTP transfer is interrupted for any reason, when the connection resumes, the transfer will have to start over from the beginning.



                  If your goal is to be able to transfer files internally within your own network, then learn how to use SCP (secure copy) and avoid the headache of patching LFTP as vulnerabilities are discovered.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 27 '17 at 15:17









                  Brian

                  111




                  111



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f137942%2fhow-to-install-a-lftp-program-on-centos%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown






                      Popular posts from this blog

                      Peggy Mitchell

                      Palaiologos

                      The Forum (Inglewood, California)