question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Files are uploaded with an ID instead of a name, how do I know the name/url to list/download?

See original GitHub issue

As the topic says, the files uploaded with tus-node-server are saved on the server side using an ID as the fileName. But I need to list the files that are on the server and let the user download them (not only list the new uploads, but list all uploaded files). Is there a way to get the list of files on the server, including their name and url?

Thank you.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
kvzcommented, Aug 25, 2016

Please be careful using filenames for storage though, there’s a reason why hashes are used. More was given in a similar question in https://github.com/tus/tusd/issues/60#issuecomment-241972080

1reaction
gourdedcommented, Aug 25, 2016

Thanks a lot for the informations.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get the filename of a fileupload in a document through ...
This is so user can provide an alternate upload filename in submit request since the file upload filename is immutable. <input type="file" id="imgup1" ......
Read more >
Naming Files, Paths, and Namespaces - Win32 apps
In this article. File and Directory Names; Paths; Namespaces; Related topics. All file systems supported by Windows use the concept of files ......
Read more >
Files - monday apps framework
Any file you upload to monday.com is saved as an asset. ... This is helpful if you do not know the ID of...
Read more >
Export a list of your files in Google Drive to Google Sheets ...
In this tutorial, I'll show you how to export a list of your Drive files to a Google Sheets spreadsheet.
Read more >
webforms - Access uploaded file by ID - Drupal Answers
Can I access the file using the file ID instead of its name, for example https:// example.com/sites/default/files/webform?fileid=1502?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found