Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


FilePointer READ files WSH on slow lines!

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1164
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> FilePointer READ files WSH on slow lines!
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 FilePointer READ files WSH on slow lines! - 7/22/2004 1:00:57 AM   
  maepli

 

Posts: 1
Score: 0
Joined: 7/22/2004
From:
Status: offline
Dear forum i need your help

I created a sub which copies files from a network drive to local
harddisk with packet-size of 128bytes every 100ms.

We have here some 64KBit/s lines and want to copy a big file (13MB) from the network to local workstations.

So i use my function to reduce the bandwith used for copy the files.

-> So the problem: when the transfer aborts (e. g. at 6MB), then i want to resume the transfer. I use the size of the localfile to READ-SKIP this value of bytes on the network file. If i do it like this, then every byte i do a 'skip' over the network to the source file, the network performance will use 100% (very big problem with 64KBit/s lines).

How can i set a file pointer to a specified byte in a file without reading out all the previous bytes from the file?

Please help - is it possible? WSH / VBScript.

Thank you very much
Martin
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> FilePointer READ files WSH on slow lines! Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts