putdotio / putio-sync

Command-line program to sync a folder between put.io and your computer.
https://put.io
MIT License
54 stars 9 forks source link

Setting to 'delete' file from the web after a successful sync #30

Closed ammadz closed 7 years ago

igungor commented 7 years ago

Do you mean actually delete the file from your computer or from Put.io?

ammadz commented 7 years ago

from Put.io. Would be good have that as an option, right?

igungor commented 7 years ago

I agree, but I'm not sure if it should be file basis or for all files. I'll think about it. What do you think of setting an option to 'delete remote files after download' in settings?

ammadz commented 7 years ago

Great! That's exactly what I wanted. Tks

igungor commented 7 years ago

@tolgaakyuz can you add an option to the settings dialog to delete remote files?

"Delete original file" with a hint of "After a successful download" in the settings dialog would be nice.

The field the web ui should send is "delete-remotefile" to the config handler, along with the original config you send.

bellwethr commented 7 years ago

Is this functionality supposed to be working? Syncing appears to work, but I don't see files consistently deleted.

cenkalti commented 7 years ago

Files should be deleted from put.io, after files are downloaded to computer if the checkbox is checked on settings page. @bellwethr, is this the behavior that you expect?

bellwethr commented 7 years ago

That's the behavior I expect, but not what I see in practice. All of the files in question are typically in subdirectories under the download directory -- I wonder if recursive deletion isn't handled?