Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi we're using azure blob storage but have a need to pull the file from disk to stamp it in to a PDF. Just wondering how to obtain a disk path for a given media file?
the best thing to do is to use the IFileSystem interface to access the media folder. this abstracts away the storage system underneath.
you get the media folder with :
IFileSystem fileSystem = FileSystemProviderManager.Current.GetUnderlyingFileSystemProvider("media");
and one you have that you can do most of the same things you can with System.IO. except it will happen wherever your media is stored.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted