Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
VB.NET
VB.NET General Discussion
Getting file size during copy operation
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Uranium-235, post: 186439, member: 76118"] I notice using using Filesystem.Filecopy, the destination becomes pre-allocted in size (in this case, copied to external hard drive) I am trying to get a timer to get the active file size being written, but that seems it might not be possible using filecopy. What I'm trying to do is get the file size directly. I know it's possible with a few other techniques but i'm trying to keep it simple here. Getting the source size, end size, and cross multiply to get the percentage written. I'm start the filecopy in an async background worker. and the file monitor as a timer, which from the beginning shows the files full size (again, system probably pre-allocates it). I'll try to do some more research on the subject. Might have to do with it being an external hard drive [/QUOTE]
Insert quotes…
Verification
Post reply
VB.NET
VB.NET General Discussion
Getting file size during copy operation
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom