Te envio un ejemplo que enviaron al foro hace un tiempo. Espero te sirva. Saludos


--------------------------------------------------------------
Mediante FTP. Te adjunto un ejemplo:

Enviar y recibir objetos v�a FTP.
DESDE EL AS/400 A PC.
En el AS/400.
1. En primer lugar crear o limpiar un fichero de salvar (SAVF).
 CRTSAVF (nombre-de-la-biblioteca/nombre-del-fichero).
 CLRSAVF (nombre-de-la-biblioteca/nombre-del-fichero).
2. Salvar la biblioteca o los objetos.
 SAVOBJ OBJ(xx zz) LIB(nombre-de-la-biblioteca-a-salvar) DEV(*SAVF)
SAVF(nombre-de-la-biblioteca/nombre-del-fichero) DTACPR(*YES)
 SAVLIB LIB(nombre-de-la-biblioteca-a-salvar) DEV(*SAVF) SAVF(nombre-
de-la-biblioteca/nombre-del-fichero) DTACPR(*YES)

Atenci�n:       Se ha de verificar el RELEASE del AS/400 desde el que
se env�an los datos y del AS/400 que los recibir�.

En el PC.
3. Llamar al MS/DOS.
4. Conectarse mediante FTP con el AS/400, e introducir:
 >ftp ip-del-AS400 (donde se encuentra el fichero de salvar).
Connected to ip-del-AS400.
220-QTCP at ip-del-AS400.
220 Connection will close if idle more than 5 m
 User (AS/400:(none)): nombre-del-usuario-de-AS/400.
331 Enter password.
 Password: Contrase�a-del-usuario-de-AS/400.
230 logged on.
 bin     muy importante.
200 Representation type is binary IMAGE.
 get nombre-de-la-biblioteca/nombre-del-fichero (en el AS/400) c:
\directorio-pc\.\ nombre-del-fichero (en-el-PC).
 >bye (finalizar el protocolo ftp).
 >exit (finalizar la pantalla de MS/DOS).

DESDE EL PC AL AS/400.
En el PC.
5. Llamar al MS/DOS.
6. Conectarse mediante FTP con el AS/400, e introducir:
 >ftp ip-del-AS400 (donde se copiara el fichero de salvar).
Connected to ip-del-AS400.
220-QTCP at ip-del-AS400.
220 Connection will close if idle more than 5 minutes.
 User (AS400:(none)): nombre-del-usuario-de-AS/400.
331 Enter password.
 Password: Contrase�a-del-usuario-de-AS/400.
230 logged on.
 bin     muy importante.
 200 Representation type is binary IMAGE.
 put c:\directorio-pc\.\ nombre-del-fichero.extensi�n (en-el-PC)
nombre-de-la-biblioteca/nombre-del-fichero (en el AS/400).
200 PORT subcommand request successful.
150 Sending file to member ORIGIN in file ORIGIN in library QGPL.
250 File transfer completed successfully.
ftp: 735504 bytes sent in 1.38Seconds 532.97Kbytes/sec.
 >bye (finalizar el protocolo ftp).
 >exit (finalizar la pantalla de MS/DOS).



Gerardo Santillana
IT Department
Delphi Mechatronic Systems
US Ph: (956) 554 5832
MX Ph: (868) 812 81 63/64/65  Ext 5832
Pager: (956) 768 1048
Mobil E-mail [EMAIL PROTECTED]
e-mail [EMAIL PROTECTED]



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 3:36 PM
To: [EMAIL PROTECTED]
Subject: Backup II


Gracias a todos por las contestaciones, ahora tengo una consulta mas
Ya cree SAVF y quiero pasarlo a una PC como realizo esto, por favor una
explicacion un poco detallada, porque no puedo hacerlo, y soy medio duro.
El SAVF que cree tiene 11 GB asi que es bastante pesado.
Desde ya muchas Gracias

Pablo G.

--------
E-mail y acceso a Internet UltraVeloz totalmente GRATIS en Buenos Aires,
Rosario, Cordoba, Mendoza, La Plata y Pilar
http://www.Argentina.com
Nro. de acceso 5078-5000 Usuario: Argentina Password: Argentina




_____________________________________________________
Forum.HELP400 es un servicio m�s de NEWS/400.
� Publicaciones Help400, S.L. - Todos los derechos reservados
http://www.help400.es
_____________________________________________________

Para darte de baja, env�a el mensaje resultante de pulsar
mailto:[EMAIL PROTECTED]

****************************************************************************************

Note: The information contained in this message may be privileged and confidential and 
thus protected from disclosure. If the reader of this message is not the intended 
recipient, or an employee or agent responsible for delivering this message to the 
intended recipient, you are hereby notified that any dissemination, distribution or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to the message and 
deleting it from your computer. Thank you.

****************************************************************************************

_____________________________________________________
Forum.HELP400 es un servicio m�s de NEWS/400.
� Publicaciones Help400, S.L. - Todos los derechos reservados
http://www.help400.es
_____________________________________________________

Para darte de baja, env�a el mensaje resultante de pulsar
mailto:[EMAIL PROTECTED]

Responder a