PSCP.EXE:
we are going to use PSCP.EXE executable file to transfer from local machine to remote and vice versa
we are going to use PSCP.EXE executable file to transfer from local machine to remote and vice versa
- c\Users\praveen>cd c:\Program Files\putty
- c:\Program Files\putty>PSCP.EXE
- pscp:no host name specified; use "open host.name" to connect
- pscp> open 198.189.95.4(use IP address of a linux machine)
- login as:username
- username@198.189.95.4's password:enter ur password
- remote working directory is /username(connected to linux machine)
- pscp>cd file
- remote directory is now /username/file
- pscp>pwd
- remote directory is /username/file
- pscp>ls
- listing directory /username/file
- some files which are existing under file will display here(for example abc.txt)
- pscp>get abc.txt
- remote :/username/file/abc.txt =>local:abc.txt
- pscp>put xyz.txt
- local:xyz.txt => remote:/username/file/xyz.txt
- c:\Program Files\putty>PSCP.EXE c:\mySource\*.html username@198.189.95.4:/username/file/
- username@198.189.95.4's password:enter ur password
- files are transfered
- c:\program files\putty>
- c:\Program Files\putty>PSCP.EXE username@198.189.95.4:/username/file/*.txt c:\mySource\
- username@198.189.95.4's password:enter ur password
- files are transfered
- c:\program files\putty>
No comments:
Post a Comment
If you Like my blog Spread it and help friends for whom this blog is useful for their career.