Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

xcopy or like for ftp copy

Posted on 2006-11-26
6
Medium Priority
?
555 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 2000 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

580 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