File Upload without using input type - file
Posted on 2008-06-19
Hope someone can help with this, its how to upload a file without using the file input tag and the browse button.
What I have is an application that takes a file and uploads it, using the file type and browse and it's fine. The path is stored in a database for later use.
That later use is to take the file and move it to another server (production), so I already have the location of the file in the database, and I dont want the users to have to browse to it, rather I want to use the database location.
But there seems to be some other 'hidden' things that happen when you use the file input tag, that I cant replicate with a textbox, set to readonly.