webDOMinator - Minion Scripting Language Reference

Search a Command:
<< Back to Filesystem and Shell Commands

wpost

Usage...
wpost:remote-url?GET-variables#file1;file2;...
Uses HTTP POST method to upload a list of files in the format (file1;file2;... etc.) to the remote-url and allows passage of GET-variables listed in the normal GET format "var1=value1&var2=value2&var3=...".
This applies to webDOM version 2.5.1 and above.

User Comments on wpost

Uploading Files

Written by: webDOMinator 1 year and 9 months ago

Here's an example of how to upload one or multiple files to your web server using wpost to send them to a PHP or ASP script and have the script handle processing.

Code

//Uploads my movies files to my website
wpost:http://mywebsite.com/upload.php#c:\movies\file1.mov:c:\movies\file2.mov:c:\movies\moviearchive.zip

The code above would upload file1.mov, moviearchive.zip and file2.mov from my computer to the server at mywebsite.com and use upload.php to process the file upload. It's important to know how to process the files once uploaded to your server, perhaps using php, asp.net, or perl/cgi languages on your server.

Post a Comment About the "wpost" Command
Title:
Comment:
Post as Anonymous:
User Login
Username:
Email:
Password:
webDOMinator is copyright ©2008, 2009, 2010 Nathaniel D. Gibson. All Rights Reserved.
Contact | Tutorials | Forum
By using webDOMinator you are taking all liability in to your own hands. Nathaniel D. Gibson is not responsible for any damages, loss, or defamation (legal or otherwise) caused to you or your business from using this program. Nathaniel D. Gibson is not associated with, affiliated with, nor responsible for the content submitted and displayed by users of this site.