473,322 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Server side script to allow a program to post any file to it.

Hi,

I am relatively new to ASP .NET / VB .NET. I want to be able to a
take a program I compiled and upload any type of file to a server
using POST method. I have seen many examples written for HTML web
pages but I have an .exe program that I made.

Basically what I am asking is how to setup the server side and some
help on sample code for the .aspx file.

TIA
Jun 27 '08 #1
4 977
Hi

Do you need something like this http://webdesign.ittoolbox.com/group...t-2005-1164558
A winForms app to upload files onto currently exist web pages?

Regards, Alex :: http://devkids.blogspot.com
Hi,

I am relatively new to ASP .NET / VB .NET. I want to be able to a
take a program I compiled and upload any type of file to a server
using POST method. I have seen many examples written for HTML web
pages but I have an .exe program that I made.

Basically what I am asking is how to setup the server side and some
help on sample code for the .aspx file.

TIA

Jun 27 '08 #2
No, that creates a button. What I am trying to do is use my program I
made in VB .NET to automatically upload a file(s) to a webserver
without any intervention.

Any Ideas?

On May 17, 4:27*am, Alex Meleta <amel...@gmail.comwrote:
Hi

Do you need something like thishttp://webdesign.ittoolbox.com/groups/technical-functional/asp-dotnet...
A winForms app to upload files onto currently exist web pages?

Regards, Alex ::http://devkids.blogspot.com
Hi,
I am relatively new to ASP .NET / VB .NET. *I want to be able to a
take a program I compiled and upload any type of file to a server
using POST method. *I have seen many examples written for HTML web
pages but I have an .exe program that I made.
Basically what I am asking is how to setup the server side and some
help on sample code for the .aspx file.
TIA- Hide quoted text -

- Show quoted text -
Jun 27 '08 #3
ok, then take a look at WebClient class (http://msdn.microsoft.com/en-us/libr...t(VS.80).aspx).
There are methods for using a POST (UploadFile, UploadData, UploadValues)

Regards, Alex
Jun 27 '08 #4
On May 20, 4:44*pm, Alex Meleta <amel...@gmail.comwrote:
ok, then take a look at WebClient class (http://msdn.microsoft.com/en-us/libr...t(VS.80).aspx).
There are methods for using a POST (UploadFile, UploadData, UploadValues)

Regards, Alex
Perhaps I am missing something, but my program hangs and then times
out when trying to post something using the example above. I guess I
will try to figure out why.
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Kathryn | last post by:
Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve is this - - Page loads up and some server side...
24
by: Lovely Angel | last post by:
Dear Friends Hope you doing great. I have recently shifted to a webhost which is Using Windows 2003 and IIS 6. Now my application was working fine earlier but now I am facing this problem ...
12
by: HarveyB | last post by:
I would like to generate non-modal popup windows from ASP.Net code-behind. I have tried using Client Side scripting like "function Test(){ window.open('test.htm',_blank,...
6
by: FS Liu | last post by:
Hi, In my current ATL server project, I have to parse the input in the client application's request to find out the different combination of parameters, instead of using SOAP. For this reason,...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
2
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I run a server side script? ----------------------------------------------------------------------- You...
1
by: starter08 | last post by:
Hi, I have a C++ routine(client-side) which uploads an xml file to a web server by making a socket connection and sending all the post request through that socket. On the server side I have a cgi...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.