Capa Aplicacion FTP

download Capa Aplicacion FTP

of 23

Transcript of Capa Aplicacion FTP

  • 7/25/2019 Capa Aplicacion FTP

    1/23

    [email protected]@gmail.com

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Capa de Aplicacin:

    FTP

    San Miguel, 2014

    Profesor: Ing. Ronald Paucar Curasma

  • 7/25/2019 Capa Aplicacion FTP

    2/23

    [email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    [email protected]

    Protocolo de Transferencia de Archivos

    En TCP/IP, el protocolo estndar para transferencia dearchivos es FTP, File Transfer Protocol.

    Es un protocolo de propsito general:

    Es independiente del sistema operativo y hardware.

    Transfiere archivos arbitrarios.

    Acomoda la propiedad de los archivos y las restricciones de

    acceso.

    Es previo a TCP/IP. Fue adaptado despus para TCP/IP.

  • 7/25/2019 Capa Aplicacion FTP

    3/23

    [email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    [email protected]

    Modelo e Interfaz El protocolo trabaja en modo interactivo o batch.

    Por ejemplo: el cliente ftp provee una interfaz

    interactiva,

    MIME, HTTP puede usar el protocolo directamente en

    modo batch.

    Las acciones del protocolo incluyen:

    Listar el contenido de los directorios,

    Cambio de directorio

    Traer archivos (get) poner archivos (put)

  • 7/25/2019 Capa Aplicacion FTP

    4/23

    [email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    [email protected]

    Comandos del Cliente ftp

  • 7/25/2019 Capa Aplicacion FTP

    5/23

    [email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    FTP

  • 7/25/2019 Capa Aplicacion FTP

    6/23

    [email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    FTP

  • 7/25/2019 Capa Aplicacion FTP

    7/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Modos de operacin de protocolo FTPModo activo:

    Modo pasivo:

  • 7/25/2019 Capa Aplicacion FTP

    8/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Modos de operacin de protocolo FTP

  • 7/25/2019 Capa Aplicacion FTP

    9/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Modos de operacin de protocolo FTP

  • 7/25/2019 Capa Aplicacion FTP

    10/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Modos de operacin de protocolo FTP

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    11/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Modos de

    operacin deprotocolo FTP

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    12/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Comunicacin usando el control de

    conexin

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    13/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    NVT

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    14/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Format of NVT ASCII characters

    NVT

    Format of NVT control characters

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    15/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Usando conexin de datos

    Tipos de datos:

    ASCII o EBCDIC

    -Nonprint

    -TELNET

    Image

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    16/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Procesando comados

    Access Commands

    File Management

    Data Formatting Port defining

    File transfer

    Miscellaneous

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    17/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Transferencia de archivo

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    18/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Cdigo de respuesta del servidor

    1xx Indican forma general, que se ha comenzado a realizar

    la accin

    2xx Indican que el comando se realiz con xito

    3xx Indican que se ha alcanzado el xito en un punto

    intermedio4xx Indican error temporal

    5xx Indican error permanente y no recuperable

    La respuesta general a un comando de control enviadopor un cliente es un cdigo de respuesta numrico

    formado por tres dgitos

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    19/[email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Ejemplo 01

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    20/23

    [email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Ejemplo 02

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    21/23

    [email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Ejemplo conexin server FTP

    % ftp challenger.atc.fhda.edu

    Connected to challenger.atc.fhda.edu

    220 Server ready

    Name: forouzan

    Password: xxxxxxx

    ftp > ls /usr/user/report

    200 OK

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    22/23

    [email protected]

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    Ejemplo conexin server FTP% ftp challenger.atc.fhda.edu

    Connected to challenger.atc.fhda.edu

    220 Server ready

    Name: forouzan

    Password: xxxxxxx

    ftp > ls /usr/user/report

    200 OK

    150 Opening ASCII mode

    ...........226 transfer complete

    ftp > close

    221 Goodbye

    ftp > quit

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS

  • 7/25/2019 Capa Aplicacion FTP

    23/23

    @ il

    UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOSFACULTAD DE INGENIERIA ELECTRNICA Y ELCTRICA

    @ il

    Clientes FTP

    La conexin a un servidor FTP se realiza mediante otros programasllamados Clientes de FTP. Existen mltiples clientes FTP en Internet, hay

    gratuitos y de pago. En CDmon.com recomendamos Filezilla, que es 100%

    gratuito, multilinge y desarrollado por programadores de todo el mundo.

    Los clientes FTP ms comunes:

    Filezilla

    CuteFTP

    BulletProof

    FlashFXP

    SmartFTP

    aceFTP

    http://filezilla.sourceforge.net/http://filezilla.sourceforge.net/http://www.cuteftp.com/http://www.cuteftp.com/http://www.bpftp.com/http://www.bpftp.com/http://www.inicom.net/pages/en.ffxp-home.phphttp://www.inicom.net/pages/en.ffxp-home.phphttp://www.smartftp.com/http://www.smartftp.com/http://software.visicommedia.com/en/products/aceftpfreeware/http://software.visicommedia.com/en/products/aceftpfreeware/http://software.visicommedia.com/en/products/aceftpfreeware/http://www.smartftp.com/http://www.inicom.net/pages/en.ffxp-home.phphttp://www.bpftp.com/http://www.cuteftp.com/http://filezilla.sourceforge.net/