Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: webbatch copying files
Are there WebBatch functions to help me with this?
Step 2 says to use the WebParamBuf command to get the contents of the file into a binary buffer. (When I do this I get the filename into the buffer and not the file contents itself.)
What am I doing wrong. Is the WebParamBuf only for form variables? How do I get the contents of the file into the WebParamBuf or is there another command? Thanks
I would suggest first making a simple HTML page using a form template like below.
Then make it work so you can upload a file.
Then go back to the method you are trying to use now.
<form enctype="multipart/form-data" method="post" action="/webcgi/webbatch.exe?yourscript.web"> <input type=file name="upl-file" size=80> <input type=text size=40 maxlength=40 name="desc"> <input type="radio" name="another" value="yes"> <input type="radio" name="another" value="no" checked> <input type=submit value="Upload Now"> </form>
Article ID: W12473
Filename: Copy Files using Webbatch.txt
File Created: 2017:07:28:12:58:11
Last Updated: 2001:01:25:12:38:22