forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Bytes transferred with HTTP Getfile?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Thu Jul 24, 2003 5:54 pm    Post subject: Bytes transferred with HTTP Getfile? Reply with quote

With the VDS Internet Suite, there is a global variable

%%ftp_bytestransferred

that you can pass to a callback function when using FTP to set a progress meter, etc.

Is there a corresponding variable for HTTP GETFILE? I tried %%http_bytestransferred, but it didn't seem to work.

There is a callback subroutine parameter for HTTP GETFILE, which leads me to believe there is some way to see how many bytes have been transferred, but I can't figure out how ....

Thanks
Back to top
View user's profile Send private message
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Thu Jul 24, 2003 6:01 pm    Post subject: Reply with quote

Found it! I looked in the example program -

%%http_progress

And it is already nicely put into a value between 0-100 to put right into the progress meter.

But is this documented anywhere? Maybe I missed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group