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,
Am I doing something wrong here. Uploading/saving a file via usercontrol, then trying to email the URL of that file.
Media file = new Media(mediaID);string url = file.getProperty("umbracoFile").Value.ToString();
That's giving me:
/media/CRE/10002/-1,10001,10002
Am I missing something? I was hoping for /media/CRE/10002/filename.pdf
Cheers,
Ah, this would be because the upload is failing! I'll get my coat.
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
media.getProperty("umbracoFile").Value giving half folder, half node path
Hi,
Am I doing something wrong here. Uploading/saving a file via usercontrol, then trying to email the URL of that file.
That's giving me:
/media/CRE/10002/-1,10001,10002
Am I missing something? I was hoping for /media/CRE/10002/filename.pdf
Cheers,
Ah, this would be because the upload is failing! I'll get my coat.
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.