Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Copying the file from the remote server to local computer

Posted on 2011-09-09
6
Medium Priority
?
237 Views
Last Modified: 2012-05-12
Hi all,
I would like to copy a file from the remote server to the computer. I used this command below but I did not work
copy \\cob-filep-01\groups\IT\Systems Support and Operation\Long\tst.txt c:\long
I received this error msg.
The system cannot find the file specified.
Could you give me some idea, please? I might use the incorrect command.
0
Comment
Question by:dongocdung
6 Comments
 
LVL 11

Accepted Solution

by:
jimbecher earned 668 total points
ID: 36513060
It sounds like you are doing it from a command prompt. Put the first part in quotes:

"\\cob-filep-01\groups\IT\Systems Support and Operation\Long\tst.txt"

It might be easer for you to do it with Windows Explorer
0
 
LVL 35

Assisted Solution

by:Joseph Daly
Joseph Daly earned 664 total points
ID: 36513061
You need to enclose any path with spaces in quotes

copy "\\cob-filep-01\groups\IT\Systems Support and Operation\Long\tst.txt" c:\long
0
 

Author Comment

by:dongocdung
ID: 36513117
it said the network name cannot be found. It used this:
copy "\\cob-filep-01\groups$\IT\Systems Support and Operation\Long\tst.txt" c:\long
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 11

Expert Comment

by:jimbecher
ID: 36513136
ARe you sure it is a good location? I am going to go back to using Windows Explorer. See if you can browse to that file with Windows Explorer...
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 36513202
If c:\long is the directory you want to copy it to then you need a slash at the end

copy "\\cob-filep-01\groups$\IT\Systems Support and Operation\Long\tst.txt" c:\long\

Otherwise if long is the filename then you need.

copy "\\cob-filep-01\groups$\IT\Systems Support and Operation\Long\tst.txt" c:\long.txt
0
 
LVL 9

Assisted Solution

by:user_n
user_n earned 668 total points
ID: 36527462
try this program winscp
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

783 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