The native’s clients ftp linux are old and mostly don’t accept directories recursive transfer automatically.
So, if we need transfer files and directories using ftp protocol automatically we need to use other tools like ncftp.

Ncft is a modern ftp client with a lot of features but essentially it can transfer directories recursively without problems

On Debian systems, we can install it using:

apt update; apt install ncftp

Using ncftp
ncftp have a lot of features but we need to use it for transfer automatically files and directories:

ncftpput -R -v -u “user” ftp.remote /remote/path/for/upload /local/folder/for/copy/to

I hope that this can be helpful for you.

Leave a Reply

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.