Click here to Skip to main content
15,887,464 members
Home / Discussions / C#
   

C#

 
GeneralRe: what is difference between LINQ and EF Pin
NotPolitcallyCorrect14-Sep-16 5:03
NotPolitcallyCorrect14-Sep-16 5:03 
AnswerRe: what is difference between LINQ and EF Pin
Gerry Schmitz14-Sep-16 7:12
mveGerry Schmitz14-Sep-16 7:12 
AnswerRe: what is difference between LINQ and EF Pin
Super Lloyd14-Sep-16 17:59
Super Lloyd14-Sep-16 17:59 
QuestionC# Pin
xxxdson13-Sep-16 15:50
xxxdson13-Sep-16 15:50 
AnswerRe: C# Pin
Kevin Marois13-Sep-16 16:02
professionalKevin Marois13-Sep-16 16:02 
AnswerRe: C# Pin
Dave Kreskowiak14-Sep-16 2:24
mveDave Kreskowiak14-Sep-16 2:24 
QuestionDetect Network Connection Type Pin
Kevin Marois13-Sep-16 10:29
professionalKevin Marois13-Sep-16 10:29 
AnswerRe: Detect Network Connection Type Pin
rhgarner13-Sep-16 13:17
rhgarner13-Sep-16 13:17 
One way you could accomplish this would be to check the DNS resolution of the server. If it resolves to an internal address, then the client is local and would be capable of performing a direct copy.

You could also just simply try the copy, or a less intensive get directory listing using the file path in your application. If that fails, failover to ftp transfer.

Is ftp available both internally and externally? If so, it would probably be simpler to utilize it for both transfers. It seems to me that it really wouldn't matter how the file got to the server as long as it was on the server.
GeneralRe: Detect Network Connection Type Pin
Kevin Marois13-Sep-16 13:28
professionalKevin Marois13-Sep-16 13:28 
GeneralRe: Detect Network Connection Type Pin
Dave Kreskowiak13-Sep-16 14:53
mveDave Kreskowiak13-Sep-16 14:53 
GeneralRe: Detect Network Connection Type Pin
Kevin Marois13-Sep-16 14:57
professionalKevin Marois13-Sep-16 14:57 
QuestionRe: Detect Network Connection Type Pin
Eddy Vluggen13-Sep-16 21:53
professionalEddy Vluggen13-Sep-16 21:53 
AnswerRe: Detect Network Connection Type Pin
Garth J Lancaster24-Sep-16 21:57
professionalGarth J Lancaster24-Sep-16 21:57 
QuestionConvert JSON Array Objects Into Dotnet Objects Pin
MadDashCoder13-Sep-16 8:43
MadDashCoder13-Sep-16 8:43 
AnswerRe: Convert JSON Array Objects Into Dotnet Objects Pin
Pete O'Hanlon13-Sep-16 21:11
mvePete O'Hanlon13-Sep-16 21:11 
AnswerRe: Convert JSON Array Objects Into Dotnet Objects Pin
F-ES Sitecore13-Sep-16 23:13
professionalF-ES Sitecore13-Sep-16 23:13 
AnswerRe: Convert JSON Array Objects Into Dotnet Objects Pin
Midi_Mick14-Sep-16 0:46
professionalMidi_Mick14-Sep-16 0:46 
GeneralRe: Convert JSON Array Objects Into Dotnet Objects Pin
MadDashCoder14-Sep-16 3:52
MadDashCoder14-Sep-16 3:52 
AnswerRe: Convert JSON Array Objects Into Dotnet Objects Pin
Midi_Mick14-Sep-16 4:24
professionalMidi_Mick14-Sep-16 4:24 
AnswerRe: Convert JSON Array Objects Into Dotnet Objects Pin
Midi_Mick14-Sep-16 4:32
professionalMidi_Mick14-Sep-16 4:32 
GeneralRe: Convert JSON Array Objects Into Dotnet Objects Pin
MadDashCoder14-Sep-16 5:25
MadDashCoder14-Sep-16 5:25 
QuestionEF code first telling me to do the migration for db object which is already is in db Pin
Tridip Bhattacharjee12-Sep-16 22:53
professionalTridip Bhattacharjee12-Sep-16 22:53 
GeneralRe: EF code first telling me to do the migration for db object which is already is in db Pin
Nathan Minier13-Sep-16 1:37
professionalNathan Minier13-Sep-16 1:37 
GeneralRe: EF code first telling me to do the migration for db object which is already is in db Pin
Richard Deeming13-Sep-16 2:27
mveRichard Deeming13-Sep-16 2:27 
GeneralRe: EF code first telling me to do the migration for db object which is already is in db Pin
Tridip Bhattacharjee13-Sep-16 2:32
professionalTridip Bhattacharjee13-Sep-16 2:32 

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.