Click here to Skip to main content
15,888,303 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
jschell23-Feb-18 13:42
jschell23-Feb-18 13:42 
QuestionDesign and Architecture Example Pin
gowthami.gnits@gmail.com12-Feb-18 7:38
gowthami.gnits@gmail.com12-Feb-18 7:38 
AnswerRe: Design and Architecture Example Pin
Gerry Schmitz12-Feb-18 7:52
mveGerry Schmitz12-Feb-18 7:52 
AnswerRe: Design and Architecture Example Pin
jschell13-Feb-18 15:23
jschell13-Feb-18 15:23 
QuestionGetting started with Python & AI Programming Pin
abmv8-Feb-18 6:09
professionalabmv8-Feb-18 6:09 
AnswerRe: Getting started with Python & AI Programming Pin
Richard MacCutchan8-Feb-18 22:52
mveRichard MacCutchan8-Feb-18 22:52 
GeneralRe: Getting started with Python & AI Programming Pin
abmv9-Feb-18 3:02
professionalabmv9-Feb-18 3:02 
QuestionFTPing Only Changed Files Pin
Kevin Marois30-Jan-18 6:27
professionalKevin Marois30-Jan-18 6:27 
I have an app that FTP's files to clients PC's. I only want to get files that have changed since the last get.

Problem is, the file dates are all set to the Date/Time the file was FTP'd to the server.

I tried using FtpWebRequest
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("<a href="ftp://mysite.com/myfiles">ftp://mysite.com/myfiles</a>");
request.Method = WebRequestMethods.Ftp.ListDirectoryDetails;

request.Credentials = new NetworkCredential("user", "pwd");

FtpWebResponse response = (FtpWebResponse)request.GetResponse();

Stream responseStream = response.GetResponseStream();
StreamReader reader = new StreamReader(responseStream);

string names = reader.ReadToEnd();

reader.Close();
response.Close();
But this only shows the last modified date, which is the date it was uploaded to the server.

How can I tell weather or not a file has changed since the last download?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.


modified 30-Jan-18 12:37pm.

AnswerRe: FTPing Only Changed Files Pin
Eddy Vluggen8-Feb-18 8:19
professionalEddy Vluggen8-Feb-18 8:19 
AnswerRe: FTPing Only Changed Files Pin
jschell8-Feb-18 13:39
jschell8-Feb-18 13:39 
QuestionI'm looking for a cross platform rich GUI C# framework Pin
splinefx28-Jan-18 22:58
splinefx28-Jan-18 22:58 
AnswerRe: I'm looking for a cross platform rich GUI C# framework Pin
Nathan Minier29-Jan-18 1:21
professionalNathan Minier29-Jan-18 1:21 
AnswerRe: I'm looking for a cross platform rich GUI C# framework Pin
Eddy Vluggen29-Jan-18 3:04
professionalEddy Vluggen29-Jan-18 3:04 
QuestionBi-directional synchronization between multiple mysql databases Pin
Freelancers22-Jan-18 0:26
Freelancers22-Jan-18 0:26 
AnswerRe: Bi-directional synchronization between multiple mysql databases Pin
Nathan Minier22-Jan-18 1:24
professionalNathan Minier22-Jan-18 1:24 
QuestionPassing UserId To DAL Pin
Kevin Marois8-Jan-18 18:30
professionalKevin Marois8-Jan-18 18:30 
AnswerRe: Passing UserId To DAL Pin
Nathan Minier22-Jan-18 1:37
professionalNathan Minier22-Jan-18 1:37 
AnswerRe: Passing UserId To DAL Pin
Eddy Vluggen25-Jan-18 8:00
professionalEddy Vluggen25-Jan-18 8:00 
GeneralRe: Passing UserId To DAL Pin
Kevin Marois25-Jan-18 8:24
professionalKevin Marois25-Jan-18 8:24 
GeneralRe: Passing UserId To DAL Pin
Eddy Vluggen25-Jan-18 8:33
professionalEddy Vluggen25-Jan-18 8:33 
GeneralRe: Passing UserId To DAL Pin
Kevin Marois25-Jan-18 8:37
professionalKevin Marois25-Jan-18 8:37 
GeneralRe: Passing UserId To DAL Pin
Eddy Vluggen25-Jan-18 8:42
professionalEddy Vluggen25-Jan-18 8:42 
AnswerRe: Passing UserId To DAL Pin
jschell27-Jan-18 6:36
jschell27-Jan-18 6:36 
GeneralRe: Passing UserId To DAL Pin
Gerry Schmitz27-Jan-18 11:54
mveGerry Schmitz27-Jan-18 11:54 
Questionhave u solved the code? Pin
chitaranjan pradhan8-Jan-18 8:54
chitaranjan pradhan8-Jan-18 8:54 

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.