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

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -