Click here to Skip to main content
15,887,776 members
Home / Discussions / Web Development
   

Web Development

 
QuestionGet ID and Name in Dropdownlist in Javascript Pin
.NET- India 13-Jul-09 22:58
.NET- India 13-Jul-09 22:58 
AnswerRe: Get ID and Name in Dropdownlist in Javascript Pin
Marc Firth14-Jul-09 22:09
Marc Firth14-Jul-09 22:09 
QuestionHow to fix a broken scrollbar in datagrid. Pin
smcirish13-Jul-09 5:52
smcirish13-Jul-09 5:52 
AnswerRe: How to fix a broken scrollbar in datagrid. Pin
Christian Graus13-Jul-09 7:45
protectorChristian Graus13-Jul-09 7:45 
Question2003 To 2005 Pin
Chris Maunderr13-Jul-09 2:19
Chris Maunderr13-Jul-09 2:19 
AnswerRe: 2003 To 2005 Pin
Christian Graus13-Jul-09 7:46
protectorChristian Graus13-Jul-09 7:46 
GeneralRe: 2003 To 2005 Pin
Chris Maunderr13-Jul-09 22:48
Chris Maunderr13-Jul-09 22:48 
QuestionServerside Form Posting Pin
Nic Rowan12-Jul-09 21:28
Nic Rowan12-Jul-09 21:28 
Ok, so I have this problem. We have this document management program (called Celum) that I need to upload a whole bunch of documents to. Celum provides an API but it's an html/XML interface and that's providing me with some difficulties.

In order to upload a file I create an html web page as follows:

<html>
<head></head>
<body>
<form method="post" enctype="multipart/form-data" name="uploadForm"
action ="http://[celumserver]/api/upload.api">
	Username: <br><input type="text" size="20" maxlength="20" name="username"><br>
	Password: <br><input type="password" size="20" maxlength="20" name="password"><br>
	TargetFolderID: <br><input type="imput" size="10" maxlength="10" name="folderId"><br>
	Choose a file:	<br><input type="file" size="40" name="document"><br>
	<input type="submit" value="Upload">
</form>
</body>
</html>


And that works fine... for one file... with user intervention.

Does anyone have any idea on how I can automate this? I've never done anythign along these lines and I'm stumped. One of the problems I have is the upload file gets attached as a file in an htmlfilecollection (because of the enctype="multipart/form-data") and I'm not 100% sure on how to do this programatically. At some point I'm also going to have to attach a second XML file with metadata but it should be the same idea as the first file.

Thanks very much!

Nick



Dad always thought laughter was the best medicine, which I guess is why several of us died of tuberculosis.

I can picture in my mind a world without war, a world without hate. And I can picture us attacking that world, because they'd never expect it.




AnswerRe: Serverside Form Posting Pin
Marc Firth13-Jul-09 21:54
Marc Firth13-Jul-09 21:54 
QuestionClassic ASP and 'AJAX', and a database update Pin
AaronM_NZ12-Jul-09 15:22
AaronM_NZ12-Jul-09 15:22 
Question[Message Deleted] Pin
RichardBlank11-Jul-09 7:29
RichardBlank11-Jul-09 7:29 
AnswerRe: Work and play in Costa Rica? Pin
Christian Graus12-Jul-09 4:52
protectorChristian Graus12-Jul-09 4:52 
QuestionDisplay the contents in all resolution Pin
yesu prakash10-Jul-09 19:29
yesu prakash10-Jul-09 19:29 
AnswerRe: Display the contents in all resolution Pin
Christian Graus11-Jul-09 4:01
protectorChristian Graus11-Jul-09 4:01 
QuestionNeed help submitting values to Active Directory - Novice level Pin
kouts10-Jul-09 9:58
kouts10-Jul-09 9:58 
Questionauthentification Pin
bhs200810-Jul-09 3:03
bhs200810-Jul-09 3:03 
AnswerRe: authentification Pin
CoderForEver10-Jul-09 8:12
CoderForEver10-Jul-09 8:12 
Questioncannot get nav menu to be top layer Pin
elfwitch9-Jul-09 7:17
elfwitch9-Jul-09 7:17 
AnswerRe: cannot get nav menu to be top layer Pin
Marc Firth9-Jul-09 22:16
Marc Firth9-Jul-09 22:16 
AnswerRe: cannot get nav menu to be top layer Pin
DoctorMick10-Jul-09 0:11
DoctorMick10-Jul-09 0:11 
QuestionBHO - Unable to upload file through IE8 Pin
Kevin Heathfield9-Jul-09 3:56
Kevin Heathfield9-Jul-09 3:56 
AnswerRe: BHO - Unable to upload file through IE8 Pin
Marc Firth9-Jul-09 22:22
Marc Firth9-Jul-09 22:22 
AnswerThis address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection : Firefox Port Problem Pin
Nilesh Thakkar9-Jul-09 0:57
Nilesh Thakkar9-Jul-09 0:57 
QuestionCan not connect to sql server database from web application(Configured in IIS) Pin
Hemant Thaker8-Jul-09 22:13
Hemant Thaker8-Jul-09 22:13 
AnswerRe: Can not connect to sql server database from web application(Configured in IIS) Pin
K03069-Jul-09 0:35
K03069-Jul-09 0:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.