Yo hago lo siguiente:
 
PGM
OVRDBF     FILE(INPUT) TOFILE(LIB/FILE) +
             MBR(*FIRST)                          
STRTCPFTP  RMTSYS('0.0.0.0')                
OVRDBF     FILE(INPUT)    
ENDPGM
 
Y el file contiene:
 
usuario contraseÃa          
put lib/file destino
quit     
 
Saludos                                     

        -----Mensaje original----- 
        De: [EMAIL PROTECTED] en nombre de RUBIO-ENRIQUEZ Franc 
        Enviado el: mià 03/03/2004 15:29 
        Para: [EMAIL PROTECTED] 
        CC: 
        Asunto: * COMANDOS FTP EN CL
        
        

        Hola a todos:
        
        He leÃdo los correos anteriores referentes al uso de comandos FTP en CL y me 
he creado el CL anexo.
        
        Al ejecutarlo, llega un momento que me abre la sesiÃn de FTP y me pide el 
usuario y la contraseÃa, cuando todo lo tengo escrito en un miembro del fichero de 
texto (lo inserto como comentario en el CL).
        
        ÂQuà me falta o hago mal?.
        
        Gracias de antemano,
        
        Francisco Rubio EnrÃquez
        Cibernos Consulting, SAU
        
        
        
        -- Disclaimer ------------------------------------
        Ce message ainsi que les eventuelles pieces jointes constituent une 
correspondance prive et confidentielle a l'attention exclusive du destinataire designe 
ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne 
susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, 
distribution ou copie de cette transmission est strictement interdite. Si vous avez 
recu ce message par erreur, nous vous remercions d'en informer l'expediteur par 
telephone ou de lui retourner le present message, puis d'effacer immediatement ce 
message de votre systeme.
        ***
        This e-mail and any attachments is a confidential correspondence intended only 
for use of the individual or entity named above. If you are not the intended recipient 
or the agent responsible for delivering the message to the intended recipient, you are 
hereby notified that any disclosure, distribution or copying of this communication is 
strictly prohibited. If you have received this communication in error, please notify 
the sender by phone or by replying this message, and then delete this message from 
your system.

h®é‡³øÓG¬º{®øuãDY/øÓCînXœiȝëzZxÓD‹N‡h²Z,uêÞr,­ë®ö¢Èm¶ŸÿÃ
!zZxÓG¬=ªÚuªíy×j6žžöž–g§±¨Þë.–Öµç^¦élj¹šŠ[h~Šîš¥§4­ê®zË\¢fâ¢Çn‡r,@

Responder a