# 2 :21 ftp

```
$ ftp 192.168.197.68
Connected to 192.168.197.68.
220 (vsFTPd 3.0.3)
Name (192.168.197.68:kashz): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

ftp> passive
Passive mode on.

ftp> dir
227 Entering Passive Mode (192,168,197,68,156,65).
150 Here comes the directory listing.
drwxr-xr-x    2 ftp      ftp          4096 Apr 24  2020 PackageKit
drwxr-xr-x    5 ftp      ftp          4096 Apr 24  2020 apache2
drwxr-xr-x    5 ftp      ftp          4096 Sep 21  2020 apt
drwxr-xr-x    2 ftp      ftp          4096 Apr 22  2020 dbus
drwxr-xr-x    2 ftp      ftp          4096 Apr 24  2020 dhcp
drwxr-xr-x    7 ftp      ftp          4096 Sep 21  2020 dpkg
drwxr-xr-x    2 ftp      ftp          4096 Apr 20  2020 git
drwxr-xr-x    2 ftp      ftp          4096 Apr 24  2020 initramfs-tools
drwxr-xr-x    2 ftp      ftp          4096 May 07  2020 logrotate
drwxr-xr-x    2 ftp      ftp          4096 Sep 08  2019 misc
drwxr-xr-x    5 ftp      ftp          4096 Mar 10 20:43 mysql
drwxr-xr-x    2 ftp      ftp          4096 Jul 13  2017 os-prober
drwxr-xr-x    2 ftp      ftp          4096 Apr 24  2020 pam
drwxr-xr-x    4 ftp      ftp          4096 Apr 24  2020 php
drwx------    3 ftp      ftp          4096 Apr 24  2020 polkit-1
drwxr-xr-x    2 ftp      ftp          4096 Apr 24  2020 python
drwxr-xr-x    3 ftp      ftp          4096 May 08  2020 rabbitmq
drwxr-xr-x    2 ftp      ftp          4096 Apr 24  2020 sgml-base
drwxr-xr-x    6 ftp      ftp          4096 Apr 22  2020 systemd
drwxr-xr-x    3 ftp      ftp          4096 Apr 30  2020 ucf
drwxr-xr-x    3 ftp      ftp          4096 Apr 22  2020 vim
drwxr-xr-x    3 ftp      ftp          4096 Apr 24  2020 vmware
drwxr-xr-x    2 ftp      ftp          4096 Apr 24  2020 xml-core
226 Directory send OK.

ftp> pwd
257 "/var/lib" is the current directory
```
