Jump to content

Read File Partially (Range) [SOLVED]


Recommended Posts

Hi there. I'm trying to make a resumable winHttp upload.

But stuck at reading a file within byte ranges. Tried line functions (filereadline, _filecountlines) but nothing.

The file im trying to upload is a video (binary) file.

I have to read byte ranges to upload my video partially.

is there any udf like fileread($file, startingbytes, endingbytes)

any help will be appreciated :)

Edited by aNewLyfe

:alien: ~ Every Living Thing is a Code Snippet of World Application ~ :alien:

Link to comment
Share on other sites

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Link to comment
Share on other sites

Glad you found a solution that worked for you. ^_^

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...