473,699 Members | 2,518 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copy files between two web servers...

I have a need to have a web server (windows based) grab files each week from
a linux based server - hosted elsewhere. I cannot use UNC paths.

I want to have a script (.asp/asp.net) on the windows server that I would
provide a list of files to copy. The script would then copy the listed files.

The problem is that the using a filestream and copyto runs into an error
with URI paths.

This will be a substantial amount of data each week. I don't want to copy
it locally and then back up to the windows web server. I want/need the copy
to be directly between the two servers.

Any ideas would be appreciated.
--
Matthew Moran
The IT Career Builder''s Toolkit (Cisco Press)
http://www.cbtoolkit.com

Career Advice for the IT Professional
http://blogs.ittoolbox.com/pm/career
Aug 2 '06 #1
1 2176
Are the two servers on the same network?

If so, why not just use FSO?....and if not, would FTP/RSync do? (I *believe*
you can get RSync for Windows)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Matthew Moran" <Ma**********@d iscussions.micr osoft.comwrote in message
news:97******** *************** ***********@mic rosoft.com...
I have a need to have a web server (windows based) grab files each week
from
a linux based server - hosted elsewhere. I cannot use UNC paths.

I want to have a script (.asp/asp.net) on the windows server that I would
provide a list of files to copy. The script would then copy the listed
files.
>
The problem is that the using a filestream and copyto runs into an error
with URI paths.

This will be a substantial amount of data each week. I don't want to copy
it locally and then back up to the windows web server. I want/need the
copy
to be directly between the two servers.

Any ideas would be appreciated.
--
Matthew Moran
The IT Career Builder''s Toolkit (Cisco Press)
http://www.cbtoolkit.com

Career Advice for the IT Professional
http://blogs.ittoolbox.com/pm/career

Aug 2 '06 #2

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

Similar topics

7
2633
by: Markus Weber | last post by:
Hallo! I have created an VB-ActiveX-Componente that copy files on network. This works on one my development computer when I install application on other IIS servers (files to copy on same server with same rights) I get error message "Invalid filename or number". So what can cause this problems? Thnaks in advance!
0
2590
by: Tess | last post by:
Hi, Long time reader, first time poster... Any help is appreciated. I have a few questions regarding Winform controls embedded within an html page. For more info please see the appendix. Now, for the questions. 1. A button on my control executes the System.IO.Directory.GetDirectories funtion (the scanned directory resides on the hosting web server). What credentials is this
3
3892
by: louis n | last post by:
I work with databases and some of my backup files are 30-100 gigs in size. I currently use the FastCopy utility to copy files from one server to another. (This is needed when I need to transfer a DB to a different server). FastCopy says its 30 to 50% faster than Windows file copy. I read somewhere that the windows kernel defaults to 4mb/sec throughput for copying. Is this true? Is there a faster way or some utility to copy files?...
8
6205
by: Chris Strobel | last post by:
I have 2 web servers where I need to write a PDF file and need to keep them in sync. In others words, If the Server1 is getting called to create the PDF, then it needs to copy the PDF to the other Server2 and visa-versa. The 2 server are running 2003. It's a form-based authentication (.NET 1.1) site and I'm using IIS 6 native mode. Both boxes are set to the same workgroup. Since everything is so locked down now, I'm not sure what's the...
1
5065
by: Byron | last post by:
Hi, I have(had) an old Win2k Server server with about 30 web site databases (SQL 2000) that just went under due to hardware problems. Thankfully, I have backups of all the databases plus the MDF and LDF files from the hard drive. I want to move all of these sites and their data to a newer server (Win2003) running SQL2000.
9
2413
by: CGW | last post by:
I asked the question yesterday, but know better how to ask it, today: I'm trying to use the File.Copy method to copy a file from a client to server (.Net web app under IIS ). It looks to me that when I give a path like @"C:\holdfiles\myfile.txt" it looks on the server C drive. How do I pull from the client? Do I need a different class and/or method? Filestream? -- Thanks,
2
4522
by: Matthew Moran | last post by:
I posted this on the .asp group but believe this may be a more appropriate forum. I have a need to have a web server (windows based) grab files each week from a linux based server - hosted elsewhere. I cannot use UNC paths. I want to have a script (.asp/asp.net) on the windows server that I would provide a list of files to copy. The script would then copy the listed files. The problem is that the using a filestream and copyto runs...
4
8115
by: eholz1 | last post by:
Hello PHP group, I am trying to use the copy function to copy files from one directory to another. This does not seem to work for me. What am I missing? Below is the code I am using. <?php $filecount = 0;
4
2726
by: Tom | last post by:
Every week our web guys publish the web site to all of our servers by logging into the server and doing a copy - paiste. We want to elminate the developers from logging into each server and doing this, so we want to create them a windows app that allows them to copy the web folder from their machine and publish it to each server. Is there a way to do this? We want to do the following: 1) be able to connect to the web servers without...
0
8613
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9032
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
8908
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
8880
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...
1
6532
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
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();...
0
4374
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
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.