Created
November 15, 2017 20:27
-
-
Save peterstadler/fd6ed3b082f0bc602597191fc9153e17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "1.0"; | |
declare function local:upload() { | |
let $filename := request:get-uploaded-file-name('file') | |
return | |
<results> | |
<message>File {$filename} has been stored.</message> | |
</results> | |
}; | |
local:upload() |
Okay, so I got it to work--but in a very strange way. Do you have any insight? I think it's a controller/path issue, but why it works now and doesn't if I trust the controller to do what it's supposed to do is frustrating to no end: https://stackoverflow.com/questions/47182646/uploading-documents-to-a-server-using-xql-exist-db
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(untested)