|
-
Oct 1st, 2000, 07:36 AM
#1
Thread Starter
Ex-Super Mod'rater
K, now how about a project which....
Its simply a form which you tell it a website filename and click a button then it tells you the size of the file.
I have said this because I have been asking around and it seems no-one knows how to get the size of a file which is on a website.
Even one that needs the username and password of the owner will do
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.

-
Oct 2nd, 2000, 07:53 AM
#2
Registered User
there is a way for doing it, but it sucks
Hi,
there simplest most idiot dumb way for it is downloading the whole file, then checking its size.
VERY idiotic when trying it on large files.
-
Oct 2nd, 2000, 01:09 PM
#3
Thread Starter
Ex-Super Mod'rater
No wrong answer....
No that won't work cause I need some code that will get the size of a file while it is still being uploded. Because As I have noticed when a file is uploaded it registors as if it exists even before it is fully uploaded. And in the case It stops part way though it exists as a set size which refelects how far into the download it got(when you compare it to the origanal copy on local PC).
This is what I would use the code for, to check the progress of a uploading file.
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.

-
Oct 19th, 2000, 10:18 AM
#4
Frenzied Member
Use the .getHeader
Code:
MsgBox inet.getHeader("Content-Length:")
Have Fun
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|