S
Shawn
Hi.
I'm given a URL that takes me to a page that looks someting like this:
<html xmlns:fo="http://www.w3.org/1999/XSL/Format">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-16">
<link href="css/default.css" REL="stylesheet">
<body onLoad="document.forms[0].submit()">
<form
action="http://internal-server//login.asp?fds=File&doc=102¤t=1&seq=1"
method="post" name="form1">
<input type="hidden" name="username" style="width: 150px" value="test_user">
<input type="hidden" name="password" style="width: 150px" VALUE="test_pass">
<input type="submit" value="Login" style="width: 80px">
</form>
</body>
</html>
When the page loads it automatically logges me onto the system and then
redirects me to a file (pdf, xsl, doc etc). My problem is that I have to
download this file through my code and store it on the web server without a
user interface. Is there someone who can tell me how I can accomplish this?
Thanks,
Shawn
I'm given a URL that takes me to a page that looks someting like this:
<html xmlns:fo="http://www.w3.org/1999/XSL/Format">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-16">
<link href="css/default.css" REL="stylesheet">
<body onLoad="document.forms[0].submit()">
<form
action="http://internal-server//login.asp?fds=File&doc=102¤t=1&seq=1"
method="post" name="form1">
<input type="hidden" name="username" style="width: 150px" value="test_user">
<input type="hidden" name="password" style="width: 150px" VALUE="test_pass">
<input type="submit" value="Login" style="width: 80px">
</form>
</body>
</html>
When the page loads it automatically logges me onto the system and then
redirects me to a file (pdf, xsl, doc etc). My problem is that I have to
download this file through my code and store it on the web server without a
user interface. Is there someone who can tell me how I can accomplish this?
Thanks,
Shawn