Solved

Copying the file from the remote server to local computer

Posted on 2011-09-09
6
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 11

Accepted Solution

by:
jimbecher earned 167 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 166 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
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 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 167 total points
ID: 36527462
try this program winscp
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
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 and use structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

623 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