on 09-17-2012 7:22 AM
Hi All,
I have scenario proxy to SFTP. My requirement is target file name set dynamically and same file as zip. For example "123.zip" inside zip file "123.xml".Please provide your inputs achieve this requirement.
Regards,
Ramesh
Hi Ramesh,
Instead, you can use the file adapter at receiver side and perform dynamic configuration.
Using the Run operating system, you can zip the file using the name of the XML file.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Using the ASMA I got dynamic file and using zip module ziped the file extension with .ZP. But my requirement is Zip filename and inside zip file name shout be same. I am getting now ST_MXMLF_A0120120919071226.zip but inside this file i got main document file .How can i achieve this .Please provide the you inputs.
Regards,
Hi Ramesh,
I already discussed this issue in the below thread.
Hope we can't achieve this using ASMA/Dynamic configuration. Plz refer the below thread for more details,
http://scn.sap.com/thread/3174585
Thanks
Baskaran K
Hi Mark,
Use Java Mapping. Refer my article : Zipping Payload in Java Mapping
- set zip entry file name in java mapping
- set zip file name using dynamic configuration code in the same java mapping
Regards,
Praveen Gujjeti
Hi Ramesh,
As per the reply from Stefan in the below thread, it is not possible to set the file name dynamically using contentType.
http://scn.sap.com/thread/759529
You can try the option with adapter module using the code given by Charu Kulkarni in the same thread.
-Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramesh,
You could use the dymanic configuration to change the file name, you could follow the Michal's blog for this http://scn.sap.com/community/pi-and-soa-middleware/blog/2006/02/23/xi-dynamic-name-in-the-mail-attac...
To zip the file you could use the PayloadZipBean module: http://scn.sap.com/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the... by Stefan Grube
But if you are going to use an special adapter like AS2 seeburger may be these solutions doesn't work, i can't assure you that they are supported.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.