How to know when FTP of incoming file is complete

Dear all,
i would like to know when the FTP is complete on my server of an incoming file from another machine.
and as soon as the FTP is complete i want to start the SQLLDR for that file automatically.
i am using Redhat linux enterprise linux server release 5.5 with Oracle 11gR2 RAC.
i have already made the SQLLDR script for the file uploading. however at this time i can only manually run the script or schedule it using cronjob. but with cronjob i cannot know if the FTP has completed or not.
many thanks .

Who is initiating the ftp task? Why not creating a checksum file using "cksum" or "md5" command and include it in the ftp transfer. Then verify the checksum of the uploaded file before performing the SQL Loader process.
Sounds like a job for the DBMS_SCHEDULER or SQL Loader preprocessor feature.
Re: Need to call Shell script that uses SQL loader in APex4.1/11g

Similar Messages

  • How to know when Windows support files are updated?  (BC 4)

    I have MacBook Pro Retina w/Lion (of course), installed Win 7 Pro 64-bit, using Boot Camp procedures and files that were issued June 14.  My BootCamp Assistant says it's 4.0.4.
    My question is:  how do I know when the Windows Support files (drivers) are updated by Apple?  I would have expected an update by now, but I just went into Boot Camp Assistant on Lion, re-downloaded the drivers, and I *think* they are all dated June 14th still.  (looked in WindowsSupport folder which is where it said it downloaded them)
    There doesn't seem to be a reasonable way to get notified if there are new drivers or not.
    My expectation was that I could run *something* either on the Windows or OS X side, and it would *tell me* that drivers needed updating, or at least say "you are running version X".
    It can't be that I have to re-download the drivers and check the dates on all the files every time I'm curious if there's updates available.  Can it?
    The files seem to be on some mysterious Apple server and the only thing I can do to that server is ask to download the support files.  No query, no "is an update available", ... ???
    It's not even clear to me that the Windows Support files have a version number. 

    When the next revsion of OS X you can run Boot Camp Assistant again, or of course once 10.8 though might want to just sit tight, you would likely see reports in forums and elsewhere.
    Apple Software Update for Windows use to but no longer.
    The easiest way to see device driver version, chipset and more is with AIDA64
    http://www.aida64.com/product/aida64-extreme-edition/overview

  • HT2173 How to know when a hard drive has failed ?

    How to know when a hard drive has failed ?

    Machine doesn't boot.  You experience strange crashes.  Gets wrong results.  Your harddrive is five or more years old.  Time to consider repacing it.   You do have backup?
    You may want to run these "standard" fixes if the problem persists.
    1) Check the amount of free space on your harddrive.  You should have a several gigs free.
    2) You should run disk utility
         a) verify the disk
         b) update your permissions.
    3) Try a safe boot.
        Shutdown your machine.  Hold down the shift key.  Poweron.  Wait awhile Wait awhile while you harddrive
          is being checked.
        http://support.apple.com/kb/ht1455
    4) You may want to run applejack to clean up your machine.
         http://applejack.sourceforge.net/
    a lot more ways to fix your Mac.
    http://www.thexlab.com/faqs/faqs.html
    verify & repair your startup drive
    To verify & repair you file system on the startup drive, you will need to run disk utility from you installation DVD.
    This article  will tell you how to get to disk utility.  Once in a disk utility, you can go and attempt to recover the disk.
    http://support.apple.com/kb/TS1417
    To repair your startup drive, you will need to run disk utility from your startup DVD.
    Mac OS X 10.4: About the utilities available on the Mac OS X 10.4 Install DVD
    http://support.apple.com/kb/HT2055
    How to run disk utility from your startup DVD.
    Insert your  startup DVD  into your reader.  Power down your machine.  Hold down to the c key.  Power on your machine.  This will bootup your startup DVD.
    This will bring you to a panel asking you for your language.  Pick your language.
    You you come to the Install Mac OS panel.  Do not install.
    Click on Utilities menu item.  This will give you a pulldown list of utilities.
    Click on the disk utility.
    You are now in disk utility.  Pick your disk.  Click on repair it should be on the lower right of the panel.
    Once the repair completes successfully, you should update your permissions.
    Verify a disk
    As an alternative, you can verify that the filesystem on the disk is correct. You will not be able to repair the file system.
    I suggest that you use disk utility to verify that your startup disk is OK. 
    Macintosh-HD -> Applications -> Utilities -> Disk Utility 
    Start up disk utility.  On the left pane view, you will see a list of all your disks.  
    Click on your startup disk.
    Click on the First Aid  Tab.
    Click on verify.  
    Hopefully your disk will verify.  If not, you have to boot from your installation DVD and run Disk Utility from there to attempt to repair your file-system.

  • I have one file ss_fpga.rbt,abcd.txt how to know the details of the file

    i have  one file  ss_fpga.rbt,abcd.txt how to know  the details  of the file  (when was the date created ,when was date modfied,owner) any function is there like   GetFileInfo

    Yes there is some, called stat(), look the links in your post in stack overflow, there is a lot of link in the anser.
    They talk about sys/stat.h a C header, witch contain the stat() function.
    stat() return a lot of things (size, changes, access etc) about files. look the "here" everywhere in the Yann anser, UP his anser and put the subject as resolved.
    Thanks,

  • I'm a Microsoft Outlook for Mac user, I need information of how to know when e-mail was readed and confirm receipt of e-mails sent. thank you!  regards Mauricio

    I'm a Microsoft Outlook for Mac user, I need information of how to know when e-mail was readed and confirm receipt of e-mails sent. thank you!  regards Mauricio

    Mail and Address book

  • How to know when the PRICE AFTER DISCOUNT changed and get the value

    Hi,
    Everything I do to see if a value changed in the grid works except for PRICE AFTER DISCOUNT
    which seems to be inaccessible.
    Any idea how to know when exactly this value changed and do actions accordinly ?
    Also I always get 0.00 if I try to get the value of it
    This works to get in the condition of a vlaue changing but I always get 0.00 as the value of the column
    if (pVal.ItemUID == "38" && pVal.ColUID == COL_DISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
        try
            SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
            SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_DISCOUNT).Cells.Item(pVal.Row).Specific;
            SBO_Application.MessageBox("Discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
        catch (Exception ex)
            SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");
    And this do not even get into the condition even tought I SEE the column PRICE AFTER DISCOUNT:
    if (pVal.ItemUID == "38" && pVal.ColUID == COL_PRICEAFTERDISCOUNT.ToString() && pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemChanged == true && pVal.ActionSuccess == true)
        try
            SAPbouiCOM.Matrix Matrix = (SAPbouiCOM.Matrix)SBO_Application.Forms.ActiveForm.Items.Item("38").Specific;
            SAPbouiCOM.EditText Editor = (SAPbouiCOM.EditText)Matrix.Columns.Item(COL_PRICEAFTERDISCOUNT).Cells.Item(pVal.Row).Specific;
            SBO_Application.MessageBox("Price after discount changed for : " + Editor.Value + "...", 1, "Ok", "", "");
         catch (Exception ex)
             SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");

    just idea, maybe it will works
    Create one udf in row level and set there FS based on changes on price after discount and fill value what is in price after discount. Then the validation make on this field instead of standard SAP field.

  • How i know when a EXECUTE_QUERY retrieved last record

    Hi...
    How i know when the EXECUTE QUERY retrieved the last record in a block ....?
    Exist a trigger after trigger POST-QUERY?
    Regards
    Hector Gabriel Ulloa Ligarius
    Santiago of Chile
    http://es.groups.yahoo.com/group/desarrolloOracle/

    Kevin, sorry
    But the :system.last_record not change the value during the execution of EXECUTE_QUERY.
    Only useful when the data was retrieved into blocks...not during..
    Other mode?
    Regards
    Hector Gabriel Ulloa Ligarius
    Santiago of Chile
    http://es.groups.yahoo.com/group/desarrolloOracle/

  • How to know when invoke bytecode implements?

    I've got a classfile - it has few invokeinterface bytecodes inside - their count is defined dynamically - when class is running.
    And I've got a program, which runs this class.
    The aim of this program - to gather statistics of invokeinterface calling frequency.
    How to know when invokeinterface bytecode implements?
    (In that moment I plan to update several digits)
    Have You got an advise for me?
    Thanks.

    You must use the debugging interface, or get a code profiler. Do a search on all forums for profiler, you'll get tons of information.

  • How to know when I'm doing a createInsert?

    how to know when I'm doing a createInsert, this to hide a button when you run this action, I am using a task flow.
    my version of jdeveloper is 12c

    hi,
      So you are using the createInsert as a method call in task flow. That is your form/table will be come new rows and you want to disable some button.
    Your task flow might be as below
          CreateInsert---->Page.
    To do so
    1.) Take properties of your method call and bind the Method property to a method in a bean (bean registered in the task flow with scope view or any higher scope)
    2) Call the create insert operation programmatically in that method.
    3) And in that method after the createinsert ,set a boolean variable in pageFlowScope.
    4)Put this variable in the disable property or visible propery of the button you wabt to hide/diable.
    eg:
        public void doCreateInserOperation(){
            try {
               // Programatically invoke CreateInsert
                DCBindingContainer bindings = (DCBindingContainer)getBindingContainer();
                bindings.getOperationBinding("CreateInsert").execute();
            //Set a variable in page Flow Scope 
            AdfFacesContext.getCurrentInstance().getPageFlowScope().put("disableButton", true)
            } catch (Exception e) {
                e.printStackTrace();
        public BindingContainer getBindingContainer() {
            FacesContext facesContext = getFacesContext();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            ValueExpression valueExp = elFactory.createValueExpression(elContext, "#{bindings}", Object.class);
            return (BindingContainer)valueExp.getValue(elContext);
    you can access this variable in EL expression as #{pageFlowScope.disableButton}. So when your page render it will be in CreateInsert mode and the button will be disabled/hidden.
    I hope this will help you.
    With regards,
    Gijith.

  • How to know when the JComboBox popup is about to show or hide?

    Hi all,
    In JDK 1.4, a new addPopupMenuListener() was added to the JComboBox component. I found out I have to use JDK 1.3, but I already wrote a lot of code around this particular capability. I am trying to figure out how to duplicate it in JDK 1.3. I need to know BEFORE and AFTER the popup is displayed. OR, is there a way with JDK 1.3 that as soon as they click the combo box, it fires an event. The thing is, as soon as they click it, I want to change the background color. When they are done selecting, I can use an ActionListener or ItemListener to find out what was selected and change the color again. My killer is trying to figure out how to know when they have selected the box. I tried adding MouseListener, PropertyChangeListener, AncestorListener. None are doing a thing when the JComboBox is first selected.
    Any help would be much appreciated.
    Thank you.

    Hi all,
    In JDK 1.4, a new addPopupMenuListener() was added to the JComboBox component. I found out I have to use JDK 1.3, but I already wrote a lot of code around this particular capability. I am trying to figure out how to duplicate it in JDK 1.3. I need to know BEFORE and AFTER the popup is displayed. OR, is there a way with JDK 1.3 that as soon as they click the combo box, it fires an event. The thing is, as soon as they click it, I want to change the background color. When they are done selecting, I can use an ActionListener or ItemListener to find out what was selected and change the color again. My killer is trying to figure out how to know when they have selected the box. I tried adding MouseListener, PropertyChangeListener, AncestorListener. None are doing a thing when the JComboBox is first selected.
    Any help would be much appreciated.
    Thank you.

  • How to know when File Adapter is complete when debatching?

    I have a BPEL process that reads in a file and debatches it into records of 1 and inserts them into a table.
    How do I know when the entire process is complete and all records in the file have been handled?

    Thats the problem with the file adapter. If you use it in debatch mode, you cannot really control the different BPEL processes that get spawned off one file.
    The other approach for scenarios where the file is huge, could be to use the adapter in notification mode. So the file adapter will notify the BPEL process, that the file is available, and then BPEL process can read the file using xpath functions or java code etc.
    Hope this helps.
    -@

  • Streaming audio file over the network w JMF. How to know when the file end

    Hi
    I am streaming audio file over the network using JMF. I want to be able to know when a file end so I can close the streaming session.
    Can some one please help
    Thanks

    If you put a ControllerListener on the Processor that's associated with generating the RTP stream, it'll generate an "EndOfMedia" event when the end of the file is reached.

  • How to know when a .swf file ends

    I have a base .swf file that opens and plays another .swf
    file. I want to know when that .swf file has finished so I can then
    open a third .swf file inside the original.
    Thanks.
    Rob Childress

    In Flash 8 AS1 or 2 look at
    MovieClip._currentframe
    and
    MovieClip._totalframes.

  • Upgrade from CQ5.4 to CQ5.5, how to know when the initial startup is completed?

    The documentation at http://dev.day.com/docs/en/cq/current/deploying/upgrading.html under "STANDALONE (QUICKSTART) UPGRADE" step 3 says that the upgrade process "might take a few minutes". How do we know when the system has been started successfully? When monitoring the error.log file, it looks like that after a while (~20 minutes) an upgrade of the workflow models is started (even though step 4 says that workflow models will be upgraded after a restart). Might there be any problems with stopping the server to soon?
    So, to summarize: how do we know when the server has been started successfully?
    Thanks
    Joakim

    In the error.log you would see message like "Finished upgrading". Alternatively you would see 5 completed task in crx explorer at location /var/upgrade/status

  • How to know when the process to be killed

    I want to run 4 .exe programs under win98 in sequence, how should i know when does the .exe program end?

    If you ran the .exe file using the Process class, there is a method called waitFor() which
    will cause the current thread to wait for the process to finish
    eg
    public void execute() {
    Runtime runtime = System.getRuntime();
    System.out.println("Start minesweeper");
    Process process = runtime.exec("winmine.exe");
    process.waitFor();
    System.out.println("Finished");
    }

Maybe you are looking for

  • IR and GR

    I am looking for a report where an IR is created for a GR and it must also show if no IR is created for a GR, if there is something that is SAP standard, it will be great, if not, the knowing the tables will also help, this way I can write the report

  • Does anyone have URL replacement working for catalog generated from wiki pages library

    Hi everyone, I have created a catalog from a wiki library which surfaces news/event/announcement articles to a publishing site (with make URLs relative to this site selected).  This works well after modifying the item page and specifying the content

  • Can you just sync playlists across 2 macs with identical libraries

    can you just sync playlists across 2 macs with identical libraries. i have done a carbon copy of my home mac itunes library to a work mac.  i'll then switch itunes match on on the home mac, and i am assumign i won't need to redownload everything to m

  • Packages problem plzzz help

    I have a sourcecode with the package hierarchy as package1.package2.something. Can anybody tell me how can i change the whole package into package3.package2.something nd compile it ? how can i do this ?

  • Launch workitems from Agent inbox with Webflow customizing

    Hi all, I am looking for a definite answer to the following: Is it possible (in CRM 4.0) to process Workflow workitems that have a webflow linked from the Agent Inbox in the Webclient. I have set up the customizing in the inbox and the workitems appe