I have created a web application that allows the user to upload a file to the server. This works, but I also want to be able to use this from a application form. Could anyone please tell me how this can be done? Point me in the right direction
Below is my working code for my aspx page
[code=asp]
<form id="form1" onsubmit="retur n Validate( this )" name="form1" method="post"
action="http://test/upload.dll" enctype="multip art/form-data">
<input type="hidden" name="accesstok en" value="fdsgsdfD GFdsfsd" />
<input type="hidden" name="username" value="arnmob" />
<input type="hidden" name="password" value="123" />
<b>Upload File: </b>
<input type="file" id="file" name="file" />
<input type="submit" name="Submit" value="Upload" />
</form>[/code]
Below is my working code for my aspx page
[code=asp]
<form id="form1" onsubmit="retur n Validate( this )" name="form1" method="post"
action="http://test/upload.dll" enctype="multip art/form-data">
<input type="hidden" name="accesstok en" value="fdsgsdfD GFdsfsd" />
<input type="hidden" name="username" value="arnmob" />
<input type="hidden" name="password" value="123" />
<b>Upload File: </b>
<input type="file" id="file" name="file" />
<input type="submit" name="Submit" value="Upload" />
</form>[/code]
Comment