How to install and Use PSFTP – Putty’s SFTP Client
Go to - https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
And
Download - https://the.earth.li/~sgtatham/putty/latest/w64/psftp.exe
- Once the client is open. [PS: don't use root user, instead login as a normal user]
psftp: no hostname specified; use "open host.name" to connect
psftp> open root@192.168.119.144
Using username "root".
root@192.168.119.144's password:
Remote working directory is /root
psftp> dir
Listing directory /root
dr-xr-x--- 17 root root 4096 Dec 9 22:41 .
dr-xr-xr-x 21 root root 4096 Nov 24 16:15 ..
-rw------- 1 root root 22167 Dec 10 00:30 .bash_history
-rw-r--r-- 1 root root 18 Dec 29 2013 .bash_logout
-rw-r--r-- 1 root root 259 Dec 8 13:27 .bash_profile
-rw-r--r-- 1 root root 176 Dec 8 13:25 .bashrc
psftp: no hostname specified; use "open host.name" to connect
psftp> open root@192.168.119.144
Using username "root".
root@192.168.119.144's password:
Remote working directory is /root
psftp> dir
Listing directory /root
dr-xr-x--- 17 root root 4096 Dec 9 22:41 .
dr-xr-xr-x 21 root root 4096 Nov 24 16:15 ..
-rw------- 1 root root 22167 Dec 10 00:30 .bash_history
-rw-r--r-- 1 root root 18 Dec 29 2013 .bash_logout
-rw-r--r-- 1 root root 259 Dec 8 13:27 .bash_profile
-rw-r--r-- 1 root root 176 Dec 8 13:25 .bashrc
psftp: no hostname specified; use "open host.name" to connect
psftp> open root@192.168.119.144
Using username "root".
root@192.168.119.144's password:
Remote working directory is /root
psftp> lpwd
Current local directory is C:\Users\rajus\OneDrive\Documents\splunk
psftp> put fakedata.csv
local:fakedata.csv => remote:/root/fakedata.csv
psftp> ls
Listing directory /root
dr-xr-x--- 17 root root 4096 Dec 10 11:51 .
dr-xr-xr-x 21 root root 4096 Nov 24 16:15 ..
-rw------- 1 root root 22167 Dec 10 00:30 .bash_history
-rw-r--r-- 1 root root 18 Dec 29 2013 .bash_logout
-rw-r--r-- 1 root root 259 Dec 8 13:27 .bash_profile
-rw-r--r-- 1 root root 176 Dec 8 13:25 .bashrc
-rw-r--r-- 1 root root 127819 Dec 10 11:51 fakedata.csv