16.04.2015 Views

Redes de computadores

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ª FUOC • XP04/90786/00020<br />

Software libre<br />

cd doc<br />

C:4695 → S:21 CWD doc<br />

S:21 → C:4695 250 CWD command successful.<br />

dir<br />

C:4695 → S:21 PORT 193,146,196,254,18,89<br />

S:21 → C:4695 200 PORT command successful.<br />

C:4695 → S:21 LIST<br />

S:20 → C:4697 (establecimiento <strong>de</strong> conexión)<br />

S:21 → C:4695 150 ASCII data connection for /bin/ls<br />

(193.146.196.254,4697) (0 bytes).<br />

S:20 → C:4697 total 886<br />

drwxr-xr-x 2 0 other 512 Oct 24 1996 .<br />

...<br />

S:20 → C:4697 (cierre <strong>de</strong> conexión)<br />

S:21 → C:4695 226 ASCII Transfer complete.<br />

get README<br />

C:4695 → S:21 PORT 193,146,196,254,18,91<br />

S:21 → C:4695 200 PORT command successful.<br />

C:4695 → S:21 RETR README<br />

S:20 → C:4699 (establecimiento <strong>de</strong> conexión)<br />

S:21 → C:4695 150 ASCII data connection for README<br />

(193.146.196.254,4699) (95 bytes).<br />

S:20 → C:4699 (contenido <strong>de</strong>l fichero)<br />

S:20 → C:4699 (cierre <strong>de</strong> conexión)<br />

S:21 → C:4695 226 ASCII Transfer complete.<br />

bye<br />

C:4695 → S:21 QUIT<br />

S:21 → C:4695 221 Goodbye.<br />

S:21 → C:4695 (cierre <strong>de</strong> conexión)<br />

18.2. El TFTP<br />

Hay situaciones en las que se necesita transferir ficheros <strong>de</strong> un or<strong>de</strong>nador<br />

a otro y el FTP no es apropiado, principalmente a causa <strong>de</strong> su<br />

complejidad.<br />

ANOTACIONES<br />

Nota<br />

Un ejemplo típico en el que se observa la necesidad<br />

<strong>de</strong> transferir ficheros <strong>de</strong> un or<strong>de</strong>nador a otro es el <strong>de</strong><br />

las estaciones <strong>de</strong> trabajo sin disco, que cargan el sistema<br />

operativo por medio <strong>de</strong> la red. En este caso,<br />

<strong>de</strong>be haber un or<strong>de</strong>nador que funcione como “servidor<br />

<strong>de</strong> arranque” <strong>de</strong> la estación, proporcionándole el<br />

fichero o ficheros en que se encuentra el código ejecutable<br />

<strong>de</strong>l sistema operativo.<br />

230

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!