How do I get the file upload URL from POST data?