How can I get information about which user has a specific file open on an Azure Files share?
so far I can only get a handlerId, but that doesn't tell me who has the file open. Is there a way to get that, like in a standard windows server share (computer management -> system tools -> Shared folders -> open files)
Unfortunately, there is no way to get 'Accessed By' information in Azure File Share by now. You can post a feedback here to progress this feature.
Related
I made an access database on my desktop with several macros. I uploaded this to a network drive and when I open it, there is a message at the top that says:
"Microsoft has blocked macros from running because the source of the file is untrusted"
There is no option to allow them.
I have done some research on this and found two solutions which did not work for me. One was to look at the file properties and unblock the file. This option does not exist for me. The second was to go into the trust center settings and enable macros. They are enabled but it still will not let me use them.
Does anyone know another solution to this?
I am looking for a way to upload files to One Drive using SSIS. I've researched and there are some third party tools like CozyRoc, KingswaySoft which provide one drive connection manager. Anyone out there who already have experience doing this? If so please share!
I found a much easier way to do this without the need of any third party software. Download one drive to your local machine and then login.
You can upload, download, delete files.To map the One Drive for Business cloud drive on Windows follow the below steps
Map network location in File Explorer (My Computer)
a. Open File Explorer (or My Computer in older Windows) and select This PC on the left side tree.
b. Click on Add Network Location button in the ribbon (or right click on empty space in File Explorer and select Add Network Location).
Map network location in File Explorer here
c. Click Next on Add Network Wizard window
d. Click to select Choose custom network location and click Next
e. Copy the URL from the address box and add Documents in the end like below example
https://<your Office365 tenant name>-my.sharepoint.com/personal/<yourrname>_company_com/Documents
Add Network Wizard window
f. Enter a name for your network location and click Next and Finish to complete the wizard.
network location name
g. You will find the mapped network location in My PC section.
Mapped Network location
Use File System Task to upload, create, delete etc.. And you're done.
Our SSIS Productivity Pack offers OneDrive Destination component which supports Create/Update/Delete data from your OneDrive. You can download the toolkit and give it a try, if you run into any problems, please feel free to let us know. We are more than happy to help!
I am trying to build a Google Chrome Extension which does the following -
1) Gets activated when someone visits my site say http://example.com
2) When someone downloads a file from my site , http://example.com, it starts monitoring that file for changes.
3) If the user edits and saves that file, it uploads the modified file back to the system.
My site is a niche document management system for a particular industry. Users dont want to downloads files, edit and then re-upload again. They want the files to be uploaded as soon as they save on their side. Its mostly for .docx, .xlsx files.
I tried to look at the Google chrome apis, but couldnt locate the appropriate ones. Any help would be useful.
Thanks!
As per your description, I believe chrome.downloads is what you want.
Use the chrome.downloads API to programmatically initiate, monitor, manipulate, and search for downloads.
To monitor, you could listen to chrome.downloads.onCreated and chrome.downloads.onChanged
I am making a chrome extension which needs to add/delete/modify file in any location in our hard drive. The location can be temporary folder. How is it possible to make it. Please give comments and helpful links which can lead to me have this work done.
You can not, but adding a local server (nodejs/deno/cs-script/go/python/lua/..) to have a fixed logic (security) to do file stuff and providing a http server to answer back in an ajax/jsonp request would work.
The extension will not be able to install the software part.
edit: if you want to get started using nodejs, this could help
edit2: With File and Directory Entries API (this could help) you can get hold of a FILE OR complete FOLDER (getDirectory(), showDirectoryPicker()).
Thankfully, this is impossible.
Google or any other company wouldn't have many friend if their extension(s') installation caused compromise including complete control over any files(ie. control over machine) on your hard drive. The extension can save information to disk in a location that is available for storing local information as mentioned. You will not have any execute permission on the root or anywhere nor will you have any read or write permission outside of the storage location.
However, extensions can still be malicious if they gather information from a user of a web page (I am sure that Google can filter some suspicious extensions).
If you really need to make changes on your hard drive you can store information on a server and poll for changes with a windows client application or perhaps you can find where the storage information is kept and access it from there from a windows app.
I am writing a small web site for a company Intranet and have the following question that may be simple. Is it possible to open an Excel file from it's current location on the network instead of downloading it. So that any changes made are made to the actual file and not a downloaded version of it?
Thanks
Matt
Yes, it's possible, but then you would have to specify the address of the file in the local network, not as an HTTP address on the web server.
The user would naturally need to have access to the file on the network share, with write permission.
No. It is not possible to open a remote excel file across HTTP and write changes back to it.
Let's consider some other things you might be trying to do.
If you are running excel, all you can open are files visible to the file system APIs. That means files on your local disk and network file systems accessible via CIFS. Mapped drive letters, \\ pathnames, that sort of thing.
If you set up an Excel file for download from a web server, it will always be downloaded. Excel won't open it 'in place'.
The Microsoft technology solution that addresses what you seem to be asking for is Sharepoint.
Anything you open from a HTTP connection I believe is "downloaded" to the client. Its more how you "uploade" the changes.
But if thats what the customer wants I have some alternatives:
1) Use Dropbox or similar filesharing utils. Once someone saves a document in Dropbox, its automatically uploaded to the Dropbox account. The free version allows up to 2 GB of data. Thats quite a few Excel files.
2) Use Gmail/Google Apps. If you do you get 1 GB space for online documents. You can upload Office files suchs as Excel and they will be converted an online editable from within the Google Docs. You can share the files within the domain or even externally if you make that setting the admin part. Afterwards you can also download/export the Spreadsheet as Excel format. I havent tested how much of the standards you loose but ofcause its not a full Excel.
3) wait for Microsoft to finish their Office online. I bet that Excel version will do exactly what you are currently asking for by using some special plugin or MSIE9 technics. But I dont really know yet.
Hope some of this gave you some ideas?
If the file is in a network share on the same domain (or reachable from the domain your app is running from), it is possible, provided that
The share is readable and writeable by the domain\user the app runs under (via ownership or assigned role.)
The file is shareable (IIRC). This is important if multiple users (or apps) need to access it.
Other than that, a \domain\location path should be treatable just like a local (or disk mounted) path.
In your HTML document, create/place a link:
<a href='file:///H:/docs/foo/bar.xls'>Your Excel File</a>
Substitite your network UNC path for H:/docs/foo/bar.xls. Note the slashes instead of the regular UNC backslashes.