karthik / karthik/rdrop2

Drop_delete does not find a file just after a drop_download

Open
#159 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
253
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Dear all,

I would like to delete a file after having downloaded it.
But drop_delete is telling me this is not possible.

```r
drop_download(path = temp$path_display[i], overwrite = T, dtoken = token)
load(temp$name[i])

drop_upload(file = temp$name[i], path = "1.6_module3poches/Sauvegarde", dtoken = token)
drop_delete(temp$path_display[i], dtoken = token)

```

I obtain this kind of message :

```
Warning: Error in drop_delete: File not found on current path
Stack trace (innermost first):
57: drop_delete
56: observerFunc [ ... server.R#30]
1: shiny::runApp
ERROR: [on_request_read] connection reset by peer

```

Regards

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported sequence of drop_download, load, drop_upload, and drop_delete, beginning at server.R#30. Read the drop_download and drop_delete entry points to determine why the downloaded file is not found on the current path. Done means the same sequence deletes the file without the reported warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.