A lot of websites let you upload either from a file on your hard drive
or from a link on the web.
Most of the time this is done by having two different inputs: One for
a file and the other for a URL.

If there were some type of input like "upload' which will allow for
any complete input.
Something like
file:///home/eitan/file_to_upload.pdf
or
http://example.com/file.pdf
or
ftp://user:[email protected]/file.pdf

It would then be the server's job to fetch the file unless the user
passed it a file:// scheme it which case the file would be provided by
the UI.


-- 
Eitan Adler

Reply via email to