Results 1 to 4 of 4

Thread: wininet

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    114
    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.

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    I don't know if it was you but someone asked this b4. and i think it would be something like:
    Code:
    Text1.Text = FileLen(Inet1.OpenURL("http:\\www.something.com\file.exe", icString))
    I THINK you would use FileLen.

    Hope that helps,
    D!m
    Dim

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    114

    file size

    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.

  4. #4
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    See if this site helps you.

    Gl,
    D!m
    Dim

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width