Click here to Skip to main content
15,901,035 members
Home / Discussions / C#
   

C#

 
GeneralRe: Client Server Pin
jschell9-Apr-21 14:44
jschell9-Apr-21 14:44 
AnswerRe: Client Server Pin
jschell9-Apr-21 14:49
jschell9-Apr-21 14:49 
QuestionCheck List Box Posting back to SQL Column Pin
Mike Mullins 20218-Apr-21 5:29
Mike Mullins 20218-Apr-21 5:29 
AnswerRe: Check List Box Posting back to SQL Column Pin
Mycroft Holmes8-Apr-21 12:28
professionalMycroft Holmes8-Apr-21 12:28 
GeneralRe: Check List Box Posting back to SQL Column Pin
Mike Mullins 20219-Apr-21 3:44
Mike Mullins 20219-Apr-21 3:44 
GeneralRe: Check List Box Posting back to SQL Column Pin
Mycroft Holmes9-Apr-21 12:17
professionalMycroft Holmes9-Apr-21 12:17 
QuestionNavigate to file, rename and move in mvc net core app Pin
Lmm Cams7-Apr-21 9:03
Lmm Cams7-Apr-21 9:03 
AnswerRe: Navigate to file, rename and move in mvc net core app Pin
OriginalGriff7-Apr-21 20:02
mveOriginalGriff7-Apr-21 20:02 
You definitely can't do it in C# - that runs on the Server, not the Client, so any file system interaction involves the server file system, not the client scanned data.

Having said that, you can't do it in JS either, as the browser has no access to client files systems either for security reasons!

What you would have to do is have the user upload the file to the server, then your C# renames the file, saves it locally, and if necessary sends the GUID back to the client so he can manually rename the file.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Navigate to file, rename and move in mvc net core app Pin
Lmm Cams8-Apr-21 0:25
Lmm Cams8-Apr-21 0:25 
GeneralRe: Navigate to file, rename and move in mvc net core app Pin
OriginalGriff8-Apr-21 0:40
mveOriginalGriff8-Apr-21 0:40 
GeneralRe: Navigate to file, rename and move in mvc net core app Pin
Richard Deeming8-Apr-21 2:15
mveRichard Deeming8-Apr-21 2:15 
GeneralRe: Navigate to file, rename and move in mvc net core app Pin
OriginalGriff8-Apr-21 2:28
mveOriginalGriff8-Apr-21 2:28 
GeneralRe: Navigate to file, rename and move in mvc net core app Pin
Lmm Cams8-Apr-21 8:18
Lmm Cams8-Apr-21 8:18 
GeneralRe: Navigate to file, rename and move in mvc net core app Pin
SeanChupas8-Apr-21 9:28
SeanChupas8-Apr-21 9:28 
QuestionHow to detect inconsistencies in data? Pin
Alex Dunlop7-Apr-21 7:33
Alex Dunlop7-Apr-21 7:33 
AnswerRe: How to detect inconsistencies in data? Pin
Alex Dunlop7-Apr-21 8:06
Alex Dunlop7-Apr-21 8:06 
AnswerRe: How to detect inconsistencies in data? Pin
SeanChupas7-Apr-21 8:19
SeanChupas7-Apr-21 8:19 
GeneralRe: How to detect inconsistencies in data? Pin
Alex Dunlop7-Apr-21 8:32
Alex Dunlop7-Apr-21 8:32 
AnswerRe: How to detect inconsistencies in data? Pin
Alex Dunlop8-Apr-21 9:31
Alex Dunlop8-Apr-21 9:31 
QuestionA question of microoptimization Pin
Jörgen Andersson2-Apr-21 21:51
professionalJörgen Andersson2-Apr-21 21:51 
AnswerRe: A question of microoptimization Pin
Richard MacCutchan2-Apr-21 22:32
mveRichard MacCutchan2-Apr-21 22:32 
GeneralRe: A question of microoptimization Pin
OriginalGriff3-Apr-21 0:59
mveOriginalGriff3-Apr-21 0:59 
GeneralRe: A question of microoptimization Pin
Richard MacCutchan3-Apr-21 1:05
mveRichard MacCutchan3-Apr-21 1:05 
GeneralRe: A question of microoptimization Pin
Jörgen Andersson5-Apr-21 20:15
professionalJörgen Andersson5-Apr-21 20:15 
AnswerRe: A question of microoptimization Pin
OriginalGriff3-Apr-21 1:01
mveOriginalGriff3-Apr-21 1:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.