Does anyone know how to get the size of a file on a server using WinInet api? I think it is something like FtpGetFileSize but I don't know the syntax.
Printable View
Does anyone know how to get the size of a file on a server using WinInet api? I think it is something like FtpGetFileSize but I don't know the syntax.
I don't know if it was you but someone asked this b4. and i think it would be something like:
I THINK you would use FileLen.Code:Text1.Text = FileLen(Inet1.OpenURL("http:\\www.something.com\file.exe", icString))
Hope that helps,
D!m
I am trying not to use the Inet control because I want to use all WinInet Api and I know there is a way to get the file size by using this. Any insight would be appreciated.
See if this site helps you.
Gl,
D!m