If you are uploading from the broswer using an HTML form with a file input control (<input type="file">) you cannot pre-set the file path. This is a browser limitation which has nothing to do with FileUp. For security reasons, in order to prevent a malicious user from programmatically uploading a file from a user's system without their consent, the browsers require the user to explicitly browse and select the file. Because FileUp is a server-side control that processes the request, it is not capable of changing how the request is originally formed on the client.
The only way to programmatically send a predetermined file from a client machine to FileUp, is to use an intelligent http client that circumvents the use of the browser in forming the request. SoftArtisans offers two such clients, XFile (an active-xcontrol) and JFile (a java applet). Both have visual and non-visual upload components that load in the browser for user-guided or invisible/automatic uploads. These products are included in FileUp Professional Edition, or may be purchased separately. For specific technical information, please see the documentation for each product.
XFile Documentation:
http://support.softartisans.com/docs/XFile/default.asp
JFile Documentation:
http://support.softartisans.com/docs/XFile/default.asp
|