Can't you just issue the REST command without knowing the file size? Its not a problem for you to do so, if anything its a damn site easier.
If something went tits up, you'll just get an error back when you try. Maybe implement it as an option?
bigbras36
|