Forum - File & Image Uploader

English (Global) => Requests => Completed => Topic started by: Atakartal on 30-05-2016, 10:51:22

Title: [X] Delete File After Completed Uploading
Post by: Atakartal on 30-05-2016, 10:51:22
Hi, can you make that delete files on hdd after completed uploading?
Title: Re: Delete File After Completed Uploading
Post by: z_o_o_m on 30-05-2016, 11:29:15
No because it may delete incorrectly uploaded files which need to be reuploaded. You can setup and execute own script in Settings - Events if you want.
Title: Re: Delete File After Completed Uploading
Post by: Atakartal on 30-05-2016, 12:40:37
How do i make this script will can delete? Have any example script?
Title: Re: Delete File After Completed Uploading
Post by: z_o_o_m on 30-05-2016, 15:45:34
I don't have any examples. You can execute any program or (.bat script) which then can delete such file.
Title: Re: Delete File After Completed Uploading
Post by: venantius on 18-08-2016, 10:14:42
How do i make this script will can delete? Have any example script?

windows os isn't easy to use when you dealing with automation. you need create own application.
knowledge of language programming is required which means you also have to install other applications needed.

but in linux os, you don't need create or installing application to implement what you want.
all the necessary components have been provided since you finish installing the os.

create a bash script:
tailing (using tail) and maybe selecting pattern (using grep) the last log file of zoom file uploader to see what the files/directory which are already uploaded. then using tailing and grep output, search for files or directory then delete it.

find /path-to-files/$filename -type f -delete
or
find  /path-to-directory/$directoryname -type f -delete

for automatic search and delete already uploaded file/directory you can set cronjob

NB: zoom file uploader also works well on linux through wine.


Title: Re: [X] Delete File After Completed Uploading
Post by: nicenero on 24-09-2017, 09:53:30
can you please post the "delete-script" or send it to me? i have tryed it many times and with your strategy but I canĀ“t get it to work.

big thx in advance
Title: Re: Delete File After Completed Uploading
Post by: z_o_o_m on 24-09-2017, 13:16:50
It is the same on Windows. You just used command line "del" command.
Title: Re: [X] Delete File After Completed Uploading
Post by: Zontir on 25-09-2017, 03:37:54
Hi, can you make that delete files on hdd after completed uploading?
It would be really great that if the upload fails this upload it will be uploaded normally, and if the program cannot upload the file it will stay on the hard disk to upload it manually.... But if the file is uploaded correctly delete it.... It would be a super cool option.

I could donate again if I had this option. :D
Title: Re: Delete File After Completed Uploading
Post by: z_o_o_m on 25-09-2017, 16:22:26
You technically can delete files after upload. There are just some serious reasons I do not offer it
- if you upload the same file multiple times, my program does not know if it was already uploaded to all sites (complicated to check whole queue etc.)
- if the file is uploaded but for whatever reason the server does not save it correctly. It is not correctly uploaded and the file would be deleted.