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

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

node.js - Express and Redis - If session exists for this user, don't allow access -