However, when I retrieve it in code, it appears as:
Code:
dr--rw---- 1 admin data 0 Jan 1 1980 .
dr--rw---- 1 admin data 0 Jan 1 1980 ..
dr--rw---- 1 admin data 0 Sep 7 07:48 090609
dr--rw---- 1 admin data 0 Sep 8 07:38 090610
dr--rw---- 1 admin data 0 Jan 1 1980 930101
dr--rw---- 1 admin data 0 Aug 10 23:21 090513
dr--rw---- 1 admin data 0 Aug 12 07:44 090514
dr--rw---- 1 admin data 0 Aug 13 07:38 090515
dr--rw---- 1 admin data 0 Aug 14 07:47 090516
dr--rw---- 1 admin data 0 Aug 15 07:50 090517
dr--rw---- 1 admin data 0 Aug 16 07:55 090518
dr--rw---- 1 admin data 0 Aug 17 07:41 090519
dr--rw---- 1 admin data 0 Aug 18 07:42 090520
dr--rw---- 1 admin data 0 Aug 19 08:06 090521
dr--rw---- 1 admin data 0 Aug 20 07:47 090522
dr--rw---- 1 admin data 0 Aug 21 07:43 090523
dr--rw---- 1 admin data 0 Aug 22 07:58 090524
The main issue is that the complete date isn't appearing.
Notice the highlighted date in red and how how the date is from a year ago?
The whole reason for my code is that I'm trying to detect an older date than present.
I figured if I can read the directory listing like how Internet Explorer does, then I can parse the data and detect the older date.
As mentioned before, the problem is that when I progammatically read the data, it comes back without the complete date
Code:
dr--rw---- 1 admin data 0 Aug 14 07:47 090516
@Ajay. It is indeed Unix (TinyFtp), and thanks for your reply but the issue isn't parsing the data. The problem is that the data doesn't come back with what I need.
Is there another approach that I can take that will allow me to retrieve the data like I see in Internet Explorer?
ftp has two different types of directory listing commands, NLST and LIST. It could be that the api is using list and explorer is using nlst (which I think returns more info).
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.