May 04 2021
Hi, I mapped one of our SharePoint locations to a network drive, for example, Z:\
Everything is fine when I use File Explorer, I can navigate the folders, open files, that seems working well.
But when I programmatically open files using the .NET call, such as :
FileInfo f = new FileInfo( filePath ); //filePath is like Z:\abc
using (FileStream zipToOpen = new FileStream( filePath, FileMode.Open, FileAccess.Read ))
It is extremely slow. It takes 3 mins while it only takes 3 secs for handling the same number of files on another mapped drive to a regular shared folder( not SharePoint ).
It seems like the SharePoint causes the slowdown somehow. My coworkers see the same issue, as long as we use SharePoint mapped drive, it is magnitude slower than the regular mapped drive.
Anyone can help me?
Thanks a lot!