Renaming the archived file name
Hi,
We have a requirement where we are archiving the file using sender FILE adapter but we need to change the file name when it is archived. I am unable to find any option in Comm channel to change/rename the File name.
Pls suggest me is there anyway to achieve it.
Thanks in Advance,
sudha.
Hi sudhasree,
Please have a look at the following link and see if it helps you
Re: Archiving With FTP Receiver
It tells about how you can archive files with different name, time and dates format.
Also,
Please go through this link as well
Re: Archiving files
Best Regards
Edited by: Prakash Bhatia on May 8, 2009 2:53 PM
Similar Messages
-
In OSB file protocol, trying to get the archived file name in proxy service
Hi,
I have a requirement that i need to process the archived file of file protocol, with java callout in proxy service.
I am able to get the file name which is reading with 'tokenize($inbound/ctx:transport/ctx:request/tp:headers/file:fileName,"\\")[last()]' , but this file is getting archived to archive folder. I want to pass the archive file name as input to the Java callout.
Please let me know if this can achieve in OSB proxy or any other options.
Note : I am reading a xlsx file in the file protocolIf you're using pass by reference option in the file transport, I guess the archive filename can be obtained from $body/ctx:binary-content/@ref. Try it out.
-
How To Control The Archive File Name using file adpater or OSB file traspor
Hi all,
My requirement is I want to archive a file by appending my BPEL instant id to the file name.
Is this possible changing the file name when archive the file???
Thanks
PhaniI couldn't find that out when I had the same requirement. I was running out of time, so I let Archive functionality works as it works and used the write file option with opaque schema.
-
Is there a way to pass archive file name to the command-line control?
Hi there,
I have been researching the flash media live encoder laterly. But still cannot find confirmed anwsers on the following questions:
1. Is there a way to pass an archive file name to the command-line control when starting an encoder?
2. Can the username/password to the Flash Media Server be saved in the profile? If not, is there any otherway to provide(GUI mode) them automatically,
like as variables to a script?
Thanks a lot in advance.
Helen1. The only way to inform the command-line encoder about the archive file name is to save the FMLE session profile with the file name. The node for saving the file name is <output><file><path>C:\sample.flv</output></file></path>. The easier way to update the xml profile is to use "Save Profile" option of the GUI mode. If you want to programmatically update the file name, read the profile and update the node before launching the encoder. I hope this answers your question.
2. No. Credentials can't be saved in the profile. The only way to provide them programmatically is to use /ap and /ab commands for the command-line encoder. For GUI mode, there is no programmable option. But still you can try capturing keystrokes. -
File Adapter - Archived file name issue
Hello all.
I am using an 11g composite application to read from the file system and move/archive the files to a "Backup" subdirectory. Everything works well, but the archived file name has the original filename plus an extra long guid. E.g.
File_1.DAT_156dsfsdgw67rqwedb1c6b54d6fh7yerfa16wewet168erw)-dsfsdg
Does anyone know how I can control the archiving feature of the file read adapter? I would love for it to just move the file to the Backup folder and keep the original filename.
I look forward to a response.
Thank you.
Nick G.Thank you Sahil. I will look into it and test. I will post my results.
Nick G. -
How to capture Archive File name in File/Ftp Adapter
Hi,
I want to capture the archive file name when working with File/Ftp Adapters. I think there is no out of box property available to achieve this (Like jca.file.filename).
Please let me know if there is any possible solution.
Thanks
JGunHi,
Use jca.file.PhysicalArchiveDirectory/jca.file.LogicalArchiveDirectory depends upon which you have configured.
Thanks -
What is to be given archive file name?
hi
I am importing a standard aplication "welcome"
by following the following steps:
file->import->par file.
now it asks for 3 things .
what is to be given in archive file name.
For project root folder: i m selecting "welcome"
from the Program Files\SAPinst_WAS\J2EE-CD\IDE\eclipse\workspace\welcome .Hi Kamlesh,
> what is to be given in archive file name
The "Archive file name" is the full qualified name of the PAR to be imported. You can browse for this PAR.
Next entry is "Project name". This is the name of the project to be created. When you try to deploy the project later on, NWDS initially suggests this name as the name of the PAR file (but you can modify it, and this modification would be used next time you'd try to deploy again).
> For project root folder: i m selecting "welcome"
The "Project root folder" is the folder under which the project will be created. This should be somewhat constantly for all projects you are creating.
So if you want to import "com.company.welcome.par", which is on your hard disc under c:/someFolder, the entry for "Archive file name" would be "c:/someFolder/com.company.welcome.par".
If you want to use the same namespace as given, under "Project name" you'd just use "com.company.welcome". If you want to do midifications and to deploy the resulting PAR under a different namespace, you could use "com.company.modifiedwelcome".
And last but not least under "Project root folder" you can use something like "c:\sap" or "c:\development\portalprojects"...
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
BW Archiving / Dynamic archive file name
Hello Experts,
i would like to archive the data in a cube by each period. Hence i want the archived file name to indicate the period also so, that it can be easily identified, which file contains which period data.
Eg File Name : 0FIAR_C03_PER_01_2005
where 01_2005 denotes that the files contains period 01_2005 data.
Could some one please suggest how can this be done using the function module FILENAME_EXIT_ ? Would appreciate if you could give me the exact steps for this.
Thanks in advance,
Sanjayhi Sanjay,
create your function module name, e.g
FILENAME_EXIT_<u>FIAR_C03</u>, in logical file name maintain (transaction FILE >> logical file name, cross client), for 'Physical file' put <F=<u>FIAR_C03</u>>.
not sure if you can just use system parameter like <YEAR>, <MONTH>, etc.
for function module, you can manipulate 'output' for the file name. maybe see FILENAME_EXIT_ARCHIVELINK and FILENAME_EXIT_EXAMPLE.
detail system parameter for physical file can see :
http://help.sap.com/saphelp_nw04s/helpdata/en/2a/fa02aa493111d182b70000e829fbfe/frameset.htm
hope this helps. -
Is it possible to get the archive file name and directory. If so how?
cheers
JamesNo the way I worked around this issues was to create an another adapter that would write the archive using the adapter headers. So I had to manually configurate it and not use the standard archive functionality.
cheers
James -
Changing of the physical file name of the file after archiving
Hi all,
We are in process of archiving and completed the process successfully and archived to o:\PRODSID\<filename>.
When refresh is happening from Prod to Quality the archived data will come as O:\PRODSID\<filename> and the archived files will not be accessible since quality system is not able to find the path with O:\PRODSID\<filename>.
Is there anyway i can change the physical file name of the archived files to correct path O:\QUALITYSID\<filename>, i need to change only the SID only from PRD to QUALITY.
Thanks,
Subhash.GHi Subash,
Do you want change the Physical File name or the Path from PROD to SID.
Path :- in the transaction called FILE, double click on Logical Path Definition , select the Logical File and double click on "Assignment on Physical Path to Logical Path" and you can change FILENAME also here
Thanks,
Sravanthi -
Batch rename files preserving the original file name in metadata
How can I batch rename files while preserving the original file name in metadata? (Don't want the old file name as part of the new file name)
(Adobe CS Bridge can do this with some success, but I don't want to be dependant on this software. Results are inconsistent.)With a simple terminal script. More details needed, though.
-
Garbage name of the Archive File while using the FTP adapter
Hello All
I am using Oralcle FTP adapter to poll a file ,after polling I am deleting the file from the current directory and
archiving it into another directory.
Problem is after archiving the file into the another dirctory name of the is fine changed as follows :
d2wXEgGZrfypNsGa15uzOA==_20081015_082233_0015
I want same name for the archived file as orginal file with timestamp
Please help to solve this problem.
Thanks
Satendra PareYou cannot change the file name in the save dialog, it always uses the originally file name of the form.
But you can use scripting to save a form under another name.
Sample.
http://thelivecycle.blogspot.com/search/label/Save -
In FCP7 I could rename a clip in FCP and then use a menu command to change the actual file name to match:
Can I do this in PPro or Prelude?
Thanks!
MtDThis option is only available in the Project Manager.
FEATURE request -
Can I import 2 sets of photos with the same file name numbers?
I've inadvertantly not had my camera set to "continuous" for file names and now have 2 memory cards with 2 different sets of images with the same file names.
Can I still import both into Lightroom 2 without problems?
What are the consequences?
Thanks
StuartYes. Of course, two files with the same name cannot be in the same folder. And don't forget to uncheck Don't import suspected duplicates during import.
Another thing is that's not a good idea for good asset management, because someday you'll make some mistake because of this ambiguity. Good DAM practices suggest renaming your files after or during import, so that each files has a unique name across your entire image archive. -
can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.
Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
Why can't you change the filename? Is it because the source drive is having problems? If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.
Maybe you are looking for
-
Unable to start photoshop CC 2014. Error 0xC0000076. Help please?
I downloaded photoshop CC 2014 but when I start the application. A dialog saying, "This application was unable to start correctly. Error 0xC0000076." I am using Window 7. Anyone has the same problem? Anyone has a solution too?
-
Snow Leopard installation problem on Mac Pro
Hello Partners! I have the following mashine: (sorry for Russian, but i see - it is the clear information) Название модели: Mac Pro Идентификатор модели: MacPro3,1 Имя процессора: Quad-Core Intel Xeon Скорость процесс
-
HT201320 How can I change my email address
Hey I have a very old email address would like to change it ! Thanks
-
Ichat no longer works (US to UK move)(error 8) NEWBIE here, please help
hi. just did two changes. 1) moved to the UK from US 2) downloaded ichatUSB new version, since I bought it instead of using the trial keep getting error-8, want to video with family back home, please help! Date/Time: 2007-03-05 08:26:44.416 +0100 OS
-
*Excisable material Purchased from Importer
Dear SAP Gurus, Material purcahsed from Importer excisable material, The excise duties will passed. Like ED 16%, ECS 2%, SHECess 1%, and 4% Special Addtional Duty(SAD), + VAT 4%. As pe rstandard sap ED, ECS, SHECESS are comming, but 4% SAD(Creditable