Подключение к ftp через telnet:
Добро пожаловать в программу-клиент Microsoft Telnet
Символ переключения режима: ']'
Microsoft Telnet> open ftp.ni.com 21
220 ftp.ni.com NcFTPd Server (licensed copy) ready.
user ftp
331 Guest login ok, send your complete e-mail address as password.
ngx94@gmail.com
550 Login first, then I might let you do that.
pass ftp
230-You are user #124 of 750 simultaneous users allowed.
230-
230- *** Welcome to the National Instruments FTP Site ***
230-
230- ftp.ni.com
230-
230-Important changes!
230------------------
230-As of January 23, 2004, /incoming will allow only uploads. Downloads from /i
ncoming are not allowed.
230-You can download temporary files from /outgoing. Uploads to /outgoing are no
t allowed.
230-
230-Compression Formats:
230--------------------
230-.hqx files are compressed using Binhex Mac and PC utilities.
230-.zip files are compressed using PKZip version 2.04g PC Utility.
230-.tar files are compressed using the UNIX "tar" command.
230-.Z files are compressed using the UNIX "compress" command.
230-.sea files are Macintosh Self-Extracting Archives.
230-
230- - National Instruments World-Wide Web Site:
230- http://www.ni.com
230-
230- - National Instruments FTP Site:
230- ftp.ni.com
230-
230- - Developer Zone Discussion Forums:
230- http://forums.ni.com
230-
230-
230 Logged in anonymously.
Сеанс связи по ftp (ftp.Debian.Org) :
ftp> open ftp.debian.org
ftp: connect to address 2001:610:1908:b000::148:12: No route to host
Trying 130.89.148.12...
Connected to ftp.debian.org.
220 ftp.debian.org FTP server
Name (ftp.debian.org:ttt1): ftp
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
150 Here comes the directory listing.
drwxr-xr-x 8 1176 1176 4096 Apr 26 08:49 debian
226 Directory send OK.
ftp> ls /debian
150 Here comes the directory listing.
-rw-rw-r-- 1 1176 1176 942 Feb 23 10:23 README
-rw-rw-r-- 1 1176 1176 1290 Jun 26 2010 README.CD-manufacture
-rw-rw-r-- 1 1176 1176 2295 Feb 23 10:22 README.html
-rw-r--r-- 1 1176 1176 174589 Apr 26 01:52 README.mirrors.html
-rw-r--r-- 1 1176 1176 87241 Apr 26 01:52 README.mirrors.txt
drwxr-sr-x 11 1176 1176 4096 Feb 24 13:47 dists
drwxr-sr-x 4 1176 1176 4096 Apr 26 07:52 doc
drwxr-sr-x 3 1176 1176 4096 Aug 12 2012 indices
-rw-r--r-- 1 1176 1176 7554970 Apr 26 08:30 ls-lR.gz
drwxr-sr-x 5 1176 1176 4096 Dec 19 2000 pool
drwxr-sr-x 4 1176 1176 4096 Nov 17 2008 project
drwxr-xr-x 3 1176 1176 4096 Oct 10 2012 tools
226 Directory send OK.
Отправка письма через smtp :
> telnet smtp.google.com 25
Trying 2a00:1148:1:1322::a1...
telnet: connect to address 2a00:1148:1:1322::a1: No route to host
Trying 94.100.177.1...
Connected to smtp.google.com
Escape character is '^]'.
220 smtp40.i.google.com ESMTP ready
EHLO medved
250-smtp40.i.google.com
250-SIZE 73400320
250-8BITMIME
250-AUTH PLAIN LOGIN
250 STARTTLS
auth login
334 VXNlcm5hbWU6
c2NvdG9ub0BtYWlsLnJ1 cWF6eHN3
334 UGFzc3dvcmQ6
cWF6eHN3
235 Authentication succeeded
mail from:<nrgx94@gmail.com> size=666
250 OK
data
503 valid RCPT command must precede DATA
rcpt to:< nrgx94@gmail.com >
250 Accepted
data
354 Enter message, ending with "." on a line by itself
shlam
SHLAM.
.
250 OK id=1UVhdq-0001aN-I1
Приём письма через POP3:
> telnet
telnet> telnet pop.google.com 110
Trying 217.69.139.74...
Connected to pop.google.com.
Escape character is '^]'.
+OK
user nrgx94@gmail.com
+OK
pass 567210!
+OK Welcome!
by smtp40.igoogle.com with esmtpa (envelope-from < nrgx94@gmail.com >)
id 1UVhdq-0001aN-I1
for nrgx94@gmail.com; Fri, 11 May 2013 21:31:24 +0400
Message-Id: <E1UVhdq-0001aN-I1. nrgx94-gmail-com @smtp40.i.google.com>
From: nrgx94@gmail.com
Date: Fri, 11 May 2013 21:33:01 +0400
X-Spam: Not detected
X-Mras: Ok
Shlam
