on 12-07-2009 7:16 AM
Hi All
My scenario is like this --
I have to put xml file over ftp server but before SAP adapter pics up a file i need to rename this file into my ftp server.
How can i achieve this?
how can i access my ftp server through my Adapter module???
Regards
Dheeraj Kumar
Dheeraj Is your requirement is like this ?
SAP -> FTP which means (I have to put xml file over ftp server )
Rename the file
FTP -> SAP which means (SAP adapter pics up a file )
In that case after placing the files in FTP server , you can user UNIX script to rename it
Regards,
Senthil Nattamai Sekar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Senthil
Yes Senthil this is my requirement, you got it very clearly.
You are telling about UNIX script but this i need to write in my ftp server am i right na, if am wrong please correct me. My client dont want to put any work on ftp because ftp is already over burdened.
They need a module. I have already written a module but not able able to rename the file it still.
Regards
Dheeraj kumar
Not sure I full understand your requirement : do you need to put the file and THEN rename it once uploaded into FTP server ? Or do you need to rename it after PUT ?
Chris
PS : I initially thought about suggesting writing a custom adapter module that would handle the file rename operation (either locally or remotely), but I think it is not recommended to use IO operation with EJBs ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure if you can access the files system in the module chain. Check your configuration channel's Processing tab it lets you run an operating system command before picking up the file. Of course this will not work if your naming scheme depends on your mapping.
Regards,
Sven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.