PDA

Click to See Complete Forum and Search --> : wininet


thedee23
Aug 16th, 2000, 05:31 PM
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.

Dim
Aug 17th, 2000, 07:13 AM
I don't know if it was you but someone asked this b4. and i think it would be something like:

Text1.Text = FileLen(Inet1.OpenURL("http:\\www.something.com\file.exe", icString))

I THINK you would use FileLen.

Hope that helps,
D!m

thedee23
Aug 17th, 2000, 08:06 AM
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.

Dim
Aug 19th, 2000, 02:31 AM
See if this (http://le-village.*******.com/freewares/man/ftp4w302.htm) site helps you.

Gl,
D!m