Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: ftp over LAN  (Read 3951 times)

0 Members and 1 Guest are viewing this topic.

Lemonilla

    Topic Starter


    Apprentice

  • "Too sweet"
  • Thanked: 70
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 7
ftp over LAN
« on: February 09, 2013, 12:26:22 PM »
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.
Quote from: patio
God Bless the DOS Helpers...
Quote
If it compiles, send the files.

foxidrive



    Specialist
  • Thanked: 268
  • Experience: Experienced
  • OS: Windows 8
Re: ftp over LAN
« Reply #1 on: February 09, 2013, 12:33:10 PM »
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.

foxidrive



    Specialist
  • Thanked: 268
  • Experience: Experienced
  • OS: Windows 8
Re: ftp over LAN
« Reply #2 on: February 09, 2013, 12:51:03 PM »
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 alphanumeric

Salmon Trout

  • Guest
Re: ftp over LAN
« Reply #3 on: February 09, 2013, 02:05:40 PM »
I 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

Lemonilla

    Topic Starter


    Apprentice

  • "Too sweet"
  • Thanked: 70
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 7
Re: ftp over LAN
« Reply #4 on: February 09, 2013, 06:19:29 PM »
Thanks a ton! Worked wonderfully.
Quote from: patio
God Bless the DOS Helpers...
Quote
If it compiles, send the files.