Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

webbot and passing variables

Status
Not open for further replies.

Ouch

Programmer
Jul 17, 2001
159
GB
i am tring to use the fp webot to upload a file

i want to pass it a dynamic variable where u-file="_private/form_results.csv" i want to give it a path



can anyone help

<form method=&quot;POST&quot; enctype=&quot;multipart/form-data&quot; action=&quot;--WEBBOT-SELF--&quot; onSubmit=&quot;&quot;>
<!--webbot bot=&quot;FileUpload&quot; u-file=&quot;_private/form_results.csv&quot; s-format=&quot;TEXT/CSV&quot; s-label-fields=&quot;TRUE&quot; startspan --><input TYPE=&quot;hidden&quot; NAME=&quot;VTI-GROUP&quot; VALUE=&quot;0&quot;><input TYPE=&quot;hidden&quot; NAME=&quot;_charset_&quot; VALUE=&quot;windows-1252&quot;><!--webbot bot=&quot;FileUpload&quot; endspan i-checksum=&quot;58985&quot; --><p>
<input type=&quot;file&quot; name=&quot;F1&quot; size=&quot;20&quot;><input type=&quot;submit&quot; value=&quot;Submit&quot; name=&quot;B1&quot;><input type=&quot;reset&quot; value=&quot;Reset&quot; name=&quot;B2&quot;></p>
</form>
 
for security reasons, you cannot set the value of a type=file input.

=========================================================
while (!succeed) try();
-jeff
 
you might be able to just use a type=text input called &quot;F1&quot; if the webbot just needs to know the file path...

=========================================================
while (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top