1.

Solve : ftp over LAN?

Answer»

Is there a better way to transfer files over land via command line than ftp?
I have two computers that are in SEPARATE rooms, and they both need to have exact copies of files on them. They are currently connected via a router (without internet access if that MATTERS). Any HELP would be appreciated.Robocopy will keep a mirror copy of a folder or a folder tree.

FTP is used more for remote computers on a WAN, while a LAN can use many tools.You can use a syntax like this:

robocopy "\\server1\shareabc" "\\server2\sharedef" /switches /here

or

robocopy "\\192.168.1.20\share" "\\192.168.1.21\share" /switches /here


and the double quotes are optional if your server\share name is alphanumericI regularly back up my music collection (which has reached 24.5 GB of mp3 folders) using Robocopy. The collection lives on an internal hard drive (Drive D: under a folder CALLED Music) on my main PC, and the backup is to my NAS drive which is connected to a router (Mapped to drive letter V: with a folder called \Shared\Music). I add new folders to D:\Music and I run this command to MAKE the new folders and files appear in the backup:

robocopy "D:\Music" "V:\Shared\Music" /S /xc /xn /xo

Only the new folders are copied
Thanks a ton! Worked wonderfully.



Discussion

No Comment Found