Add Counter to File name when using Tran Protocol as FTP

Hi There,
Was wondering if there was any way to achive the same "Add Counter"  functionality used for File names in Reciever file adapter when we are using FTP as the transport protocol, this option is only provided in NFS,
My requirement is ..
Write files using counter on to ftp..
say if three files already exists on the ftp server with names ...fname001, fname002 and fname003
then the next time a file is written it should have a file name fname004 else fname001 if no file exists.
Any help would be greatly appreciated

No such standard functionality is available in communication channel...
But you can try customizing ur scenario in one of the following ways...
Case 1: If a field in source data carries the information regarding the sequence.
You can map this value ( Directly .. or using some transformation ) in some temporary field in the target and then use a Variable substitution at the receiver communication channel.
Case 2. If the source file name carries the sequence information. then you can enable the Adapter specific settings in the Sender communication channel , and then get the information of the source file name using the Container object in the mapping. Then assign the sequence number to a field in the target , use a Variable substitution at the receiver communication channel.
Case 3 : If Case 1 and Case 2 are not applicable ... then you have to use a Ztable to store the sequence number , a function module to fetch the number , and then use a UDF in which you will implement the RFC call logic.Then the same process .... assign the sequence number to a field in the target , use a Variable substitution at the receiver communication channel.
BR,
Sushil.

Similar Messages

  • How do I retain the original file name when using Compressor?

    Hello,
    I am in the process of doing a batch export and would like to keep everything identical to the source material, including the name. There is quite a bit of footage so deleting the "-Apple ProRes 422 for Progressive material" addition can be time consuming.
    Any suggestions?
    I found this thread:
    http://discussions.info.apple.com/thread.jspa?threadID=2369070
    but even though I read it more than 10 times I could not set a "custom" path in my destination options.
    I only have the following options available from the pulldown:
    -Cluster Storage
    -Desktop
    -Source
    -Users movie folder
    Any help is greatly appreciated.
    Message was edited by: Ricardo Javier

    As was mentioned in the thread you linked to, the easiest way is to create a custom Destination. Here are some step-by-step instructions:
    1. Click the Destinations tab.
    2. Click the plus sign in the upper right and choose "Local..."
    http://dl.dropbox.com/u/19589/Compressor%20Custom%20Destination.png
    3. Navigate to or create your destination folder. Click "Open" to select the destination.
    At this point, you've created a new custom destination. To select it, click the disclosure triangle next to the "Custom" folder. This is where all of your custom destinations are located.
    4. Select the custom destination you want to use for your batch.
    5. In the inspector, you'll see a box where you can change the "Output Filename Template". By default, it'll just have "Source File Name". If that's all you want, then press return.
    http://dl.dropbox.com/u/19589/Compressor%20Destination%20Inspector.png
    Now, when you go back to your batch window and apply this custom destination to your job settings, Compressor will apply the Output Filename Template to your filenames. Basically, it will get rid of the setting name (as long as you only have "Source File Name" in the Filename Template.
    Hope this helps.

  • Change file name when using subversion

    Using CS6 / Windows 8.1.
    In our setup all files are checked into Subversion. This seems to cause problems when renaming files. I rename files from within Dreamweaver. All links on other pages get updated, but the file name doesn't change. This is not an issue if file hasn't been checked in yet, or for sites not using Subversion. Is this a bug? Is there a workaround?

    I see this was a problem in CS5. Is it still not fixed in CS6?
    Can't rename file under Subversion control.

  • File names when using "Save Image As..."

    I am using Safari for Windows to read Gmail. When I open an image and want to save it, I right-click on "Save Image As..." Instead of displaying the images file name in "File name:" it always says "mail" requiring me to re-type the file name for every photo I save. It also saves every file as "All Files" instead of as a jpg image which my photo viewer does not recognize as even being there.
    Any help would be appreciated.

    As an addendum, the 10.6.8 OS has also been sluggish when I log in or out of my computer (my old PowerBook G4 boots faster after being off).  Otherwise, everything else seems normal.

  • Why does photoshop automatically rename file names when using save for web?

    All of a sudden when choosing Save for Web, when i type in a name for my file in the File Name: dialog box, when you click "save", it saves the selected slices as the name of the document and not what i typed.
    For example: My psd file is called "website header" and i want to save the slices with the name "index". If i save slice-02 or slice-06 it will save as "index_02.jpg" but if i choose slice 01, it will save as "website-header_01"

    Check your settings in the SfW output options and yopur slice names in PS itself.
    Mylenium

  • How can you keep the file name when using "Download Linked File As..."?

    I'm a longtime PC user finally making the transition to Mac.  Some of the tasks that seemed so simple in Windows have really stumped me!  One of the tasks I do frequently is download files into specific folders.  After much looking, I finally found the "Download Linked File As..." option if I right-click on the download link.  The problem is, when I choose this option, I lose the file name.  I get a window in which I can choose the desired folder, but the filename is always "0".  If I want to keep the filename (and I usually do), I have to type it in manually.  Is there anyway around this?

    You can post a screen shot by clicking on the liitle Camera icon above your reply.  :)
    Just checked on 10.7.4+, still the same, something is borked about your install, to see if we need to re-install...
    To find out if it's system wide or user specific, try this...
    Open System Preferences>Accounts, unlock the lock, click on the little plus icon, make a new admin account, log out & into the new account.
    Does it work in the new account?

  • Help with image file names when using Import Word document feature

    Hello,
    I am using File >> Import >> Word document into an HTML template.  If the Word document contains images, the images are written to the directory specified in my Site Default Image Folder.  Here is my question: As I was teaching myself the Import function, one time the images were automatically named to match the page name.  So for example, if my page is named Create.html, the images would be named Create_image001.jpg, Create_image002.jpg, etc.  I can't remember how I enabled this feature (or maybe I was dreaming) but if anyone knows how to control the name of the images imported from MS Word, please let me know.  I've searched and Googled for hours and can't find a way to control the image file names.
    Thanks in advance,
    Shellie

    I was hoping that this would be fixed in the 10.8.2 upgrade but it has not.  Anyone have any luck?  Earlier today I was trying to write a paper and navigating between 10 pdfs was a nightmare without being able to hover my mouse for the titles like I used to. 

  • Add serial number in the report file name when using batch process model

        I would like to append a string containing the current UUT serial number to the base name of the report file. For example, uut_report.html becomes uut_report[SN000001].html. This setting is not available if I use NI BatchModel.seq as my process model.
    Thanks!
    Jacky

    duplicate post
    Ask your question only once.

  • File Adapter: File name when using event

    I'm using the Bea file adapter 7.0 to retrieve ascii files from the file system
    and this triggers a business process in WLI. Is there any way that you can get
    the name of the file when doing this? And is there a way to dynamically name a
    file when you write it to the file system using the file adapter?

    Dear Prakasu,
    In reply to your help
    "Select the Time out tag.
    Fill the require time limit.Like if you want to process a file with in 10 min then maintain 10 min.
    If the file is not transfered with in 10 min then adapter consider an error and through the error.Use alert for adapter errors and send the alert."
    I didn't find Time Out in sender Adapter,Time Out Flag is visible in OS CMDS..
    Can you explain me in more details..
    Thanks
    Prabhakar

  • How can I adjust the file names when using the "export layers to files" Script in photoshop?

    Currently the standard set up adds "_0000s_0001_" in front of the layer names that I need the new files to use. I'm processing hundreds of images so I'd like to avoid selecting and deleting the extra characters one by one. Any way to automate this or set it correctly before exporting?

    http://forums.adobe.com/thread/688851?tstart=0

  • HT4689 Why I can't I see my file names when using Mission Control?

    It's not uncommon for me to have multiple Word Documents open at once and it's extremely annoying that they are no longer labeled like they used to be when I used "Hot Corners" in Snow Leopard.  I missed out entirely on Lion but just bought an iPhone and figured I might as well upgrade to Moutain Lion on my computer while I was at it. Anyone else hate this particular feature of Mountain Lion or know how to solve it?  I have already unchecked "Group Windows by Application" so at least they're no longer in a stack (thanks, Support Community!), but I still want to be able to differentiate between them at a glance. Any help is appreciated!  I'm a longtime Mac user and not used to being so frustrated with my devices. 

    I was hoping that this would be fixed in the 10.8.2 upgrade but it has not.  Anyone have any luck?  Earlier today I was trying to write a paper and navigating between 10 pdfs was a nightmare without being able to hover my mouse for the titles like I used to. 

  • Ipad only uses one file name when uploading images via email

    We have an image tool that uploads images to a template website. The problem is the file names for these images must be unique any duplicate file names will be rejected. Some of our users want to be able to upload from the field but Ipad only assigns the file name "photo.JPG" to jpegs. It doesn't seem to include the sequential extension that actually does exist for the image on the file name when uploading. Is there a way to get ipad to do so, or is this something that Apple maybe want to consider looking into. I can easily see the average Joe emailing themselves images and hitting save only to replace and lose an older image because let's face it, not all users are on MACs and PC's do not allow multiple files to have the same file name in the same folder.

    Hi,
    Based on the description, you could send email to external addresses without the Twin Oaks software. However, with the Twin Oaks software, you couldn't send successfully.
    For this issue, I recommend you enable message tracking and check whether you could retrieve message tracking log entires when you send emails to external addresses through the Twin Oaks software.
    If you couldn't retrieve message these tracking log entires when you send emails to external addresses through the Twin Oaks software, it means that the Exchange server is OK and the crux of the problem is the Twin Oaks software.
    Here is an article about message tracking log for your reference.
    Get-MessageTrackingLog
    http://technet.microsoft.com/en-us/library/aa997573(v=exchg.141).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Reciever File Adapter - Temp File Name Scheme using Variable Substitution

    How can I create a temporary file that uses variable substitution? 
    We are having a problem with files merging when we write files using the "Use Temporary File" setting on the FIle Adapter.  So two independent files are merging into a single file.  We are not using the "Append" setting.
    We would like to use a Temp File Name Scheme that would append the message id onto the temporary file name. 
    Using variable substitution we created a msgid variable.  When added to the temporary file name using %msgid% the temporary file name is created with %msgid% in the name instead of the actual message id.  We put the variable into the "File Name Scheme" as well and the end completed file used the message id in the name.
    Any Ideas?
    Thanks,
    Matt

    HI Matthew,
    Why are you adding the message id into the temporary file??
    I understand that you want the output of the filename to contain message id .. and hence you are using variable substitution for the same.
    Temporary file name will anyways get overwritten by the actual file name (here the actual filename will be using variable substituion).
    So i suggest to achieve your scenario you can add any name in the temporary file and maintain the desired filename you require as output in the variable subsititution.
    Temporary File Name option actually acts as a lock - unlock mechanism from PI side while the file is getting written to the file server so that while PI is writting the file no third party application batch program picks it up.
    I hope this helps.
    Cheers
    Dhwani

  • Copy&paste file names when bouncing

    too bad, after upgrading to 7.1.0 it is still impossible to copy&paste file names when bouncing, as was no problem in LP6! That´s very time consuming for me, because for film music I usually have long file names that contain smpte codes. Does anybody have a shortcut?

    Hi Orbanl, I was going to post this myself and then found your post so will add to it.
    'It used to be in Logic Pro 6 that normal copy/paste worked in the 'name' field of the save and bounce windows (even kept them seperate as far as clipboards went). Now, in Logic 7.1 the only way I can initiate a copy or paste when saving the song or naming the bounce is a right mouse click (cntrl-click)? to bring up these options. Are there no key commands for the navigation services anymore? This is a huge time killer for me as I often save 60~100 files with the same root name and was able to quickly initiate and save/bounce without stopping to pick up the mouse (now I have to switch back and forth between the keyboard and mouse to initiate, name copy+paste and modify name). Thanks in advance.'
    Over at the Logic Pro Forum, Peter suggested in response to this post that the Pro App Support update v3 might have something to do with it as his Logic 10.3.9 DOES support normal copy/paste commands! Unfortunately I am running 10.3.8 and the Pro App update v3 specically notes 10.3.9 as its requirement. The only reason I have not upgraded to 10.3.9 is I use a lot of esoteric shareware music software and I understand 10.3.9 had some 'sprinkling' of Tiger in it that at least for several friends of mine broke older app's that were running fine in 10.3.8.
    Here is the link if you are running 10.3.9.
    Pro Application Update 3.0

  • How to retain numerical order (Of file names) when combining files in Acrobat (9) Standard

    How to retain numerical order (Of file names) when combining files in Acrobat (9) Standard, please see the attached screenshot for a clearer explanation.
    I understand that if we prefix all files with leading zero's this will probably resolve the issue but I just wondered if anyone new the answer. The ironic situation is that version 6 has no problem.
    I have spent over an hour with techincal support who were unable to provide me with an answer

    It is not clear how you are trying to do the order. Have you tried to select a set of files and then use the arrow buttons to move them in the list? If you select the heading, that will typically reorder the files by that heading and undo everything you had done before.
    You should be able to select groups of files and move them up and down in the list. All of those options appear on your view, so what is the real question?

Maybe you are looking for

  • How do I install PSE 10 on Mac OSx 10.9.1?

    My DVD drive is bad, so I mounted the Mac version of PSE 10 on a Windows DVD and shared it.  When I run the installer I get the following message - Installer failed to initialize.  Please download the Adobe Support Advisor to detect the problem.  Whe

  • Keyboard on Sat Pro 6100 doesn't work properly after remedial work

    Hi, My Sat Pro 6100 has just been away for the usual motherboard and power board replacement with Toshiba, but now I have a strange keyboard problem. When I turn it on, all the keys work. After a few minutes, '3' doesn't work, then 'r' fails, then '5

  • Utilization of Credit through J2IUN.

    HI All, After the Budgetary changes , The following is our Bussiness requirement during utilization of the credit throug the J2iun. 1. We should be allowed to post (Save) the transaction without fully utilizing the payables. For e.g. my liability is

  • Instrument reports: Input buffer overrun (Error -363)

    Hi all, I am currently trying to control an Ametek XG 12-240 DC power supply using LabVIEW 2013. I have downloaded all of the drivers from Ametek and can communicate with the device using NI MAX. When I run the "ametek simple example.vi" to set a cur

  • Error 0x80040fb3 check documentation

    Hi guys, I am a system administrator for a non profit organisation in the netherlands. We have blackberry Bolds 9700 and 9780 devices and sync them wired with the calendar and contacts from Outlook 2010 using the latest BB desktop and device software