LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2008, 06:22 AM   #1
ramesh14
Member
 
Registered: Apr 2008
Location: Hyderabad
Distribution: RHEL5,Fedora 8/9
Posts: 119
Blog Entries: 1

Rep: Reputation: 15
copy folders network to network


hi, how to copy files/folders from one public network say 215.24.211.36 to another network say 178.25.24.12(192.168.1.45 local host).Thank you..
 
Old 04-23-2008, 06:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
there are thousands of ways to do this, but you've said literally nothing about what these machines are and what protocols you have at your disposal... files aren't on a network, they are on a server... shall we assume you are Linux at both ends with shell accounts? if so for a one off job use scp or maybe NFS.
 
Old 04-23-2008, 06:44 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
I think the only way is to do a local copy on the machine where you are sit, then transfer files on the other server. I really don't know if you can copy on the fly, unless you have access to one of the two servers.

To recursively copy folders, it depends on the transfer protocol you're allowed on these machines. If using Secure Shell you can simply do
Code:
scp -r user@host:/path/to/directory/to/copy /path/to/local/directory
If using ftp you can try wget like this
Code:
wget -r -nH --ftp-user=username --ftp-password=password ftp://host/path/to/dir/*
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
XFCE Network ServersI use XFCE (sometimes) but I can not find my network folders on a holzster Ubuntu 0 10-24-2006 06:48 PM
Map network for shared folders. :King_58: Linux - Newbie 2 09-26-2004 03:41 PM
Location of network folders in SuSE KFM Linux - Distributions 2 05-25-2004 04:36 PM
Sharing folders across linux network linuxboy69 Linux - Networking 3 01-09-2004 01:22 PM
How to delete invalid network folders? hitbob Linux - Networking 3 08-22-2003 05:50 PM


All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration