Django – get file path from client pc

Issue

I work on some gov project and got task to make an opportunity to track if operator(user) uploaded file using scanner or USB drive. I find it’s possible if I could get file path before uploading it to server. Is it real in Django?

Solution

It is not possible to achieve this in Django as your server does not run on the client machine and thus doesn’t have direct access to the file system.

Answered By – uhexos

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published