How to install an FTP client on a Synology NAS

Written by Ingmar Verheij on April 22nd, 2012. Posted in Synology

A Synology NAS can be used as a FTP server out-of-the-box (after enabling it), but there is no FTP client installed that can be used from a interactive shell. You can install a FTP client, lftp by Alexander Lukyanov, using ipkg.

If you haven’t installed ipkg yet, please install it first (link).


Install package lftp

You can install the package lftp in with the command: ipkg install lftp

 

 

Disable certificate verification

By default lftp will check the ssl certificate of the destination. If no trusted certificate is found the command is not executed.

You can disable the certificate verification in lftp by setting an option in the ~/.lftp/rc file. This file does not exist by default, nor does the .lftp directory.

  1. Create the .lftp directory with the command : mkdir /root/.lftp
  2. Create and edit the rc file with the command : vi /root/.lftp/rc
  3. Press ‘i’ for edit mode
  4. Add the line : set ssl:verify-certificate no
  5. Exit edit mode by pressing Escape (twice)
  6. Close and save the file by pressing Z (capital z) twice)

Ingmar Verheij

At the time Ingmar wrote this article he worked for PepperByte as a Senior Consultant (up to May 2014). His work consisted of designing, migrating and troubleshooting Microsoft and Citrix infrastructures. He was working with technologies like Microsoft RDS, user environment management and (performance) monitoring. Ingmar is User Group leader of the Dutch Citrix User Group (DuCUG). RES Software named Ingmar RES Software Valued Professional in 2014.

More Posts - Website

Follow Me:
TwitterLinkedInGoogle Plus

Tags: , , ,

Comments (6)

  • Luc Lecocq
    30 January 2013 at 17:18 |

    Hi,

    Thanks for the information, installation went fine.
    Unfortunately, it seems lftp randomly restart the transfer from scratch.
    I used it to xfer 6 big files to my media server, at the end it left 4 temporary files in the destination folder.
    Overall, samba is more reliable, at least in my case

    • Ingmar Verheij
      31 January 2013 at 16:16 |

      Hi Luc,

      Thank you for sharing your experience. It’s good to share real life experience with lftp.
      Personally I haven’t had any problems with lftp but tested only with small files.

      Cheers
      Ingmar

  • 11 March 2014 at 22:23 |

    We’re a group of volunteers and opening a new scheme in our
    community. Your web site provided us with helpful information to work on.
    You’ve performed an impressive activity and our whole community will probably be thankful to you.

  • 8 April 2014 at 16:35 |

    Someone necessarily assist to make seriously
    posts I might state. This is the first time I frequented your
    website page and to this point? I surprised with the analysis you
    made to make this actual put up extraordinary. Wonderful job!

  • moz
    26 April 2014 at 20:30 |

    Good day I am so excited I found your weblog, I really found you by error,
    while I was browsing on Yahoo for something else,
    Regardless I am here now and would just
    like to say thank you for a marvelous post and a all round
    enjoyable blog (I also love the theme/design), I don’t have time to
    read it all at the minute but I have book-marked it and also added
    in your RSS feeds, so when I have time I will be back to read much more,
    Please do keep up the excellent jo.

  • 7 September 2014 at 05:47 |

    Whhat a information of un-ambiguity and preserveness off precious
    know-how concerning unexpected emotions.

Leave a comment

*

%d bloggers like this: