Después de un descanso por vacaciones vuelvo al ataque.

Necesito pasar ficheros del AS/400 a un servidor FTP y viceversa 

Logro conectar con el  servidor FTP pero no encuentra los ficheros tanto si
hago GET como si hago PUT 

Alguien me puede detallar la estructura de los comandos PUT y GET?? NO lo
logro encontrar en ningún sitio

 

Gracias

 

Elvira

 

Detallo lo que hago

En el fichero FINPUT

 

USUARIO CONTRASEÑA (DEL FTP)

NAMEFMT 1

GET QGPL/FICHERO

QUIT

 

En el CL

 

PGM

OVRDBF FILE(INPUT) TO FILE(BIBLIO/FTPSRC) MBR(FINPUT)

OVRDBF FILE(OUTPUT) TO FILE (BIBLIO/FTPSRC) MBR(FLOG)

FTP RMTSYS(‘XXX.XXX.XX.XXX’)

DLTOVR FILE(INPUT OUTPUT)

ENDPGM

 

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

Responder a