Buen dia FORO

Tengo una consulta referente a utilizacion de funciones de FTP, estuve leyendo 
algunos documentos.
Entonare la utilización de subcomando para FTP., el mismo es QUOTE.

Si alguien tuvo experiencia, si me puede indicar que libreria o COPY para 
agregar dentro de una aplicación,

Muchas gracias


Este es el programa y la utilización de subcomando:
------------------------------------------------------------------

     x = FTP_conn('myintra': 'as400': 'as400': port);
     if (x < 0);
        errormsg = FTP_error();
        // display errormsg to user and exit.
     endif;

     //----------------------------------------------
     // now tell the proxy how to connect to the
     // server
     //----------------------------------------------

     rc = FTP_quote(x: 'USER user@xxxxxxxxxx');
     if (rc<>331);
        errormsg = FTP_error();
        FTP_quit(x);
        // display errormsg to user and exit.
     endif;

     rc = FTP_quote(x: 'PASS password');
     if (rc<>230 and rc<>202);
        errormsg = FTP_error();
        FTP_quit(x);
        // display errormsg to user and exit.
     endif;

     //----------------------------------------------
     // finally, tell it the server our userid and
     //  password
     //----------------------------------------------

     rc = FTP_quote(x: 'USER serveruser');
     if (rc<>331);
        errormsg = FTP_error();
        FTP_quit(x);
        // display errormsg to user and exit.
     endif;

     rc = FTP_quote(x:

____________________________________________________
�nete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 � Publicaciones Help400, S.L.

Reply via email to