G
google.com
Hi !
I would like to upload files to a Webserver, but the problem is that
the server only accepts uploads via FORM. The form looks like this:
<form action="upload.asp?
action=upload&type=product&item=pic1&element=&id=3170&w=1000&h=1000&maxw=200&maxh=5000"
method="post" name="upload" enctype="multipart/form-data">
<input type="hidden" name="type" value="product">
<input type="hidden" name="item" value="pic1">
<input type="hidden" name="element" value="">
<input type="hidden" name="id" value="3170">
<input type="hidden" name="w" value="1000">
<input type="hidden" name="h" value="1000">
<input type="file" name="picture" size="28">
<input type="submit" value=" upload "">
</form>
So my question is, how do I create a sub in vba/excel, which looks
like this:
public sub UploadFile( FileToUpload as string)
The sub should read the file FileToUpload, and post it on the
webserver using the form.
Any help appreciated, because I have to upload 1000+ files 8-()
/hco
I would like to upload files to a Webserver, but the problem is that
the server only accepts uploads via FORM. The form looks like this:
<form action="upload.asp?
action=upload&type=product&item=pic1&element=&id=3170&w=1000&h=1000&maxw=200&maxh=5000"
method="post" name="upload" enctype="multipart/form-data">
<input type="hidden" name="type" value="product">
<input type="hidden" name="item" value="pic1">
<input type="hidden" name="element" value="">
<input type="hidden" name="id" value="3170">
<input type="hidden" name="w" value="1000">
<input type="hidden" name="h" value="1000">
<input type="file" name="picture" size="28">
<input type="submit" value=" upload "">
</form>
So my question is, how do I create a sub in vba/excel, which looks
like this:
public sub UploadFile( FileToUpload as string)
The sub should read the file FileToUpload, and post it on the
webserver using the form.
Any help appreciated, because I have to upload 1000+ files 8-()
/hco