General :: Use Scp To Transfer Files From WAN To LAN?
Sep 21, 2011
I have machine A with a public IP address (addr_a), machine B within a LAN of private IP address(addr_b), the router of the LAN has a public IP address (addr_r).If I log into machine A by ssh from machine B, how can I use the command scp to copy files from machine A to machine B?
View 1 Replies
ADVERTISEMENT
Aug 22, 2011
I want to transfer files (a music folder) between two Linux computers. After searching for the best way to do this, I've seen that there are lots of ways of doing this. I know this has been asked a lot, everywhere and all the time. The main problem with this is that there is no clear, recent consensus on one best way to do this task in 2011 for Linux beginners (even depending on some parameters).
So in the spirit of the Stack Exchange websites, I want this not to be related to my particular situation, but more of a guide to others as well on how to transfer files between two Linux computers over a local network. I think a wiki would be useful for many.
Here's what I found so far:
ssh
sshfs
scp
sftp
nfs
samba
giver
What is the easiest? Most flexible? Simplest? Best solution? What are the pros and cons of each? Are there other (better) options? What are the parameters in choosing the best method (solution might depend on number of files, filesize, easiness vs. flexibility, )?
View 6 Replies
View Related
Sep 13, 2011
I am transferring a file from a linux pc going to a windows ftp server using "ftp put". My file is a zip file that includes .txt files inside it. Here is what's happening when I transferred this file :I used ftp put for transferring and found that my transferred zip file was corrupted and couldn't be opened on the ftp server.I found the solution for this on the internet. I needed to use 'binary' to make it right.
I transferred again using binary and then ftp put the zip file onto the other end. Yes, it worked. My zip file wasn't corrupted anymore and I could already opened it on the ftp server. But the problem remains on the .txt files inside it. Converting the file into binary made my .txt files to be distorted and unreadable. I read from the internet that .txt files need to use Ascii instead of Binary to be readable, but if I use ascii it would cause my zip file to be corrupted again. I need to successfully transfer a zip file that contains .txt files using ftp put.
View 5 Replies
View Related
Jan 9, 2011
I have not installed Linux yet on my PC, andit has been years since I installed and used it.How will I transfer files between the two systems ondifferent drives the same computer? I suppose one still does not install Linux on an NTFS (windows) formatted disk so access would be natural?
View 6 Replies
View Related
Nov 1, 2010
I have a Windows 7 Desktop and an Ubuntu Laptop connected with a KVM switch. I use the setup for software development, so I am constantly switching between the two, so I need a way to quickly transfer files between the two. I'm not sure if this is possible, but if I could connect them in a way where the OS of each mounts the hard drive of the other. Is there a way I could do this?
View 3 Replies
View Related
Jul 27, 2011
I have a Windows machine and a Linux machine both hooked up to the router via Ethernet cables. What is the easiest way for me to transfer files from the Windows machine to the Linux one?
View 2 Replies
View Related
Apr 24, 2011
I was wondering if there's a way to transfer files from one pc to another using a network cable or something
View 13 Replies
View Related
Sep 25, 2010
If transfer all files under a directory by rsync, what is the order that rsync determines to transfer the files one by one?At first it looked like rsync transfers files in alphabetical order, but later I found rsync skipped some files in the first sweep through the alphabetic order, and then went back to transfer files that were skipped in the first time and this time still in alphabetic order.
View 1 Replies
View Related
Apr 28, 2011
I have two computers: one is connected with router by wi-fi and another is connected with router by lan. How I can optimal organize connection between two computers with Ubuntu 10.04 for transfer files? What Do I do? Can I share some folders,
View 3 Replies
View Related
Jun 28, 2011
I have a Ubuntu server hosted on Amazon EC2. I need to create an automated backup scheme so I created another Ubuntu instance on my local network which is hosted in a virtual environment. I managed to transfer the necessary files between 2 machines on the same network using the rsync command:
rsync -azvv -e ssh /home/path/folder1/ remoteuser@remotehost.remotedomain:/home/path/folder2
How can I do the same thing but transferring files from my Amazon server to my local server? Is there a way I can achieve this with port forwarding, or by VPN, or anything else? It doesn't have to be rsync. If you know about a better method, kindly let me know.
View 2 Replies
View Related
Jan 17, 2011
I have a big iso image which is currently being downloaded by a torrent client with space-reservation turned on: that means, file size is not changing while some chunks in in (4 Mib) are constantly changing because of a download.
At 90% download I do the initial rsync to save time later:
$ rsync -Ph DVD.iso /media/another-hdd/
sending incremental file list
DVD.iso
[Code]....
Then, when the file's fully downloaded, I rsync again:
total size is 2.60G speedup is 1.00
Speedup=1 says delta-transfer was not used, although 90% of the file has not changed, target dir is on another FS and copying takes several minutes. Why doen't it try to speedup the transfer?! How can I force rsync to use delta-transfer?
View 1 Replies
View Related
Mar 14, 2011
Kindly read the complete question I know this question has been asked repeatedly
Is there a way to Transfer files between Linux based OS & Windows OS Without using SCP, FTP, TFTP, HTTP, USB, Netcat or samba share?
View 8 Replies
View Related
Jan 1, 2010
Having a bit of a issue with Debian Squeeze and transferring files to the Sony PSP..Hook up PSP to USB port and Debian mounts it..I go to drag a 125 meg mp4 to video folder..Copy windows takes about 10 seconds to transfer it..Exit USB mode and there is no video there. Go back into USB mode and look at video folder on the PSP memory stick and there is no video..It vanished. From another after copy progress closed I right clicked PSP and unmounted it..
It error-ed saying device was busy and could not unmount..Looking at light on PSP i see memory stick is still being written to..i wait for light to stop flashing..About a minute or so..Then am able to unmount it..Go to PSP video and theres the video ready to be watched. Debian isnt accurately showing the copy progress...Its showing complete when it isnt..I have to watch the light on PSP to know when it is truly finished.
View 3 Replies
View Related
Nov 30, 2010
How do you transfer files on a Linux machine with ftp,sftp and scp disabled onto a remote machine
View 2 Replies
View Related
Oct 20, 2010
I have two servers, one has an empty / and the other has a subdirectory with a large number (4 gig) with many, many files. I need a way to transfer the files en masse from the server with the large number of files to the one that is essentially blank.I don't have space on the used host to simply gzip all the files. I've googled this and see that there may be some combination of tar and/or gzip that will let me do this with some sort of redirection.
I really need and example line of how this can be accomplished. If my explanation seems rather sparse, I can supply more details.
View 3 Replies
View Related
Mar 10, 2010
i am trying to transfer a file from my live linux machine to remote linux machine it is a mail server and single .tar.gz file include all data. but during transfer it stop working. how can i work and trouble shooot the matter. is there any better way then this to transfer huge 14 gb file over network,vpn,wan transfer. the speed is 1mbps,rest of the file it copy it.
rsync -avz --stats bkup_1.tar.gz root@10.1.1.22:/var/opt/bkup
[root@sa1 logs_os_backup]# less remote.log
Wed Mar 10 09:12:01 AST 2010
building file list ... done
bkup_1.tar.gz
deflate on token returned 0 (87164 bytes left)
rsync error: error in rsync protocol data stream (code 12) at token.c(274)
building file list ... done
code....
View 1 Replies
View Related
Mar 13, 2010
im running fedora 12 and am relatively new to linux..i have been unsuccessful researching this issue.a complex task for an otherwise simple question.perhaps the phrase is not native to linux but the operation is universal.how to transfer filesr move files from one location to another.on windows there was a tweek i found that added an option to the context menu "move to".it would physically move the file.any file to any location.fedora has "send to" but leaves the original and may not be the correct method.fedora also has copy/paste but does that duplicate or merely produce a copy?i want to transfer or move video files both small and large and audio files as well.i want to move them from one hd to another.code is possible but would prefer a more manual solution such as an application or context menu option.perhaps copy/paste would be legit enough for linux and i can see why.but for windows copy/paste and "send to" were considered sub standard methods of file transfer.
View 4 Replies
View Related
Feb 27, 2010
How do I transfer my files from Windows Xp to Ubuntu??
View 1 Replies
View Related
Feb 13, 2011
I need to transfer some a large amount of file from my Linux lap-top to my desktop Windows machine. Can I connect the two computers through a simple crossover cable and simply navigate into the Windows machine and move to files manually or if not, what's the best way to do this? I don't want to burn a bunch of disks.
View 2 Replies
View Related
Jun 26, 2011
I have a laptop connected to the internet through wifi, and a desktop connected directly to the router. I can trasnfer files of any size, with scp, from the desktop to the laptop; on the other hand, I can transfer small files (a 4,0K file, for example), but not files with some tens of megabytes, from the laptop to the desktop.
When I try to transfer a big file, the transmission starts at normal speed (around 2 mb/s), and then it slows down, and the message "stalled" appears where the remaining time was.
View 2 Replies
View Related
Dec 10, 2015
I am trying to transfer a files from my linux to my windows 7 virtualbox but how to do it. I installed samba as a server and bridged the virtual machine to my physical LAN but i just don't know how the real transfer is achieved...
View 7 Replies
View Related
Jul 21, 2010
I want to transfer files through ftp on my fedora 13 system. when I type ftp in terminal, it shows an error message "command not found" why?
View 6 Replies
View Related
May 27, 2010
i installed it correctly and then it loaded,, GREAT, but then i was looking through all different options on the first screen, i was looking through the different features and i looked at my documents. there was nothing there i booted up vista and found the folders, so i was wondering if there was a way to transfer the files.
View 9 Replies
View Related
Jul 30, 2010
i have taken a basic networking class that involved both XP and fedora. I was recommended to use ubuntu though because it's easier to use anyways i have a world of warcraft folder on a windows vista running computer and was wondering how i could use either telnet or FTP to get that ~20GB folder over to my linux desktop.I installed 10.04 and have installed WINE (which i'm still trying to figure out how to work).
View 4 Replies
View Related
Aug 10, 2010
I plan on getting a newer/larger hard drive.
My music file is about 10gb, all lossless,cd quality
The dvd`s I have are memorex 4.7gb 16x
Can I Just drag each file over to cd-dvd creator and burn it, or do I have to open each file first?
I read that transferring music can cause a loss of quality. Is this true?
View 2 Replies
View Related
Sep 2, 2010
Is there a way to transfer files to the iPhone in ubuntu (9.04) without using ssh or running Windows in a VM?
View 1 Replies
View Related
Nov 22, 2010
I need to re-install windows on the windows side of my pc (my HDD is partitioned), and was wondering if there's any way to back up my pics and iTunes library by placing them on the Ubuntu side of my PC?
View 3 Replies
View Related
Dec 24, 2010
With transfering files and folders across from windows xp to lovely ubuntu 10.10 without the need for any usb sticks or anything. I installed Linux via the installer which is found in the ISO image whilst still in windows.
I used Winzip to open the ISO image and found the installer for installing whilst in windows xp so it installed it on the same partition as xp.
View 5 Replies
View Related
Jan 15, 2011
I have 2 debian computers set up, and would like to transfer files from one to the other. I hooked up a cable to each of them, but how do I transfer files?
View 4 Replies
View Related
Apr 29, 2010
How do I transfer files from one SuSe Linux server to another?
View 4 Replies
View Related