cancel
Showing results for 
Search instead for 
Did you mean: 

FTP adapter - Processing Mode "Test"

Former Member
0 Kudos

Hi Experts,

I'm getting files from the FTP site. The requirement is I should not delete the files on the FTP site. Is it advisible to use Processing mode "Test" on the production server. Will this cause any problems.

Thanks,

Rakesh.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks for your replies. Actually there is a script running on the FTP site which will automatically delete the file once it is read by the XI. That is why I'm not allowed to use Archive or Delete mode. Vendor is not agreeing for that. And in help.sap.com it's mentioned that "Test" mode is not suitable for production. It is only for testing within the integration engine.

nisarkhan_n
Active Contributor
0 Kudos

Yes thats true it uis not suitable because the files cannot be tracked..if you have seperate scripts which can do teh archiving then you neednt worry.

Former Member
0 Kudos

Yes Nissar,

I wrote a batch file which will go to the FTP site and get the files into a network folder(Archive). In Channel I configured as "Test" and running the batch job after processing. This is running good in Development box, but my only question is, Will usiing "Test" mode causes any problems in production.

Thanks,

Rakesh.

santhosh_kumarv
Active Contributor
0 Kudos

Hi Rakesh,

How would the script know that the file have been ppooled by the XI before moving it to the archieve folder?

Assume if the files have not been picked by XI because of the adapter engine or CC being stopped / production environment down then the file will remain in the same folder without processed and if the script archive these file then it would be an conflict.

Regards

San

nisarkhan_n
Active Contributor
0 Kudos

From Xi point of view there will be no problems as far as my view.

Former Member
0 Kudos

Hello,

guess it will work with test mode and you can do it like this.

But why don't you use the archive mode instead of using your batch-file, because then you will be conform with the standard.

Regards

Patrick

nisarkhan_n
Active Contributor
0 Kudos

Process Mode "Test" will read the file without deleting it from origiral location but you cannot keep track of number of differenct files int he source directory.....

Better you arhive this to once folder which you can use as reference in any point of time.

Former Member
0 Kudos

Try the Archive mode

Archive it into some other folder

Files that have been successfully processed are moved to an archive directory

Check the help for that

http://help.sap.com/saphelp_nw04s/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm];

This would not delete the file but also remove it from the main folder

Hope this is helpful

Award points if useful

Edited by: Abhishek Vinayaka on Feb 28, 2008 4:47 AM

Former Member
0 Kudos

Hi,

Nothing will happen, but if another file have been placed after some days means this new file will be over write the old file .

The processed file will not be availble in the source FTP.

If u dont wat to delete the file from FTP and u dont want to over write the file when the next file comes menas, use Read only mode is the Best

Regards

Seshagiri

Former Member
0 Kudos

Hello,

yes you can use processing mode 'Test' and this will not delete the file,

BUT you have to think about that your file Adapter will start again the scenario

always as long the file exists.

And in SAP Help it's written:

>Test

>Files are not processed.

>Only use this mode to test the configurations of the file/FTP adapter or the >Integration Engine/PCK. It is not suitable for productive operation.

Maybe you can use the processing mode 'Archive' -> the file is not deleted but moved to an archive directory

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

Regards

Patrick