From: Alex D. <ale...@gm...> - 2016-08-25 08:11:12
|
Hello, I have the following system: Ubuntu 14.04 + Proftpd-1.3.5~rc3-2.1ubuntu2. I need to execute some specific script after a file will be uploaded. But to catch only fully uploaded files I use HiddenStore + DeleteAbortedStores options. And then filter file names. My steps 1. Start upload some "big" file via FileZilla 2. Cancel the upload (in the middle of the process) Command: STOR pycharm-community-2016.1.4.exe Response: 150 Opening BINARY mode data connection for pycharm-community-2016.1.4.exe Error: File transfer aborted by user after transferring 56 229 888 bytes in 8 seconds After that I got partially uploaded file in a ftp root dir. And I see the following lines in the console 2016-08-24 23:48:19,235 asaap proftpd[17804] asaap (93.76.xxx.xxx[93.76.xxx.xxx]): HiddenStore: complex path, will rename /var/data/.in.pycharm-community-2016.1.4.exe. to /var/data/pycharm-community-2016.1.4.exe 2016-08-24 23:48:28,128 asaap proftpd[17804] asaap (93.76.xxx.xxx[93.76.xxx.xxx]): Transfer completed: 56229888 bytes in 8.89 seconds So my question is - why the file in.pycharm-community-2016.1.4.exe has been renamed to the pycharm-community-2016.1.4.exe and not deleted? Did I miss something? Thanks in advance. |