On Sep 3, 2014, at 3:26 AM, Mohammad Alam wrote:

> I want to upload a file on HTTP server but have a filepath and does not want 
> to use input file type element.
> Does is it possible to upload a file without showing a file selection dialog 
> or without doing drag/drop.

If you're asking whether this is possible in a web browser, then no, access to 
arbitrary files on the user's machine without the user's input is not a feature 
of web browsers; it would be a security problem.

I think Java applets are able to do that, however, so if you need that 
functionality, you could write a Java applet and embed it into your web page. 
The user will get a prompt asking whether they want to allow Java to access 
their files.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/6D6D5C4F-9C08-43F5-8843-39E48A62D593%40ryandesign.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to