cURL / Mailing Lists / curl-library / Single Mail

curl-library

(no subject)

From: <weather_at_lexmark.com>
Date: Mon, 24 Jan 2005 16:53:15 -0500

I have a multi function printer that hosts a web server. If I access the
URL I can enter a filename into a field, click submit the file is imported
into the printer and submitted. I have successfully (from a DOS box, and
through a VB program) exported the same file using cURL, but can't import
it.

This is the Source code on the import page:
<HTML><HEAD><META HTTP-EQUIV="Content-type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>Configuration</TITLE><LINK REL="stylesheet" HREF="/style.css"
TYPE="text/css">
<BASE HREF="http://157.184.108.41:10080"></HEAD>
<BODY >
<H1>Configuration</H1>
<FORM ACTION="/ucf/submit" enctype="multipart/form-data" METHOD="post">
<H2>Import Destination File</H2><TABLE>
<TR><TD>Import Destination File</TD><TD><input type="file"
name="input_file"><br></TD></TR></TABLE><HR SIZE=2 ALIGN=LEFT WIDTH="75%"
NOSHADE><TABLE>
<INPUT TYPE="submit" VALUE="Submit">&nbsp;&nbsp;
</FORM>
</TABLE><BR>
</BODY></HTML>

I want to enter my file name in the field labeled "Import Destination File"
so this is what I try in a DOS box.
C:\curl.exe --user UserID:password -d "name=list.rcf"
 http://157.184.108.41:10080/config/ucf/submit.html
      I also substitute "file_name=list.rcf" and "file=list.rcf" in place
of "name=list.rcf" but still don't get success. cURL responds with this:
<HTML><HEAD>
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="stylesheet" HREF="/style.css" TYPE="text/css"></HEAD>
<BODY><H2>The requested URL was not found.</H2>
</BODY></HTML>

Ideas on how I can make this work?
Received on 2005-01-24