Possible to process multiple files from one folder?

Hi All,
I have a scenario where four files with different structures will generarted at a folder and these four files need to pick up and process them to find dublicates and merge them... Is it possible? How BODS will identify these four files as they have different strucutres?? Please suggest.
Thanks
RAJEEV

Hi Rajeev,
Only if the structures are the same then you can use wildcards in the filename.  Do your files have a header record ? If yes, then it's a really quick and easy job to create four file formats since BODS will generate most of the field names and datatypes using the header récord and sample data, once it locates the file and you specify to skip the header record.
If you really wanted to have only one file format then you would need to define it with a single very long varchar field and then do the parsing of the single long string manually in a Query for each file, using the filename to identify which file structure it is.  Way more work and not an elegant solution.

Similar Messages

  • Move files from one folder to another javascript?

    I am running a 3-action droplet automatically using windows task scheduler.  Here are the 3 steps:
    1.    Batch file to move files from hot folder to processing folder
    2.    Run IPP (dr brown's image processor pro) using preloaded settings to make several sizes copies of the files.
    3.    Bat file to move the files from processing folder to archive folder.
    The problem I am observing is that Step 1 works and IPP begins to run.  It only processes the first few images, and then moves on to the 3rd step where the bat file is ran to move all files from processing folder to archive folder.   The trouble is, only a few images were processes (about 10 or so), yet all of the images get moved to the archive without being processed.  Is there a way to make sure that step 2 (IPP) doesn’t begin until all files have successfully been moved from the hot folder to the processing folder?  IPP starts right away and files are still being transferred to the processing folder.
    Does anyone have a script that will move files from one folder to another? 

    I'm sure I have see a way to close down Photoshop in a Photoshop script.  I never had the need to.  It may be a simple statement like app.close(); I don't know javascript and only hack Photoshop script mostly by looking at others code.  app.close(); is a guess on my part. Let me try it. I was wrong its photoshop.quit();
    So make your MoveToArchive.jsx look something like this
    try{
       var BAT = new File(Folder.temp + "/MoveFilesToArchive.bat");
       BAT.open("w");
       BAT.writeln('Copy /Y "c:\\Process\\*.jpg" "c:\\Archive\\*.*"');
       BAT.writeln('Del "c:\Process\\*.jpg"');
       BAT.close();
       BAT.execute();   // execute the temp bat file
    }catch(e){
    alert("Bat MoveFilesToArchive  failed to execute.");
    photoshop.quit();

  • Move files from one folder to another

    I am brand new to the application and have spent a ton of time googling various topics, but need some additional help. Seems easy enough, but I can't figure out how to do it...
    I would like to move pics from one folder to another. I can drag files from one folder to another, but they still reside in the original folder as well. Is there a way to cut and paste or a similar function to accomplish this move?
    Thanks.

    Hey, HawaiianHaole, as a multidecade Mac user, let me tell you, Aperture is about the worst example of Mac-iness one could imagine. Ironic, as it's (of course) made by Apple. But it is so inflexible, and insists so vociferously on making the user learn its peculiar interface conventions it reminds me most of something out of that famous company in Redmond.
    Want your Projects in an order you choose? Sorry! Want to arrange your windows so you can see your list of chat buddies while you're working in Aperture? Nope, can't do it! Aging eyes have trouble reading tiny grey type on a grey background? Hey buddy, it was your choice to grow old, don't blame us!
    But all is not lost. Aperture has gotten considerably better of late (versions up to 2.0 were fundamentally unusable in many ways) and will hopefully continue to improve. (ie Maybe they'll fix the printing thing...)
    Please don't make Aperture the basis for your judgement of the Mac OS. Many long time Mac users are having as much trouble with Aperture as you. Mac OSX has significantly reduced customizability but at the benefit of much improved stability and indeed usability. Old school Mac users had to learn to accept this, which most did. You'll hear people talk about the "Way of the Steve". As irksome as Aperture can be, you'll actually have a better time of it if you adopt the Way of the Steve, and accept that you can't do things the way you might want to. This is imho antithetical to the original Mac many of us knew and loved, but it's the way things are today, so we mostly shut up and take it. You can fight with your software all day, or just accept that there are ways you have to adopt and adapt to them.
    Welcome to the Bright Side, hope your Mac experience improves.

  • How do I move files from one folder to another?

    On my MacBookPro I am trying to move files from one folder to a BSB drive.  I can copy, but I do not want the files left in the original location.  What do I do?
    J W

    Press the Command key while dragging them.
    (58054)

  • Is there a way to move files from one folder to another without copying and pasting and then going back to delete the original?

    Is there a way to move files from one folder to another without copying and pasting and then going back to delete the original?  The cut and paste function is not available and there's no "move to" function.  Am I missing something?  It was so easy with Windows.

    Drag the files, or press Option when pasting them; this accesses the Move To function.
    (124070)

  • I suddenly can't move files from one folder to another in my FlashHelp project.

    I have RH8 (8.02). I have been working on this project for a couple of years now.
    What changed? I had imported a Word document and then removed the document and the folder it created from the Project Manager. Now I cannot move any of my files from one folder to another in the Project Manager pod. I susptected a corrupt CPD file so I closed the project, deleted the CPD file. Next I opened Robo from Programes (I never open from the .xpj file), went to Tools>Options and deleted the pinned most recently used project. Select Open, and locate/open the xpj file. I've also re-generated the output (no errors) and completed all these steps again. Of course Robo only goes haywire on me right before I have to publish for our new software release.

    Hi there
    From what I'm seeing my own guess here is that RoboHelp is still believing that the content belongs to word.
    I might suggest the following steps.
    Open Winows Explorer and make copies of the HTML files involved. Then from RoboHelp, delete or remove the content. Then use the Import function to add the desired HTML files back into the project into the desired folder.
    My thought is that by taking these steps you will have effectively disassociated Word and the topics should now be independent topics that RoboHelp should allow you to manage as you wish.
    Hope you get it sorted... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How to move files from one folder to another folder in webdynpro java for sap portal

    Dear Experts,
    I wan to move files from one folder to another folder in SAP portal 7.3 programmatically in webdynpro java.
    My requirement is in my portal 1000 transport packages is their. Now i want to move 1 to 200 TP's into Archive folder.
    Can you please help me how to do in through portal or wd java ...
    Regards
    Chakri

    Hello,
    Do you know what the difference between copying a file this way :
    ** Fast & simple file copy. */
    public static void copy(File source, File dest) throws IOException {
    FileChannel in = null, out = null;
    try {         
    in = new FileInputStream(source).getChannel();
    out = new FileOutputStream(dest).getChannel();
    long size = in.size();
    MappedByteBuffer buf = in.map(FileChannel.MapMode.READ_ONLY, 0, size);
    out.write(buf);
    } finally {
    if (in != null) in.close();
    if (out != null) out.close();
    ================SECOND WAY============
    AND THIS WAY:
    // Move file (src) to File/directory dest.
    public static synchronized void move(File src, File dest) throws FileNotFoundException, IOException {
    copy(src, dest);
    src.delete();
    // Copy file (src) to File/directory dest.
    public static synchronized void copy(File src, File dest) throws IOException {
    InputStream in = new FileInputStream(src);
    OutputStream out = new FileOutputStream(dest);
    // Transfer bytes from in to out
    byte[] buf = new byte[1024];
    int len;
    while ((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    in.close();
    out.close();
    And which is better? I read up on what each kind of does but still a bit unclear as to when it is good to use which.
    Thanks in advance,
    JavaGirl

  • To Move Multiple Files from one directory to another.

    Hi,
    I need to move multiple files from one directory in UNIX (application server ) to another. I need something like an FM 'STRALAN_COPY_FILES' which is also valid in ECC 6.0.
    Thanks in advance.

    Hello Sachin
    Below you see a copy of how to use EPS_FTP_PUT using transaction SE37.
    Import parameters               Value             
    RFC_DESTINATION =                 NONE              
    LOCAL_FILE             =         filename          
    LOCAL_DIRECTORY   =              /dir1/dir2        
    REMOTE_FILE             =        filename          
    REMOTE_DIRECTORY   =             /dir1             
    OVERWRITE_MODE        =          F        " force -> overwrite existing file                 
    TEXT_MODE                    =   B               " binary
    TRANSMISSION_MONITOR            X       " display transmission monitor            
    *RECORDS_PER_TRANSFER            10                
    *REQUESTED_FILE_SIZE             0                 
    *MONITOR_TITLE                                     
    *MONITOR_TEXT1                                     
    *MONITOR_TEXT2                                     
    *PROGRESS_TEXT                                     
    *OBJECT_NAME  
    Regards,
      Uwe

  • Why can't i move files from one folder to another by sliding them?

    help. i am trying to move files from one folder to another. but i cant slide them by clicking on a file and sliding it to another place. any suggestions? thank

    Go to Finder "Go" menu hold the option key and choose Library. Then go to Preferences trash these files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist
    Then, restart, or log out and in again.
    (You will have to reset a few finder prefs the way you like them.)

  • Moving files from one folder to another caused freeze

    I now have a list of files stuck in the center of my screen.
    I'm sure a reboot will fix this (I hope!) but I thought it was a bug worth reporting.
    All I did was move a copy a collection of files from one folder to another folder.  It made the "move" sound, and the files have been copied, but something clearly went wrong

    Have java.io.File objects pointing to the three folders. Get the list of all the files in the folder. Start a loop and check if the filename ends with Data.dat. If it is so then copy file to the final folder.
    To Copy file you can use any of the two approaches.
    1. You can read that file as byte stream (java.io.FileInputStream) and write it to the other folder as bytes (java.io.FileOutputStream).
    2. You can use shell commands to do this. (java.lang.Runtime.exe() method)
    Ali Ahsan

  • In finder cannot easily change files from one folder to another. Drag and drop does not work. There should a cut and paste feachure.

    In finder I cannto easily change files from one folder to another.  There should de a cut and paste for this.  Not drag and drop. thanks P.

    paulfromqueretaro wrote:
    In finder I cannto easily change files from one folder to another.  There should de a cut and paste for this.  Not drag and drop. thanks P.
    OS X is all about keyboard shortcuts.
    To cut       cmd+x
    To copy     cmd+c
    To paste    cmd+v
    With the Mouse, hold command and drag to your destination.

  • Can't process multiple files on one of three catalogs

    After getting straightened out about getting my catalogs in order, which I've done, I've run into another problem. I have three catalogs one for People, one for Things and one I call Workplace where I try out things that are new to me so I don't mess up my main catalogs.
    I've straightened out the files in my Things catalog. I have one catagory that contains images of autograph book pages from the late 1800s. Those scans were done in JPEG some time ago. I've tried using multiple processing to change these 55 images to psd in the original file to be consistent with the rest of the catalog. Each time the process fails.
    In order to see what the problem might be I have copied the catagory file into both of my other catalogs and have been able to process the catagory file back into itself as psd. I have also created another small file in the Things catalog and tried to convert it and had the same result. The warning info box that appears when copying back into the same file states that the original files will be overwritten. The psd files do not overwrite the jpg files. They are added to the original file. That may be the way it is intended to be. That's not a real problem.
    The real question is why can't I process multiple files in the original catalog. I have looked at the error file and, although I don't know much about most of it, I found the following in the first part of the file.
    crash exception="EXCEPTION_ACCESS_VIOLATION"
    I run XP SP3 and PSE 8. I am a single user with administrator rights. I find no mention of a  permission filter in the PSE 8 program.
    I'm stuck until I solve this problem and I need help getting it done. Any suggestions or information will be greatly appreciated.
    Message was edited by: Minocq

    One thing to try : instead of using 'process multiple files', can you use the 'export' feature in the Organizer to export the jpegs of that category in psd format into a new folder ?

  • Is it possible to download multiple files from FTP

    Hi,
    Is it possible to download the multiple zip files from FTP.I need to download multiple files from FTP into temporary folder in my local machine. Please help me.
    Regards,
    ahamad

    Of course it is. Try it. Or, asked differently, what did you try that did not work?

  • Tranfer file from one folder to other in application server

    Hi Champs,
       I want to tranfer files which are in error from one folder to another
    Source Dir: usr/feeders//interfaces/EP1/payrollact/Resourcelink
    Destination Dir: usr/feeders//interfaces/EP1/payrollact/Resourcelink/reprocess
    The coding needs to be written in my ABAP report.
    I have an idea that this can be done through SM69, by creating code in UNIX and then using FM SXPG_COMMAND_EXECUTE in our ABAP code.
    I went to TCode SM69 and have created a Command name but dont know where to put the file path of source and destination and also dont know how this can be used in FM SXPG_COMMAND_EXECUTE.
    Please can some one guide me with how to do.
    Regards,
    Nishant

    Hi Nishant,
                try this.
    PARAMETERS: Source_file TYPE SAPB-SAPPFAD
    default '\folder1\abc,pdf'.
    PARAMETERS: target_lfile TYPE SAPB-SAPPFAD
    default '\folder2\abc,pdf'.
    START-OF-SELECTION.
      CALL FUNCTION 'ARCHIVFILE_SERVER_TO_CLIENT'
        EXPORTING
          path                      = source_file
         TARGETPATH        = target_lfile
    EXCEPTIONS
       ERROR_FILE       = 1
       OTHERS           = 2
      IF sy-subrc  0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • Reading multiples files from a folder and processing

    Hello everyone,
    Im working on a project to analyst and process Acoustic Emission Signals. My problem is that I have a folder that containts several files .txt. Every file contains 16 waveforms (16 channels) that I need to process with an equation to detect the arrival times of the waves.
    I have been working in this way : Running the labview code that open the file that I select .. then the processing happens on every wave and I click stop to select the file where I want to save the solutions. The solutions is only a vector of the 16 arrival times detected. Then I have to stop the code (by clicking Abort Execution) and repeat the process ... Run the code and bla bla bla .. and save on the same solution file that I used before.
    The ideal situation is to read the files whitout stoping the execution of the code .. For example clicking a buttom to pass to the next file and saving all the solutions to the same file. That is beacause sometimes Im going to have more than a 100 files and this will give me a hard time if a forget in which file I was working. The idea is to make an automatic process.
    Please .. I have been trying to find a solution to this while Im working in other part of the code. If someone could suggest me a solution it would be great.
    Thanks.

    Hello everyone,
    Well Im sorry if I didn't post my .vi ... I was working on it ... and I found a solution (whit some help that I found on the forums) but Im not happy at all ... because I still have to give the last part of the file name.
    For example at the beginning I have to input the file name without the final number of the event ...
    C:\Users\Irish\Desktop\Hydraulic Fracturing\E1_evento
    then I finish adding the file number that I want to process on the folder
    C:\Users\Irish\Desktop\Hydraulic Fracturing\E1_evento2.txt or 9.text or ... just the number ...
    This is the case when I want to process every file specifying the file .. but what could you suggest me to do process all the data file by file ?
    I attached the part of the code that Im using for this specific problem ...
    Im using Labview 8.5
    Thanks ...
    Message Edited by Alvaro_Ortiz on 08-26-2009 03:14 PM
    Attachments:
    MultReadFiles.vi ‏58 KB

Maybe you are looking for

  • Word wrap in SP calendars

    How can we set word wrap in a monthly calendar view for our staff, and community. Example at http://www.tacoma.k12.wa.us/sites/schools/meeker/calendar/Pages/default.aspx thanks!

  • What are the negative effects of shutting down often?

    I use my computer everyday. Is it the best choice to shut it down every night (when i am sleeping) for: a. Saving electricity? b. maintaining battery life? c. the environment??? And I am sure there are other factors I can't think of now. What are the

  • How do I change an UL from vertical to inline.

    When I try to use the "display: inline" command my list disapears. I tried puttng it in the html page and the CSS page as well. I 'm using CS5 and just trying to change the fluid framework "footer" which lists my contact, who-we-are, and employment l

  • Need help with output type EDI for ERS

    All, I want to be able to run and ERS settlement and have the invoices created sent via EDI/XML to the supplier.   I have several questions on the set up. 1)  I have output type ERS6 which is defined as ERS EDI.  I assume because it does not start wi

  • Office from pc to mac

    Hi, Is there a way for export all mails and accounts from Office Outlook 2010 to the same software on a new macbook pro? Many thanks