Answer the question
In order to leave comments, you need to log in
How to add files already uploaded to the server to the database?
Task: organize the addition of pre-loaded files to the server (AppData / Upload) in the database.
Can you tell me what can be used for this? I got acquainted with mvc not so long ago and have not yet figured out how to work with files on the server, but I can’t find literature specifically on this issue.
Answer the question
In order to leave comments, you need to log in
Try using FileSystemWatcher . Subscribe to the file add event, and then add it (name ?) to the database.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question