Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 3rd, 2008, 11:50 AM
Registered User
Join Date: Apr 2008
Location: Tielt-Winge, , Belgium.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Image Upload to different domain


I have a question concerning the fileupload server control
I have a centralised CMS in which I allow people to upload their files to the server.

I would like to upload the files to the different websites of these clients in stead

How can I do this ? since asp.net does not allow files to be uploaded other than a folder on the same server ?
How can I enter a virtual directory in de saveAs method that is from a different domain.

Help is greatly appreciated


  #2 (permalink)  
Old August 3rd, 2008, 12:45 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

You can't do that. You can only save files locally or using a UNC path.

A few other options:

1. Accept the file and FTP it to the remote server

2. Accept the file and pass it the remote server by calling a web service on the remote machine.

3. Accept the file and trigger a URL on the remote server that in turn fetches the image from your machine.

Hope this helps,


Imar Spaanjaars
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
Problem in upload photo to domain server krishnamoorthymca JSP Basics 4 April 20th, 2007 12:49 AM
Problem in upload photo to domain server krishnamoorthymca Linux 0 April 4th, 2007 03:48 AM
Problem in upload photo to domain server krishnamoorthymca J2EE 0 April 4th, 2007 01:03 AM
Image upload Pallav Javascript How-To 8 October 21st, 2004 12:14 AM

All times are GMT -4. The time now is 09:20 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.