Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 29th, 2007, 12:08 PM
Authorized User
 
Join Date: Mar 2007
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default Copy file from one server to another server

Hi Friends,

This question is'nt really about .Net but I hope .Net or something else related to it have solution for this.

I have some set of files i need to deploy from one server to another
remote server programatically. Is it possible to do so.
All ur opinions are accepted.
It is possible for me to manually load the set of files on an FTP
an paste it on the desired directory on the target server. But I donot want any manual intervention.

Just take an example I am in China (server IP say 192.487.5.155) and want to deploy files on server in Australia (server IP say 244.5.45.4) is it possible..
Any technology related to this pls mention.

Thanks in advance.




 
Old September 30th, 2007, 10:37 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

A lot of this answer depends on your connectivity to the other server.

If your only means of connecting to the server is FTP then you'll need some way to automate the FTP process.
- You can call the windows FTP application with a script that FTPs what you need. (You could even have a process that automates the creation of the script so it's flexible.)
- There are libraries that you can use in a .NET application that do FTP operations.
- You could use other third party tools that use FTP as well. I use BeyondCompare which can do FTP and is VERY good at synchronizing web applications over either a direct file connection or using FTP.

If you can connect to the server using the file system (if you are connected to it over a VPN for example) then it's just a matter of copying the files.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
copy a database using SQL Server 2000 samnachilomo SQL Server 2000 3 November 20th, 2006 01:15 AM
Execute COPY from ASP page on server rtr1900 ASP.NET 1.0 and 1.1 Basics 0 June 5th, 2006 08:08 AM
Failed to copy objects from SQL server to SQL Serv monfu SQL Server 2000 4 December 4th, 2005 05:54 PM
SQL Server sync with net server and browser server ne SQL Server DTS 0 June 13th, 2005 06:29 PM
Getting the a local copy of the Server DB Sappu SQL Server ASP 2 March 21st, 2005 12:27 PM





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