-
I am trying to make a FTP, but have one problem. That is that when I am uploading a file I want to be able to check how big the internet copy is. I would then compare it to the Local copy, then I could work out the progress.
I tried to do this first by using :
Filesystem.FileLen(Path As String) As Long
But this only seems to work for a Local file.
Can you please help me. Thanx for any help you offer.
-
Are you using the Internet transfer control? In that case try using the GetHeader method:
Code:
Text1 = Inet1.GetHeader("Content-length")
Good luck!
-
-
Whats it called on the list??
U know the components list.
-
Microsoft Internet Transfer Control
-
havn't got it could you send it by any chance??
-
What version of VB do you have?