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,
In Umbraco 7 i used the MediaService to add a new media item using this code:
newImage.SetValue("umbracoFile", mediaName, new MemoryStream(imageBytes));
mediaName contained the orgional filename. In Umbraco 8 the filename argument is removed. How do you need to specify the filename for an upload?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How to specify filename when uploading file via Surfacecontroller?
Hi,
In Umbraco 7 i used the MediaService to add a new media item using this code:
mediaName contained the orgional filename. In Umbraco 8 the filename argument is removed. How do you need to specify the filename for an upload?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.