cancel
Showing results for 
Search instead for 
Did you mean: 

OS commands in File adapter

Former Member
0 Kudos

Hi Experts,

I have a requirement to move the xml file(size 2GB) across the FTP server. I thought of zipping the file due to huge size before picking it up and unzip before dropping at the receiver FTP.

I know we can use Run Operating System command before and after message processing option in File adapter, but can you please guide me how can really use this option.

Thanks in advance,

MK

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear MK,

Below is the link which will expalin you in detail how to use Run Operating System Command.

Here are the guide for unix commands.

http://www.simotime.com/ftp4cmd1.htm

ravi_raman2
Active Contributor
0 Kudos

Mk,

Did you try getting the unix unzip command and you can call that to zip it on windows also..

Regards

Ravi Raman

Former Member
0 Kudos

Hey

OS commands run only on NFS,since you want to pick up file from FTP,you can't use that option.

Thanx

Aamir

Former Member
0 Kudos

Thanks Aamir.

Basis informed us that the files are also NFS mounted, so please explain the configuration required to achieve the complete requirement.

Former Member
0 Kudos

Hey

You can use the PayloadZipBean for this,its a module provided by SAP,you can use this to zip and unzip the files

Thanx

Aamir

Former Member
0 Kudos

hi mk

check the below blogs

*OS COMMAND *

Executing Unix shell script using Operating System Command in XI

Performing FTP Commands From ABAP

regards

kummari