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

Ingmar Verheij works for PepperByte as a Senior Consultant. His work consist of designing, migrating and troubleshooting Microsoft and Citrix infrastructures. He is working with technologies like Microsoft RDS, user environment management and (performance) monitoring. Ingmar is in the steering group 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 (4)

  • Luc Lecocq
    30 January 2013 at 17:18 |


    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.


  • 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!

Leave a comment


%d bloggers like this: