Solved

xcopy or like for ftp copy

Posted on 2006-11-26
6
547 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
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…

820 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