piejanssens / premiumizer

Download manager for premiumize.me cloud downloads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File "already exists. Existing file will be removed."

wilki24 opened this issue · comments

Sometimes I run into errors that I suspect are caused by connection issues, and then the entire download starts over, overwriting everything that has already been downloaded.

Shouldn't there be a way to say "if the file is already there, skip it"?

Log (I've removed the filenames and URLs):

09-29 18:15:35: ERROR : The read operation timed out
09-29 18:15:35: ERROR : The read operation timed out
NoneType: None
09-29 18:15:35: INFO : Starting a new SmartDL operation.
09-29 18:15:35: INFO : One URL is loaded.
09-29 18:15:35: INFO : Downloading ''...
09-29 18:15:38: WARNING : <urlopen error [Errno 11001] getaddrinfo failed>
09-29 18:31:36: WARNING : Download: myFile stuck restarting task
09-29 18:31:41: INFO : Downloading: myFile -- id: 1qE97BwP9tZUh7Qf7n-rCw
09-29 18:31:41: INFO : Using url ""
09-29 18:31:45: WARNING : Destination "" already exists. Existing file will be removed.
09-29 18:31:45: INFO : Creating a ThreadPool of 1 thread(s).
09-29 18:31:45: INFO : Starting a new SmartDL operation.
09-29 18:31:45: INFO : One URL is loaded.
09-29 18:31:45: INFO : Downloading ''...
09-29 18:31:46: INFO : Content-Length is 2883524890 (2.69 GB).
09-29 18:31:46: INFO : Launching 1 thread (downloads 2.69 GB).
09-29 18:31:46: INFO : Downloading ''...
09-29 18:31:46: INFO : Control thread has been started.
09-29 18:40:09: INFO : File downloaded within 499.02 seconds.
09-29 18:51:46: WARNING : Download: myFile stuck restarting task
09-29 18:51:50: INFO : Downloading: myFile -- id: 1qE97BwP9tZUh7Qf7n-rCw
09-29 18:51:50: INFO : Using url ""
09-29 18:51:52: WARNING : Destination "" already exists. Existing file will be removed.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Nah, this is not stale.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Not stale

Are you use JD or Aria?
I don't see how this happens with the built in downloader as we should be skipping these already.

09-29 18:51:52: WARNING : Destination "" already exists. Existing file will be removed.

Is from pysmartdl I think, I only use JD

In deed it is pySmartDL.

You can request the author or contribute to the pySmartDL module project to make this possible: iTaybb/pySmartDL#14