Tag Info

Hot answers tagged

16

Ugh. Your teacher is not correct at all. HTTP transfers files - that's how it works. It doesn't require anything special to do so, even if an Apache directory listing kinda looks like an FTP server listing. Look at your browser URL. Use a tool like Wireshark or Fiddler to actually look at the traffic. You'll see that if you're browsing via HTTP, and the ...


8

When copying to the local file system I always use the following rsync options: # rsync -avhW --no-compress --progress /src/ /dst/ Here's my reasoning: -a is for archive, which preserves ownership, permissions etc. -v is for verbose, so I can see what's happening (optional) -h is for human-readable, so the transfer rate and file sizes are easier to read ...


3

If it were me, I'd write a script for this: find /mnt/ftp -user 'myuser' -mtime -365 -exec cp {} /home/me/tosend \; That command will work in Linux. If you are using Windows, then the same can probably be accomplished with Cygwin. Either way, you want to make sure the FTP is mounted to the filesystem first.


3

Your network card uses the Intel igb driver. Under VMware and Linux, that device/driver can be troublesome. I'd try the following: Your ESXi build number is 1331820 and includes version 4.2.16.8 of the igb NIC driver. The current ESXi build has version 5.0.5.1.1 of the igb driver. An update of ESXi may be appropriate. The defaults on the igb driver don't ...


3

Using the mv command to move files from one volume to a different volume is a copy operation. But how would you run out of space on the source volume? You would only run out of space on the target volume if that volume is smaller than the total size of the files you're moving. But either way, you're only deallocating space on the source volume, not ...


2

For a complete retention of everything, try: rsync --archive --hard-links --sparse-files --acls --xattrs source dest Then to verify correctness, you can do something like (assuming no spaces in your file names): for file in *; do md5sum $file >> /tmp/sums.txt; done and then diff sums.txt on both servers. The md5summing is going to take a while, ...


2

The good old File Transfer Protocol (FTP) was invented for transferring files. To use it in a secure way, you can use ftps (which is not sftp, but ftp over ssl) or set up a vpn connection for security. When I search for vsftpd+ssl, this is the first result which seems like a reasonable starting point.


1

You can use WinSCP scripting to gather a content of remote directory into XML file, look though the XML list to find the newest file and download it. There's an example on WinSCP site, doing exactly what you look for: http://winscp.net/eng/docs/script_download_most_recent_file Also, in case your preferred scripting language is PowerShell, you can also ...


1

I think the simplest solution is just to have a different backup share for each user, so that they can only access their own backups and not anybody else's. This seems to solve your problem right there. There are a number of backup tools that don't rely on being able to mount a remote filesystem, such as rdiff-backup, Amanda, Bacula, and probably others. ...


1

Check out WatchDox I actually went through what you're looking at, this looked to be the most secure of all the Enterprise solutions I could find. Alternately, if you can get the encryption working, OwnCloud might work well. As was said in the comments though, those are some ridiculous requirements. With no IT staff I wouldn't even look at an on-prem ...


1

It's likely the most simple solution would be for you to use rsync over ssh. This requires that each user have an account on the server. For this example, assume that they're wanting to copy files from their local machine, /home/user1/folder to /home/user1/foo on the server. To do this, they'd run the following from their workstation: $ rsync -avz ...


1

Just for reference, I believe the mv command doesn't do a copy then delete operation, ie having mv /home/foo /home/bar exist simultaneously for a short period. It operates more like renaming. Essential changing the filesystem accounting so that what pointed at /home/foo now points to /home/bar without actually physically moving the data on disk from one ...


1

It's probably safe to run rsyn in parallel, but not efficient, since most likely the files will be transfered twice since rsync makes up the list of files to transfer at the beginning. There is of course always the slim chance that the same file is transfered simultaneously by both rsyncs, but the contents should be the same afterwards. To prevent double ...


1

In order to copy your environment to your WAMP server you should dump your database and restore it in accordance with the MySQL documentation (this is for 5.6, but you can easily find the same page for other versions). As a note for the future, your first stop for research should ALWAYS be the documentation for the product you're using (in this case, ...


1

That would depend on what you consider "extra" tools on the DOS side. Most versions of DOS came with no networking support at all, and required extra software to do networking. So that pretty much limits your options to a floppy disk. Both Unix and DOS natively support floppy discs, though you'll have to work out which file systems and file formats they ...


1

10.49 KB/sec is the buffer write speed, not the physical write speed. So depending of your setting (number of thread per copy and buffer size) the real copy could be slower (very slower) than that. Also, older version of supercopier have some file size limitation (I never could copy a file of at leasst 60 Gb file on an ealier 32bit version). Try with a ...


1

Inspired by zoredache's answer, I've created a bunch of scripts that are the windows version. However they all depend on plink. Please take a look here https://github.com/VijayS1/Scripts/blob/master/ssh-copy-id/ I also have a winscp script that can be used as per another answer. :) Excerpt from the readme: Attempted methods so far: DOS(.cmd) - Success ...


1

These answers didn't help me out. I really didn't need any crazy scripts. I had created a public key on my client machine in git bash and was trying to copy it to a VPS. After creating your public key, the key should be stored as "(whatever folder you started in)/.ssh/id_rsa.pub" So use this command: cat ~/.ssh/id_rsa.pub | ssh user@123.45.67.89 "cat ...


1

You can use any protocol, even unencrypted and without authentication. All you have to to is to sign and encrypt your data before you send it: gpg --armor --local-user senderkey --recipient recipientkey --sign --encrypt cleartextfile If you are paranoid about login possibilities on the target you can use a combination of some network event (that does ...



Only top voted, non community-wiki answers of a minimum length are eligible