Z
Z
zencd2012-09-08 20:15:54
Command line
zencd, 2012-09-08 20:15:54

How to recursively upload a directory to FTP from the console? (Not curl)

There is a solution with curl, but the server limits the number of authorizations (thousands of them), so it does not work:

find . -type f -exec curl --ftp-create-dirs -T {} -u login:password "ftp://hostname/{}" ;


It is extremely important to be able to determine whether each file was successfully uploaded.

Platform: nix shell or batch.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
theaspin, 2012-09-08
@theaspin

lftp , mirror command

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question