*prueba con NAMEFMT 0* * * *o bien si usas namefmt 1 debes acceder a los ficheros usando nomenclatura unix como* * * get asys.lib/qgpl.lib/fichero.file * * *mas o menos.* * * *Saludos,* *Guillermo Andrades* *http://cpiSoftware.es* * * * * El 30 de agosto de 2010 19:51, Elvira Vázquez <[email protected]>escribió:
> > > 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. >
____________________________________________________ Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd ) Forum.Help400 © Publicaciones Help400, S.L.

