kennedymr2
Programmer
Would appreciate the code to get the Date/Time of a file on an FTP Server. (NOT a web page)
Dim pData As WIN32_FIND_DATA
hOpen = InternetOpen(scUserAgent, INTERNET_OPEN_TYPE_PRECONFIG, vbNullString, vbNullString, 0)
hconnect = InternetConnect(hOpen, "111.111.111.111", INTERNET_DEFAULT_FTP_PORT, "user1", "pass1", INTERNET_SERVICE_FTP,
0, 0)
hFind = FtpFindFirstFile(hconnect, "\rrr\egg.egg", pData, 0, 0)
MsgBox (hFind)
'ok to here
How do i Get the Date/Time Attributes of the File?????
ie created,lastmodified etc.....
Appreciate some help. or code.!!
Dim pData As WIN32_FIND_DATA
hOpen = InternetOpen(scUserAgent, INTERNET_OPEN_TYPE_PRECONFIG, vbNullString, vbNullString, 0)
hconnect = InternetConnect(hOpen, "111.111.111.111", INTERNET_DEFAULT_FTP_PORT, "user1", "pass1", INTERNET_SERVICE_FTP,
0, 0)
hFind = FtpFindFirstFile(hconnect, "\rrr\egg.egg", pData, 0, 0)
MsgBox (hFind)
'ok to here
How do i Get the Date/Time Attributes of the File?????
ie created,lastmodified etc.....
Appreciate some help. or code.!!