mgilangjanuar / teledrive

The Google Drive/OneDrive/etc alternative using Telegram API

Home Page:https://teledriveapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Already uploaded file if upload again / in a different path will show upload failed

skygunner opened this issue · comments

Describe the bug
Already uploaded file if upload again in the same path or in a different path will show upload failed;

To Reproduce
upload a file.
Upload the same file in same path or different path.

Expected behavior
If same path, show its already uploaded; Ideally compare the file hash/size/mod time etc.

If different path, use a reference to the same file previously uploaded file. When deleting file,
only the last reference deletion will actually delete the file from cloud.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.