on 06-30-2015 6:49 PM
Hi Experts,
I have a scenario , where in i have to pick the file from FTP source , delete the file and also archive it. Is this possible with standard PI File Sender adapter. or else i have to write any custom OS command.
We are working on PI 7.4 / Windows
Thanks,
Pooja
Hi Pooja,
Whether the original file is deleted and then archived or the original file is simply moved to the designated archive folder do you not end up with the same result? Are you trying to ensure that it is achieved in the manner you have described and that it cannot be done using a move or copy command?
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ryan,
I am moving the file between same file FTP servers but different folders.
So what i am asking is, when i select the processing mode as ARCHIVE, does this mode delete the file from FTP server when i sender communication channel picks the file and then archive the file into other FTP folder.
or it just picks the file from FTP server and then archive it and place it in different FTP folder, and don't delete the original file.
My Original requirement is :
I want to pick the file from FTP server , delete the file from that location , and the archive it and process it to receiver.
Thanks in advance for your help.
Pooja
Hi Pooja,
Yes, that is the actual functionality of processing mode parameter present in file adapter.
If you use processing mode as Archive, then the file adapter, after picking the file from the server, it moves the file from the original directory to the archive directory you mentioned.
Also, there is a option to add timestamp to the file which needs to be archive.
Use Archive on FTP server, if the archive directory is on the server instead of PI local server.
Under Processing Mode, specify what is to happen to the file that has been processed successfully:
○ Archive
■ To add a time stamp to the file name, select Add Time Stamp.
The time stamp has the format yyyMMdd-hhMMss-SSS. The time stamp ensures that the archived files are not overwritten and it enables you to sort them according to the time that they were received.
■ Enter the name of the Archive Directory.
○ Delete
○ Test
Files are not processed.
Only use this mode to test the configurations of the FTP adapter or the Integration Engine/PCK. It is not suitable for productive operation.
Regards
Vishnu
Hello Pooja,
In archieve mode Comm channel will pick the file from source folder, process it and archieve it to the other folder.
At the same time it will also delete the file from source folder which is what your require.
Regards,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pooja,
In archieve mode Comm channel will pick the file from source folder, process it and archieve it to the other folder.
At the same time it will also delete the file from source folder which is what your require.
Regards,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pooja,
Yes, it is possible using file adapter.
Under processing tab, you can see parameter PROCESSING MODE, select Archive. Then you will get option whether you want to archive on ftp server, check that option, which asks you to mention the archive path, to where you want to archive the path.
Let us know if you still having issues.
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pooja,
Yes, it is possible. Please refer the following link,
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm
--> Define Processing Parameters --> Point 4
Regards,
Nitin Patil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pooja,
I'm bit confused,do you want to archive in some other file server or in the same file server??
If you want to archive in the same file server different folder path ,then go for normal archive .It works like move command .moves the file from source to archive folder (not copy).
If you want to archive in different file server ,I would recommend you to use FILE receiver communication channel to do same.
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
I am moving the file between same file FTP servers but different folders.
So what i am asking is, when i select the processing mode as ARCHIVE, does this mode delete the file from FTP server when i sender communication channel picks the file and then archive the file into other FTP folder.
or it just picks the file from FTP server and then archive it and place it in different FTP folder, and don't delete the original file.
My Original requirement is :
I want to pick the file from FTP server , delete the file from that location , and the archive it and process it to receiver.
Thanks in advance for your help.
Pooja
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.