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.
Comments
Post a Comment