vb.net - File attributes slow -
using vb.net download files using sftp set attributes normal.
file.setattributes(downloadedfile, attr)
where attr fileattribute. later set attributes readonly
file.setattributes(downloadedfile, fileattributes.readonly)
the problem having there appears delay between file being downloaded , attributes being set os(win7). result .normal attribute doesn't set later readonly attribute does. possible wait until os has finished whatever doing? i've looked around , seen various articles changing indexing , folder used store none of these suggestions has worked. don't expect come "you need this" pointer in right direction great help.
Comments
Post a Comment