I'm not a newbie but I'm stumped ... how on earth do I get a file URL having given the user the opportunity to browse?
I don't want to upload the file, I just want the full URL of the file.
I thought I could do it by creating a custom element and using the 'file' input type, but without going through the file.upload module. I was wrong. Using this method I can get the file name, file size, MIME file type, which is all very useful but I really need the full URL.
Any ideas?
Steve
Doh!
I'm an idiot. Of course, the nature of the web means that the server couldn't and shouldn't have the URL of a file but should get the whole file instead.
This does present issues when uploading huge files -- like audio and video -- but that's not a problem for me and there are solutions.
Steve Turnbull
(I did consider deleting my original post ... but just in case someone had started thinking about it, stop! It's not an issue. Possibly where I left my brain is.)