Solved

xcopy or like for ftp copy

Posted on 2006-11-26
6
542 Views
Last Modified: 2012-05-05
Does anyone know of a program that will work like xcopy, xxcopy or robocopy that can copy from ftp sites?

Id like to create a batch file to backup my ftp servers onto my home pc every night, and want a program that I can use and issue command line options to specify its servers and where to copy to.

Tony
0
Comment
Question by:tonelm54
  • 2
  • 2
  • 2
6 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 18014975
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 18015245
If you're using windows, you already have mget
-i turns off interactive prompts for multiple file transfers
ftp -i username@host
ftp>cd \mydirectory
ftp>lcd \mylocaldirectory
ftp>mget *

Easy enough to create a batch file to do this and schedule it on a regular basis..


0
 

Author Comment

by:tonelm54
ID: 18018065
Im using the ftp suggestion suggested by Irmoore, but when I execute the file, it grabs everything and dumps it in 1 local directory, is it possible to get it to either just copy the files in the 1 directory into 1 directory on the pc, or get it to reconstruct the folder directory on the local pc?

Tony
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 86

Expert Comment

by:jkr
ID: 18020155
>>or get it to reconstruct the folder directory on the local pc?

Try 'wget'. That's what it does and what it is made for.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 18107856
Are you still working on this? Can you close out this question before the cleanup crew gets around to it?
Thanks!
0
 

Author Comment

by:tonelm54
ID: 18222112
I actually used in the end netDrive and wrote a simple batch file using xcopy

Tony
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now