Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2046
  • Last Modified:

Upload File to PHP webservice

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
ocsurf
Asked:
ocsurf
1 Solution
 
AdiFCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now