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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -