Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I need to copy files from a windows folder to AS400 library.
Obviously the tFileCopy component will not work !!!
I'm wondering if there is way to do that using FTP or something else.
Regards,
Arsenios
Hello,
Please have a look at this job design:tfilelist-->tfileinputXXX-->tAS400Output.
You can Iterates your folder in a given directory based on a filemask pattern by using tfilelist component and load your files into AS400 database.
Let us know if it is OK with you.
Best regards
Sabrina
@ars,you can try to put the file using tFTPput from local to remote server.
Hi manodwhb,
I'm using tFTPPut component in order to upload a file e.g.EDI_ARS from local folder to a AS400 - e.g. LIBA/EDI/EDI_ARS (library name/physical file/member?)
Something in my declarations is wrong because no file is being uploaded.
Can you please see my attachment and advice what is wrong ?
Thank you,
Arsenios
Hi xdshi,
I'm not so familiar with tAS400 component.
I see there is a table declaration but I can't understand how it works!
Can you please give me a sample?
Regards,
Arsenios
@ars,Filemask Can you use as "*EDI_ARS*" ?
@ars,you schould specify the all path of remote directory.did you specified?
you just specified LIBA,
I have tried various remote directory setups
e.g.
LIBA/EDI ("/" character is not allowed)
LIBA.EDI returne error
It seems that remote directory only accepts library name LIBA.
@ars,you should use in the below way for directory.
For EIndow C drive means
C:/LIBA/EDI
for Unix
/LIBA/EDI