|
-
Mar 9th, 2002, 10:04 PM
#1
Thread Starter
Hyperactive Member
upload script
anyone know how to upload through a command line...
example of upload script: http://webserver.com/cgi-bin/upload.pl
i would like to upload c:\test.txt... I tried: http://webserver.com/cgi-bin/upload.pl?c:\test.txt .... it doesn't work..
It says Wrong or missing form 'action' field. The action field is the local filename to upload...
any ideas?
thank you
-
Mar 9th, 2002, 10:06 PM
#2
The picture isn't missing
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Mar 10th, 2002, 10:22 AM
#3
Thread Starter
Hyperactive Member
How about this...
I have an upload.htm webpage. It has one text field (upfile) and two buttons (browse and submit)
upload.htm:
<form method="POST" enctype="multipart/form-data" action="/cgi-bin/upload.pl">
<input type=hidden name="action" value="Upload">
.
.
.
<td><input type=file name="upfile"></td>
<td><input type=submit value="Submit"></td>
is it possible make a program that:
1- opens a webpage (form)
2- fills in the upfile field with (c:\test.txt)
3- submits the form
Is this possible?
thanks
-
Mar 10th, 2002, 10:47 AM
#4
Thread Starter
Hyperactive Member
How about converting the upload.html file into VB code?
Is it possible?
thanks
-
Mar 10th, 2002, 02:02 PM
#5
The picture isn't missing
try 'action=Upload&upfile=C:\test.txt'
Remember, if someone's post was not helpful, you can always rate their post negatively  .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|