Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Upload File to PHP webservice

Posted on 2008-10-07
1
Medium Priority
?
2,041 Views
Last Modified: 2008-10-27
I'm trying to find how to upload a file from a Windows application to a php webservice.

Info :
PHP 5
VB.NET 3.5 or 2
0
Comment
Question by:ocsurf
1 Comment
 
LVL 2

Accepted Solution

by:
AdiF earned 2000 total points
ID: 22664983
You can have your VB.NET application establish an HTTP connection to the web server with a PHP script that checks for an HTTP POST of the file.  Example #2 shows how you would handle the processing of an incoming file within an HTTP POST request: http://ca.php.net/manual/en/features.file-upload.php

You would use System.Net.HttpWebRequest in VB.NET to encode the file contents within the HTTP POST request.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question