Questions tagged [file-transfer]
214 questions
161
votes
14 answers
How do I know if dd is still working?
I've not used dd all that much, but so far it's not failed me yet. Right now, I've had a dd going for over 12 hours - I'm writing an image back to the disk it came from - and I'm getting a little worried, as I was able to dd from the disk to the…
eckza
- 2,179
- 5
- 16
- 16
118
votes
20 answers
What is the fastest way to send massive amounts of data between two computers?
This is a situation I am frequently in:
I have a source server with a 320GB hard-drive inside of it, and 16GB of ram (exact specs available here, but as this is an issue I run into frequently on other machines as well, I would prefer the answer to…
IQAndreas
- 10,145
- 21
- 59
- 79
59
votes
3 answers
What does the `-C` flag exactly do in `scp`?
I always use either rsync or scp in order to copy files from/to a remote machine. Recently, I discovered in the manual of scp (man scp) the flag -C
-C Compression enable. Passes the -C flag to
ssh(1) to enable compression.
Before I…
Remi.b
- 1,125
- 2
- 11
- 18
52
votes
5 answers
Display transfer speed when performing "cp" from the command line?
Is this possible?
Chris
- 8,320
- 5
- 23
- 18
37
votes
7 answers
Sending files over Samba with command line
I was wondering if there is a way to use Samba to send items to a client machine via the command line (I need to send the files from the Samba server). I know I could always use scp but first I was wondering if there is a way to do it with Samba.…
t0xic
- 475
- 1
- 4
- 5
36
votes
6 answers
Iptables to allow incoming FTP
I want to allow incoming FTP traffic.
CentOS 5.4:
This is my /etc/sysconfig/iptables file.
# Generated by iptables-save v1.3.5 on Thu Oct 3 21:23:07 2013
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [133:14837]
-A INPUT -p tcp…
Gokul
- 1,061
- 5
- 16
- 31
30
votes
8 answers
Copy files without encryption (ssh) in local network
scp works well in all cases, but the Raspberry Pi is to weak to copy files efficiently in a secure environment (lan). The theoretically possible 6,75 MB/s via 54 Mbit wireless lan shrink down to about 1.1 MB/s.
Is there a way to copy files remotely…
ManuelSchneid3r
- 4,256
- 8
- 41
- 58
28
votes
3 answers
Discover MTU between me and destination IP
In a case I can use only UDP and ICMP protocols, how can I discover, in bytes, the path MTU for packet transfer from my computer to a destination IP?
URL87
- 393
- 1
- 3
- 7
25
votes
8 answers
Downloading and uploading files via telnet session
I have an attendance device running Linux OS. I can connect this device via telnet session. There are some files in the device that I would like to download and upload with new files. How can I do that? I have very low knowledge on Linux OS. Would…
PRdeep Kumawat
- 351
- 1
- 3
- 4
22
votes
7 answers
How to copy a file that is still being written over ssh?
Here is the situation:
I am uploading a large file from client A to a server using sftp.
I also need to download this file from the server to client B over ssh.
What I would like to do is start the transfer from the server to client B when the…
Steven D
- 45,310
- 13
- 119
- 114
21
votes
3 answers
Verifying a large directory after copy from one hard drive to another
I have a home file server that I use Ubuntu on.
Recently, one of my drives filled up so I got another and threw it in there.
I have a very large folder, the directory is about 1.7 T in size and contains a decent amount of files.
I used GCP to COPY…
Peter A
- 313
- 1
- 2
- 5
16
votes
2 answers
Interrupting rsync with ctrl-c, should I use `--partial` or `--append`?
I would like to interrupt rsync with ctrl-c (let's say after half the file has transferred) and resume without having to resend the data that has already been transferred.
The stackexchange/google information I have found seems conflicting. I found…
Trevor Boyd Smith
- 3,772
- 12
- 36
- 44
16
votes
4 answers
Transferring millions of files from one server to another
I have two servers. One of them has 15 million text files (about 40 GB). I am trying to transfer them to another server. I considered zipping them and transferring the archive, but I realized that this is not a good idea.
So I used the following…
yuli chika
- 399
- 3
- 5
- 9
14
votes
4 answers
Copying protected files between servers in one line?
I'd like to copy squid.conf from one server to another.
The servers don't talk to each other. I'd like to go through my workstation.
Both servers have the file, so it will be overwritten on the target.
The files have 600 permission and are owned by…
itsadok
- 733
- 1
- 8
- 13
12
votes
3 answers
How to send/upload a file from Host OS to guest OS in KVM?(not folder sharing)
I have to make a configuration file available to guest OS running on top of KVM hyper-visor.
I have already read about folder sharing options between host and guest in KVM with 'qemu' and 9P virtio support. I would like to know about any simple…
MVSR
- 173
- 1
- 1
- 9