on 07-02-2012 9:16 AM
Hi Folks,
i want help on following scenario.
i want to pick files from some folder suppose *.csv files in test mood and then send to another ftp folder.
again when user put more files then i don't want to pick old files.
e.g. earlier it pick files 1.csv,2.csv,3.csv
after some time new files will come like 4.csv,5.csv
i want only pick 4.csv,and 5.csv.
so how can i prevent them not to pick old files
Regards
Gagandeep.
Hi Gagandeep,
You mean you want to process the files, but without removing them from the source directory? AFAIK, this is possible with Processing Mode = "Set to Read-Only":
By default, PI only processes files that are not Read-Only. If you choose this option, each file is set to Read-Only after processing (instead of deleting/archiving), so that it is not processed again.
Read more about this feature here:
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gagandeep,
The suggestion by Greg would work, but you have that option only with NFS protocol.
Alternatively you can try to archive the files to new location.
>>but after one week i want to pick all files for some report generation
If this is going to be another interface, then you can pick the file from Archive directory. You can also try to achieve the scenario with shell scripts.
Hi
I have requirement like this.
EX:
I have file name called ABC_20120702 01:30:01.csv,ABC_20120702 01:31:00.csv , i have to pickup that file today and should not delete it and should not mark as 'Read only'. We have to keep that file as is in FTP.
I will have another file like ABC_20120702 01:35:02.csv , i have to pickup this file alone and next week i need to pick all fiels
Please let me know how can we do this?
Regards
Gagandeep
Hi,
I was wondering if the best way is to rename these files or your client generates these files with different name-pattern in order to be selected with different interfaces and with the options pointed by Greg or Zammer.
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 |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.