Results 1 to 2 of 2

Thread: ftp ??

  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
    Well to find out the size of something you would use FileLen. So i would think that something like:
    Code:
    Private Sub Form_Load()
    Text1.Text = FileLen(Inet1.OpenURL("http://www.rocsoft.org/lockdown/Lockdown2000.exe", icString))
    End Sub
    I'm not sure that will work but i think you get the idea.

    Hope that helps,
    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