P
P
pashaxp2014-03-20 12:47:14
linux
pashaxp, 2014-03-20 12:47:14

Proftpd - how to upload first to a temporary folder?

Does proftpd have a setting to put files in the folder where the ftp user uploads them only after the ftp server has completely received the file?
For example, an ftp user uploads the file test.txt to /home/ftpuser/ , and we tell proftpd to accept the file somewhere in /tmp/proftpd/, and only after the file is fully uploaded to /tmp/proftpd/ , proftpd conditionally does
mv /tmp/proftpd/test.txt /home/ftpuser/
Or is there another way how to get valid and downloaded files in /home/ftpuser/ at once? Since the scripts that look into this folder work on the server, and they cannot wait until the file is loaded...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
giner, 2015-02-02
@giner

There is an option in proftpd that does exactly what you need:
www.proftpd.org/docs/directives/linked/config_ref_...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question