Solved

Upload File to PHP webservice

Posted on 2008-10-07
1
2,018 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 500 total points
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now