filesystem-browser

Saving files in a Chrome App

一曲冷凌霜 提交于 2019-12-14 02:38:29
问题 Summary Normally I could download a bunch of files, but Chrome Apps won't show the download shelf when a download occurs. What would be the best way of getting around this limitation of Chrome Apps? Ideas I could go about this by creating a zip file, but this would require the user to perform an extra step of unzipping the file. I'm able to silently download the files, and so I could display a prompt to the user when the file is downloaded, but this would require the user to manually search

How can I enumerate network shares and web folders in C#?

拜拜、爱过 提交于 2019-12-01 22:10:04
问题 .Net provides us with a FolderBrowserDialog control to browse for folders. This is however a modal dialog box. I need to create a user control that I can drop onto my form. So, I have been looking at creating my own, where I need to get all local drives, mapped network drives, UNC shares and web folders (WebDAV/SharePoint). I am using Windows 7 and .Net 4.0. Local and Mapped Network Drives I can get the local drives from DriveInfo.GetDrives(). However, these are only showing me the drives

How can I enumerate network shares and web folders in C#?

这一生的挚爱 提交于 2019-12-01 19:36:42
.Net provides us with a FolderBrowserDialog control to browse for folders. This is however a modal dialog box. I need to create a user control that I can drop onto my form. So, I have been looking at creating my own, where I need to get all local drives, mapped network drives, UNC shares and web folders (WebDAV/SharePoint). I am using Windows 7 and .Net 4.0. Local and Mapped Network Drives I can get the local drives from DriveInfo.GetDrives(). However, these are only showing me the drives that are available/online. In Windows Explorer, you also see mapped network drives that are disconnected