PSFTP.EXE:
To transfer a file from local machine to linux we use some filezilla tool.
In case if we don't have a tool how do we transfer a file from our local machine to linux?
for this now we are going to use PSFTP.EXE executable file to transfer from local machine to remote and vice versa
To transfer a file from local machine to linux we use some filezilla tool.
In case if we don't have a tool how do we transfer a file from our local machine to linux?
for this now we are going to use PSFTP.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>PSFTP.EXE
- psftp:no host name specified; use "open host.name" to connect
- psftp> 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)
- psftp>cd file
- remote directory is now /username/file
- psftp>pwd
- remote directory is /username/file
- psftp>ls
- listing directory /username/file
- some files which are existing under file will display here(for example abc.txt)
- psftp>get abc.txt
- remote :/username/file/abc.txt =>local:abc.txt
- psftp>put xyz.txt
- local:xyz.txt => remote:/username/file/xyz.txt
No comments:
Post a Comment
If you Like my blog Spread it and help friends for whom this blog is useful for their career.