Receive a file in from diferents websites

Posted on 2008-10-24
Last Modified: 2013-12-17
I have a client who will send me a xml file with some transactions made by him. I want to create
a website that will receive these files by http and save the file in the server.

How could I receive these files in page?

I tried to do this to receive the bytes by it failed.

any sugestions


byte[] bytes = Request.BinaryRead(Request.TotalBytes);

Open in new window

Question by:edwinbrrj
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5

Author Comment

ID: 22796786
these are my send.aspx file and the receive.aspx file:


Author Comment

ID: 22796822
I added the wrong send file page, this is the correct one

Author Comment

ID: 22797444
no answers...

is this question hard?
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

LVL 26

Expert Comment

by:Anurag Thakur
ID: 22797714
the following sample will show you how to upload a file to the IIS Server (the sample further updates the file to the DB)

Author Comment

ID: 22798293
thanks but I want something diferent:

I have a site has a functionality that sends a xml file to

in I need to pick up this file by http.


Accepted Solution

edwinbrrj earned 0 total points
ID: 22812371
I changed the "id" to "name" ant it worked

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
Record locking on classic ASP 3 64
How do I "share" on social sites? 2 37
Adding Rows to Grid 4 29
Why am I losing my session variable value 11 38
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

737 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