Solved

xcopy or like for ftp copy

Posted on 2006-11-26
6
543 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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…

809 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