Simple Windows-to-Unix SCP question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Simple Windows-to-Unix SCP question
# 1  
Old 04-06-2007
Simple Windows-to-Unix SCP question

Hi,

I am fairly new to Unix. My school computers have only UNIX installed on them, and I wish to use them to do some parallel computing. To do so, I need to transfer the files from my Windows computer to my Unix account on a different computer.

I am using the SSH login with the Putty client. I can login and access my account no problem. However, I am having issues transferring the files using the scp command. Specifically, I am using
scp E:\PTF.fsp duchesne@nunatak1:global/home/FDTD/PT.fsp

but I recieve the error:
E: Name or service not known

It seems that the "E:" call is not correct, but how else can I specify the location of my file in windows? I have tried putting quotation marks around the file name, i.e. "E:\PTF.fsp", but to no avail. Also, if I simply remove the "E:", i.e.:

scp PTF.fsp duchesne@nunatak1:~/FDTD/PT.fsp
Password:
PTF.fsp: No such file or directory

so the scp command does work, but cannot find the file.

Can anyone help with this (most likely) trivial matter?

Thank you,

David
# 2  
Old 04-06-2007
It sounds like you are saying that you are
1) Logging into your unix box with putty
2) trying to initiate a software transfer using scp between unix and your PC. But if I understand you right, you are entering this at a UNIX prompt, so the E:\...... is meaningless to UNIX.

I use putty but don't use it for file transfers. Suggest trying either WinSCP or SecureFX for scp type transfers.
# 3  
Old 04-07-2007
Yes,

thank you awk, this is precisely my problem. It is more clear to me that I was doing this inccorectly. I have downloaded the WinSCP program, and the transfer is now 100 times easier.

Thanks again.

David
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

scp to windows and delete files from windows

Hi Team, I Have list file in Unix server, I need to copy files from Windows to Unix for the list of files given in Unix list file. after coping files to unix, I need to delete the files from Windows. i used SCP and moved files from windows to unix based on list file is done and working.... (1 Reply)
Discussion started by: spradeep86
1 Replies

2. UNIX for Dummies Questions & Answers

scp to get a file from windows desktop to UNIX server

Hi, I want to use scp to upload file to my unix server. i am using this: scp D:\testr.txt unixuser@unixhost:/path it returns an error: ssh: D: host/servname not known i am not sure how to tell path of my D drive in the command and how will command understand it has to pick from my... (5 Replies)
Discussion started by: Kohli
5 Replies

3. UNIX for Dummies Questions & Answers

Simple question on unix file permission

As I understand the file permissions in UNIX is basically Owner, group, others Lets assume scott user who's primary group is dev creates a file called test.dat and then grants some privileges on that file... scott@unix-host> echo "this is a test" > test.dat scott@unix-host> chmod 640... (4 Replies)
Discussion started by: luft
4 Replies

4. Shell Programming and Scripting

simple scp script

simple bash script to scp specific file to another server example: /etc/dir1 (specific file name) then you will just execute a keyword.. sample: ./scp.sh atm*. where atm*. is a sample keyword to search) thanks (0 Replies)
Discussion started by: lhareigh890
0 Replies

5. Shell Programming and Scripting

Error copying files from Unix (Solaris10) to Windows Server 2003 using scp/sftp

Hi, I have generated a Public/Private Key Pair in Solaris Unix (source) server and deployed the Public key in Windows 2003(target) server .ssh directory of user profile. When i try to connect(ssh, scp, sftp) from Unix, i'm getting below error message. Sun_SSH_1.1, SSH protocols 1.5/2.0,... (0 Replies)
Discussion started by: ajaykumarb
0 Replies

6. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

7. UNIX for Dummies Questions & Answers

simple app to communicate windows and linux/unix

Careful!!! This is a newbie question! Hello Community I'd like to develop a very simple application, on the one side (some windows pcs with a listener and sender) on the other side a linux server that does the same. Any suggestions about doing that? telnet, smbclient????? It must be... (3 Replies)
Discussion started by: ncatdesigner
3 Replies

8. UNIX for Dummies Questions & Answers

Some simple question abt Unix kernel

Dear all, I got some questions abt how does the Unix kernel work with the work with the other components. (step by step) Can any body tell me some info abt that? if can provide a example for each question that gonna be perfect! Thank you!!! 1. How file management system work together... (2 Replies)
Discussion started by: melbdavid
2 Replies

9. UNIX for Dummies Questions & Answers

I have a simple unix question

Hello all, I need to write a little unix script to do some work on multiple files. I need to enter the filenames from the command line (scriptname <filename> <filename>. I have written the code to do double spacing, and some line numbering but it does not take multiple files from the command... (1 Reply)
Discussion started by: smn2003
1 Replies

10. Shell Programming and Scripting

Simple Unix Question

Hi all, ok here is my problem, my program below is reading lines in from a file (one at a time) and printing them out. my problem is that i want it to only print out 3 lines at a time on the screen, but the "read value" command in my code isnt working. Whats wrong? & what can i do to get this... (1 Reply)
Discussion started by: djt0506
1 Replies
Login or Register to Ask a Question