c# - Upload file to server that is open -


so i'm using webclient upload file server. works great except 1 problem. if file opened program not upload. instance, if it's word document that's been saved still opened word fails upload. there way force read whatever there , upload it?

if understand question right can use this solution test if file open , close if is. it's useful helper class i've used in past.

https://stackoverflow.com/a/1247326/4612655


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -