LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Putty SCP - Where is my Downloaded File (https://www.linuxquestions.org/questions/linux-newbie-8/putty-scp-where-is-my-downloaded-file-803896/)

lxgamer 04-24-2010 12:21 AM

Putty SCP - Where is my Downloaded File
 
Yeallo mates,

I im using putty for RH Linux, file downloaded OK on my win XP (using putty) but i dont know where and cant find where it is. Kindly review the below command whether its OK:

[root@mail ~]# scp root@mail:/orient/dist-list/getlist.txt .
root@mail's password:
getlist.txt 100% 15KB 14.7KB/s 00:01


Please give me some help and explain in detail. Thankyou!

onebuck 04-24-2010 02:06 PM

Hi,

Welcome to LQ!

Quote:

Originally Posted by lxgamer (Post 3946029)
Yeallo mates,

I im using putty for RH Linux, file downloaded OK on my win XP (using putty) but i dont know where and cant find where it is. Kindly review the below command whether its OK:

[root@mail ~]# scp root@mail:/orient/dist-list/getlist.txt .
root@mail's password:
getlist.txt 100% 15KB 14.7KB/s 00:01


Please give me some help and explain in detail. Thankyou!

I do suggest that the email tags be removed from the command above.

It looks like you are using 'putty' on a WinXP machine and don't know where you have saved a file. That can be selected within 'putty'.

The command you have shown is 'scp' secure copy on a GNU/Linux not 'putty'. The command 'scp' is;
Quote:

excerpt 'man scp';

NAME
scp -- secure copy (remote file copy program)

SYNOPSIS
scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2

DESCRIPTION
scp copies files between hosts on a network. It uses ssh(1) for data
transfer, and uses the same authentication and provides the same security
as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if
they are needed for authentication.

File names may contain a user and host specification to indicate that the
file is to be copied to/from that host. Local file names can be made
explicit using absolute or relative pathnames to avoid scp treating file
names containing ':' as host specifiers. Copies between two remote hosts
are also permitted.

You need to get some background so I suggest that you look at the below links to aid;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking

:hattip:
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

colucix 04-24-2010 02:15 PM

Looking at your prompt, it seems you've copied the file from one location to another on the linux side. A copy of the file /orient/dist-list/getlist.txt might be in the root's home, now.


All times are GMT -5. The time now is 10:41 PM.