damn..-.- okay this was to easy (thx for your solution )^^
here the version with the wininet.dll
Func _FTPGetFileSize($l_FTPSession, $s_FileName)
Local $ai_FTPGetSizeHandle = DllCall('wininet.dll', 'int', 'FtpOpenFile', 'long', $l_FTPSession, 'str', $s_FileName, 'long', 0x80000000, 'long', 0x04000002, 'long', 0)
Local $ai_FTPGetFileSize = DllCall('wininet.dll', 'int', 'FtpGetFileSize', 'long', $ai_FTPGetSizeHandle[0])
If @error OR $ai_FTPGetFileSize[0] = 0 Then
SetError(-1)
Return 0
EndIf
DllCall('wininet.dll', 'int', 'InternetCloseHandle', 'str', $l_FTPSession)
Return $ai_FTPGetFileSize[0]
EndFunc ;==> _FTPGetFileSize()
this is not my version...i don't know who wrote this so i can't mention the source(just get this from a friend)^^
so still missing the "date" function..any idea??
thx a lot
snoozer