Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a downloading tool that supports Windows Shared files and works from command line?

Standard copy is getting hanged with no action on my side. Tried wget but seems it doesn't 'eat' the link.

share|improve this question
    
Do you mean files that are shared, or files that are accessed from a share? Can you clarify your question any? –  crb Jul 20 '09 at 18:57
    
also see same question here: stackoverflow.com/q/10313/79461 –  Synox Apr 16 '12 at 15:46
add comment

3 Answers

up vote 5 down vote accepted

Robocopy is the way to go. Download here:

http://www.microsoft.com/Downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

/? flag will give you all the options. I've used it for migrating data to new hardware, and it works great.

Edit to add:

Found my ticket with the syntax

robocopy E:\Files F:\Files /e /copyall

/e = copies empty directories /copyall = copies all NTFS data, attributes, timestamps, ACLs, owner, & auditing info

share|improve this answer
    
And while downloading Robocopy make sure you get the manual as well. –  John Gardeniers Jul 20 '09 at 22:11
add comment

Copy From Shared folder \192.168.14.5\eset_upd

net use \\192.168.14.5\eset_upd myPassword /user:myDomain\administrator
copy \\192.168.14.5\eset_upd\*.* c:\eset_upd
share|improve this answer
    
Thanks for this answer! This is also compatible to Windows Server 2008 R2 Core, where there is only a shell and comes with the OS... But I guess it should read double-backslash before the ip address? –  mnemosyn Jul 27 '10 at 11:58
add comment

ohhh!! I got a good one for you. It's called TeraCopy! Its fanastic. By passes the 256 char limit too.

http://www.codesector.com/teracopy.php

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.