Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6976555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:30:44+00:00 2026-05-27T17:30:44+00:00

I am using WCF service in my application.All services are hosted as window service.

  • 0

I am using WCF service in my application.All services are hosted as window service. I have one virtual directory in IIS to save user file (may be PDF or TXT). I want to create a particular folder for each user and keep their information file in that folder. How can I create a folder and upload file to IIS via WCF?

For example: the virtual directory path is http://10.10.10.1/TempUserFolder/

I want to create a folder for UserID = 1 like http://10.10.10.1/TempFolder/UserID1/.
And then save his information file to that folder, http://10.10.10.1/TempFolder/UserID1/Info.pdf.

I got a error message URI formats are not supported when I use System.IO. Please guide me in right way. I really appreciate your help. I am using VS200

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:30:44+00:00Added an answer on May 27, 2026 at 5:30 pm

    If your windows service is on same IIS host server, you can very well use absolute path, say if http://10.10.10.1/TempFolder/ maps to c:/TempFolder/, in WCF windowsservice when recieving file create new folder in c:/TempFolder/ and store file there, and if its on different machine you can create network share and then create folder and copy files to that location.

    You can find many article on web to demonstrate how to upload file via wcf

    http://stefanoricciardi.com/2009/08/28/file-transfer-with-wcp/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Silverlight application using a WCF service hosted in IIS. I make
I have a WCF service hosted in IIS 7 using HTTPS. When I browse
I have an OData Service setup using WCF Data Services (v2) that is hosted
I have a WCF Service, hosted inside of IIS, using NHibernate for data access.
I have developed a Web service using WCF Service Application. This service application is
I have a WCF self-hosted service in a Windows Forms application. I am going
Using Visual Studio 2010, I developed a WCF service hosted on a web application
I have a WCF service hosted in IIS which takes a long time (around
I have a basic 3 tier app Presentation/Web (ASP.NET MVC) Application Services (WCF, hosted
I have a Windows Service Application in which i create WCF services in it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.