Reputation: 4144
I was reading RFC 1867 about Form-based File Upload in HTML section 5.7 regarding Remote files with third-party transfer but instead of specifications/implementations there is a question and suggestion.
Then I have checked RFC 2854, which obsoletes RFC 1867, but there is nothing regarding remote files.
My question is there any specification on form-based file upload in HTML and remote files? Is this possible to process/attach remote files accessing them via URLs?
What I'm looking for is that instead of "choose file"->select->open file as a file input it want to grab selected remote files (from a modal) via provided URLs to them and send same one as a file input handler. Something like Google Drive allows to attach as a file not a link to it in Gmail platform.
Upvotes: 0
Views: 250
Reputation: 943142
The HTML specifications aren't published as RFCs any more.
The current specification is HTML 5.1 2nd Edition.
It defines file inputs, but the user interface (including where files can be selected from) is an implementation detail left up to the browser.
I'm not aware of any browser that allows a file to be selected using a URL, but most will support files shared using the operating system's supported network filesystems.
It also defines url inputs which could provide the server with a URL (leaving the actual fetching of the data from that URL up to server side code).
Upvotes: 1