LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Upload file without user interaction - VBA

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=3 170&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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How Email does not need user interaction ? Koulla Excel Discussion (Misc queries) 4 October 15th 08 02:41 PM
user interaction to select a sheet mark Excel Programming 5 May 29th 07 03:11 AM
programmatically add Outlook control for user interaction/feedback Loane Sharp[_2_] Excel Programming 0 May 13th 06 09:24 AM
Separating Business Logic from User Interaction (Userforms) chatterbox Excel Programming 0 November 24th 05 11:38 AM
Modeless form for user interaction Arne[_2_] Excel Programming 6 July 15th 03 02:22 PM


All times are GMT +1. The time now is 08:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"