-
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
-
-
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
-
How about converting the upload.html file into VB code?
Is it possible?
thanks
-
try 'action=Upload&upfile=C:\test.txt'