zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Understanding FTP using commands

November 29, 2010 by Igor Drobot Leave a Comment

FTP and SMTP are simple text based protocols, I show you how to get some files without a graphical FTP-Client.

Connect with Telnet:

1
2
3
4
5
6
id@acer:~$ telnet debianuser.org 21
Connected to debianuser.org.
USER anonymous
PASS anonymous
PASV
RETR deli-0.8.0-core.iso

id@acer:~$ telnet debianuser.org 21 Connected to debianuser.org. USER anonymous PASS anonymous PASV RETR deli-0.8.0-core.iso


Connect with ftp client:

1
2
3
4
5
6
7
8
id@acer:~$ ftp debianuser.org
Connected to debianuser.org.
220 ::ffff:188.40.116.206 FTP server read
Name (debianuser.org:id): anonymous
Password: anonymous
ftp> passive
ftp> dir
ftp> get deli-0.8.0-core.iso

id@acer:~$ ftp debianuser.org Connected to debianuser.org. 220 ::ffff:188.40.116.206 FTP server read Name (debianuser.org:id): anonymous Password: anonymous ftp> passive ftp> dir ftp> get deli-0.8.0-core.iso

Execute a local command and stay connected.

1
ftp> !ls -la

ftp> !ls -la

Filed Under: Bash, FTP, Linux Tagged With: command line ftp, FTP

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *