Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4k views
in Java FTP by (240 points)
if a file is created() ,the first time.

does the FTPFIle.created() equals FTPFile.lastModified() ?

may be the Dir's lastModified Time < File's lastModified Time ; file is belong to Dir.

so if we only judge the Dir's modified time to get the updated documents, it may be wrong.



Is it right ??

2 Answers

0 votes
by (162k points)
It is not a good idea to rely on modified times for things like this. What are you actually trying to achieve?
0 votes
by (240 points)
It is not a good idea to rely on modified times for things like this. What are you actually trying to achieve?


i wanna get the updated docs . just monitor the ftp servers. so i must get document's lastModified time.

Categories

...