Results 1 to 4 of 4

Thread: Remote file size ( this is a tricky Q)

  1. #1

    Thread Starter
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Lightbulb

    Could you help me, I am trying to create a FTP program and have nearly finished. But I have hit a wall when it comes to the progress bar, I have a progress bar that takes two figures one I have put the local file size and the other I had planned to put the remote file size. The only problem is I have found is that the " Filesystem.FileLen( PathName As String ) As Long " Doesn't seem to let me get the file size of a Remote file. Have you got any Ideas on how I can get round this?
    Thank you



  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    Since you can't directly get to this file, I think the other end would need to check the size, and send it to you before it starts the download.

  3. #3

    Thread Starter
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    No Its so I can check the file as its beeing uploaded at diferant point so I can get the progress bar to work.
    you understand ?

    Like say every 3 sec. it gets the file size of the remote file then compares it to the copy of it on the local computer (which is the complete size) then it turns that into a percentage. I have it all done but the remote file size code.

  4. #4

    Thread Starter
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Red face

    Does no one know how to do this. Its just a case of ...

    DOES ANYONE KNOW IF THERE IS A REMOTE VERSION OF THIS " FileSystem.FileLen(Path As String) As Long " SO IF YOU THINK THERE IS ONE AND YOU KNOW IT PLEASE TELL ME. OR DIRECT ME TO A SITE WHICH MAY HAVE THE ANSWER.

    What FREE tools like IP Messager(UDP), Text-2-Speech + a FTP
    All this is free and source code is avalible
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

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