473,772 Members | 2,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Upload files to different server

Hello

I want to upload files to a server with asp.
But the problem is that the server where my asp website stands is a
different server then where my upload files must go.

Is there a way to accomplish that.
Does anyone has an example perhaps
greetz akasha

Jan 23 '06 #1
6 4693
wrote on 23 jan 2006 in microsoft.publi c.inetserver.as p.general:
I want to upload files to a server with asp.
But the problem is that the server where my asp website stands is a
different server then where my upload files must go.

Is there a way to accomplish that.
Does anyone has an example perhaps


A strange question.
You will need some code on the destination server.

It's like:
I want to go to the market in a Rolls-Royce,
but I have only a Jaguar.

Did you consider an <iframe>?
Or perhaps a server to server connection?
[however thse do not fulfill your requirements]

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jan 23 '06 #2
With only guessing as to what's preventing you from doing it, as you didn't
indicate what it is, here are some thoughts or options:

1. Some upload components allow impersonation, and with that, you can
authenticate against a share on the other server and write files to it.

2. You could change the site/app/page from using the default IUSR_ to using
a domain account that has rights to the share on the other server.

3. You could use basic authentication on your site and give your users
rights to the share on the remote server.

4. You could run a process on the server in the background that monitors a
temporary storage directory on the local server and moves the files to the
remote server

There are actually many different things you can do, but perhaps you can
tell us what's preventing you from doing it now. Are you getting some sort
of an error with some sort of code?

Ray at work

<le*******@hotm ail.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Hello

I want to upload files to a server with asp.
But the problem is that the server where my asp website stands is a
different server then where my upload files must go.

Is there a way to accomplish that.
Does anyone has an example perhaps
greetz akasha

Jan 23 '06 #3
What kind of network link do you have between your two servers ? You could
save the file to a network share for example...
--
Patrice

<le*******@hotm ail.com> a écrit dans le message de
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Hello

I want to upload files to a server with asp.
But the problem is that the server where my asp website stands is a
different server then where my upload files must go.

Is there a way to accomplish that.
Does anyone has an example perhaps
greetz akasha

Jan 23 '06 #4
i already have a script and that works fine
but i can't upload to a network

is there a way to upload files to a network with asp

Feb 1 '06 #5
that means
my asp files are running on server A
but the files that i want to upload must go to server B

Feb 1 '06 #6
Does the files need to be on the server B instantaneously ? Or can the
information be transfered from server A to Server be x amount of times per
day. You can upload to server A (Server with code) to a folder that has
replication on it and set it to replicate to server B "x" amount of times
per day if you do not need it to be on Server "B" instantly. This way you
dont give any access to Server "B" to the users, if Server "B" must be
secure (The only reason I can think of why you want it on Server "B")

<le*******@hotm ail.com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
that means
my asp files are running on server A
but the files that i want to upload must go to server B

Feb 1 '06 #7

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

Similar topics

5
4768
by: Grace | last post by:
Hello, I want to upload the file by webpage to SQL Server. When I upload the small file, it is work. But, when I upload big file(ex. 40~50 MB), it isn't work; the Browser displays the following error message: "The webpage consulted at present is unable to use. Websites may happen the technological question or you need to adjust the browser to establish ."
2
6063
by: Tom Wells | last post by:
I have a little file upload page that I have been able to use to successfully upload files to the C: drive of LocalHost (my machine). I need to be able to upload to a network drive from the intranet server. On the line: dirs = Directory.GetDirectories(currentDir) I get "Access to the path "\\les-net\les\Special Projects\ATSPDF" is denied." How do I get the GetDirectories command to user my user ID and password when it tries to hit the...
7
3190
by: pbd22 | last post by:
hi. i am having probs understanding how to grab a file being uploaded from a remote client. i am using hidden input fields for upload such as: <input id="my_file_element" type="file" name="file_1" size=46 /><input type=submit /> so, after adding a few files, the input fields look like this:
3
22304
by: Stephan | last post by:
Hi all, I am new to access and I face the following "issue": I would like to create a database, to which users can upload files (=pdf, doc, xls...). The files shall be stored locally on a server. The database needs to be accessed via Access form (no html, asp,...) as we don't have an internal web server running. I would like to create a form that allows the user to browse his local harddrive, select the file and upload it directly...
6
3337
by: =?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes | last post by:
I have a strange problem when uploading a PDF document to a web-server. When I try this to a web-server running Apache 2 on a FC 4, it fails. Firefox says that the document contain no data. If I upload it to a different web-server running RH 7.3 (an internal test-webserver), it works OK. The PDF document is created by OpenOffice 2.0 from a MS Word document. I have also had it converted to PDF in MS Word that could create PDF documents....
0
9802
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. Stack Trace at System.Net.Sockets.NetworkStream.Write(Byte buffer, Int32 offset, Int32
21
34438
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most obvious of which is the sharing of files. For example, you upload images to a server to share them with other people over the Internet. Perl comes ready equipped for uploading files via the CGI.pm module, which has long been a core module and allows users...
18
34816
jhardman
by: jhardman | last post by:
Have you ever wanted to upload files through a form and thought, "I'd really like to use ASP, it surely has that capability, but the tutorial I used to learn ASP didn't mention how to do this."? Have you looked around trying to find simple solutions but didn't want to wade through pages of complex code? Have you balked at paying for premade solutions that are probably overkill for your particular project? I'd like to walk you through the...
4
4893
by: MoroccoIT | last post by:
Greetings - I saw somewhat similar code (pls see link below) that does mupltiple files upload. It works fine, but I wanted to populate the database with the same files that are uploaded to mydirectory, but for some reason, I am getting different file names on the database. Here is the full code: please do serach on kewword "database" to see where I added my database code - that where I need help with. And here the link where I got it...
0
9619
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9911
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8934
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.