on 10-24-2008 11:25 AM
Hi,
When i use the file adapter in FTP mode i need to add an xtra command before sending the file.
I.ex: SITE LRECL=84 RECFM=VB WRAPRECORD
Using manual connect i do this
ftp 111.111.111.111.
User/pass
SITE LRECL=84 RECFM=VB WRAPRECORD
put c: est.txt test.txt
quit
But how do i add the xtra command? The Run OS command thing - thats before FTP is connected isn´t it?
/Jakob
If possibe, you could write the file on a file server using the NFS option of hte file adapter, and then use a simple shell script (if on UNIX) which contains your FTP commands to do the FTP part. You will specify the script name in the the 'Run OS Command After Message Processing' parameters.
I have used something very similar in the past...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.