LFTP: New to linux and want to make sure I am going to use LFTP correctly

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











up vote
0
down vote

favorite












Basically, we had a huge file dump at work and every time I try to copy it over drag and drop style it times out and i have spend a few minutes trying to figure out what/where to copy.



So I decided to setup an mget and let it run over night and it got a decent chunk of the data, but I still need to grab the remaining files.



I don't have write access to the FTP site so I can't do what I was thinking of doing of just making a copy of the folder with the data, delete the data I already copied and run mget from there. I did some digging around and found out about LFTP command.



So steps are, basically:



  • LFTP and login to ftp site

  • Folder is buried within folder structure, CD into the right spot (right?)


  • use following code:



    mirror --only-missing "/local_folder/" "/FTP_folder/"



right?



Questions:



  1. the reasons I cd into the folder is that it's a super long and
    complicated file path, if i do this, do i need to specify the ftp
    folder since i am there?

  2. is the syntax correct?

  3. I just want this to grab what isn't in the folder on my desktop
    already since I know this connection will time out with the amount
    of files there are and how big they are.

I'm just trying to figure this out before I actually run the command.



Thanks in advance!









share







New contributor




Jesse Therrien is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    0
    down vote

    favorite












    Basically, we had a huge file dump at work and every time I try to copy it over drag and drop style it times out and i have spend a few minutes trying to figure out what/where to copy.



    So I decided to setup an mget and let it run over night and it got a decent chunk of the data, but I still need to grab the remaining files.



    I don't have write access to the FTP site so I can't do what I was thinking of doing of just making a copy of the folder with the data, delete the data I already copied and run mget from there. I did some digging around and found out about LFTP command.



    So steps are, basically:



    • LFTP and login to ftp site

    • Folder is buried within folder structure, CD into the right spot (right?)


    • use following code:



      mirror --only-missing "/local_folder/" "/FTP_folder/"



    right?



    Questions:



    1. the reasons I cd into the folder is that it's a super long and
      complicated file path, if i do this, do i need to specify the ftp
      folder since i am there?

    2. is the syntax correct?

    3. I just want this to grab what isn't in the folder on my desktop
      already since I know this connection will time out with the amount
      of files there are and how big they are.

    I'm just trying to figure this out before I actually run the command.



    Thanks in advance!









    share







    New contributor




    Jesse Therrien is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Basically, we had a huge file dump at work and every time I try to copy it over drag and drop style it times out and i have spend a few minutes trying to figure out what/where to copy.



      So I decided to setup an mget and let it run over night and it got a decent chunk of the data, but I still need to grab the remaining files.



      I don't have write access to the FTP site so I can't do what I was thinking of doing of just making a copy of the folder with the data, delete the data I already copied and run mget from there. I did some digging around and found out about LFTP command.



      So steps are, basically:



      • LFTP and login to ftp site

      • Folder is buried within folder structure, CD into the right spot (right?)


      • use following code:



        mirror --only-missing "/local_folder/" "/FTP_folder/"



      right?



      Questions:



      1. the reasons I cd into the folder is that it's a super long and
        complicated file path, if i do this, do i need to specify the ftp
        folder since i am there?

      2. is the syntax correct?

      3. I just want this to grab what isn't in the folder on my desktop
        already since I know this connection will time out with the amount
        of files there are and how big they are.

      I'm just trying to figure this out before I actually run the command.



      Thanks in advance!









      share







      New contributor




      Jesse Therrien is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Basically, we had a huge file dump at work and every time I try to copy it over drag and drop style it times out and i have spend a few minutes trying to figure out what/where to copy.



      So I decided to setup an mget and let it run over night and it got a decent chunk of the data, but I still need to grab the remaining files.



      I don't have write access to the FTP site so I can't do what I was thinking of doing of just making a copy of the folder with the data, delete the data I already copied and run mget from there. I did some digging around and found out about LFTP command.



      So steps are, basically:



      • LFTP and login to ftp site

      • Folder is buried within folder structure, CD into the right spot (right?)


      • use following code:



        mirror --only-missing "/local_folder/" "/FTP_folder/"



      right?



      Questions:



      1. the reasons I cd into the folder is that it's a super long and
        complicated file path, if i do this, do i need to specify the ftp
        folder since i am there?

      2. is the syntax correct?

      3. I just want this to grab what isn't in the folder on my desktop
        already since I know this connection will time out with the amount
        of files there are and how big they are.

      I'm just trying to figure this out before I actually run the command.



      Thanks in advance!







      linux mirror lftp





      share







      New contributor




      Jesse Therrien is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Jesse Therrien is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Jesse Therrien is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 9 mins ago









      Jesse Therrien

      1




      1




      New contributor




      Jesse Therrien is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Jesse Therrien is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Jesse Therrien is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Jesse Therrien is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474651%2flftp-new-to-linux-and-want-to-make-sure-i-am-going-to-use-lftp-correctly%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Jesse Therrien is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          Jesse Therrien is a new contributor. Be nice, and check out our Code of Conduct.












          Jesse Therrien is a new contributor. Be nice, and check out our Code of Conduct.











          Jesse Therrien is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474651%2flftp-new-to-linux-and-want-to-make-sure-i-am-going-to-use-lftp-correctly%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay