Hi,
i'm using oFTP:Directory("*.*"), but it seems it only returns the name and file size. Is there any way to also retrieve the file's date and time?
Thanks,
John.
...
if ! Empty( oWin32FindData:cFileName )
AAdd( aFiles, { oWin32FindData:cFileName,;
oWin32FindData:nSizeLow,;
oWin32FindData:nLastWriteAccess,;
oWin32FindData:nCreationTime } )
while InternetFindNextFile( hFTPDir, @cBuffer )
oWin32FindData:cBuffer = cBuffer
AAdd( aFiles, { oWin32FindData:cFileName,;
oWin32FindData:nSizeLow,;
oWin32FindData:nLastWriteAccess,;
oWin32FindData:nCreationTime } )
end
endif
...
aFtpList:=oFTP:Directory("*.*")
for n = 1 to Len( aFtpList[ 1 ][ 3 ] )
MsgInfo( Asc( SubStr( aFtpList[ 1 ][ 3 ], n, 1 ) ) )
next
aFtpList:=oFTP:Directory("*.*")
for m = 1 to Len( aFtpList )
for n = 1 to Len( aFtpList[ m ][ 3 ] )
MsgInfo( Asc( SubStr( aFtpList[ m ][ 3 ], n, 1 ) ) )
next
next
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Otto and 47 guests