Using ftp to upload a file to Content Database

Hi Experts,
I am looking to upload the file to the Content DB using FTP.
Can any one let me know if there is any API for doing this and also if there any way to upload the attributes(META data) after uploading the file using FTP.
I have a tried already uploading the file using web services API now looking for FTP Upload.
Thanks
Ahamed

A quick search at google reveals there are plenty of FTP libraries available for the various mainstream programming languages (Java, C, C++ etc).
However, FTP has a very basic command set. (MKDIR, GET, PUT, DEL etc).
So you are not going to be able to perform more advanced document management tasks (such as lock a document, check-in, check-out, modify metadata, modify security, search, sort etc) through standard FTP commands.
In terms of setting metadata through FTP, you could potentially store the various processing instructions required in some type of XML file (or equivalent) and upload this XML file to the repository. A custom event handler could be created that listens for DOCUMENT_CREATED events, and then attempts to process the XML files and perform the various instructions contained within by calling the appropriate in-process Content DB FDK API.
It's ugly, but possible.
cheers
Matt.

Similar Messages

  • USing FTP to load ISO files

    dear community memebers,
    i am using VMware to try oracle VM. i was using FTP to upload an ISO File of enterprise linux through the VM manager console, my problem is that the speed is too low since the system is using the internet to upload the file to the vmware server.
    I know it might not be related to oracle VM but i thought that may be someone have faced the same problem

    Alison,
    you said we can download ISO files into Oracle vm server. how we can download ISO files. I couldn't see any browser(IE or FIREFOX) in my environment.
    my virtural environment is followings;
    I installed oracle vm server on vmware workstation 6.
    I am following oracle instructions "Installing and Configuring Oracle Enterprise Linux 5 with Oracle Database 11g Release 1 as a Paravirtualized Machine (PVM) on an Oracle VM Server"
    after installation of vm server, how we can import oracle linux 5 iso files..
    would you help me?
    thanks

  • Use SkyDrive to upload collected files and post screen shot/picture. (Updated: 1/16/2012)

    To help community members troubleshoot issues efficiently, sometimes we need to collect related files (such as Event logs, Network traces, Setup
    log files, Screenshots, etc.) to perform a specific analysis. 
    We can simply use SkyDrive, which is a free storage on Windows Live, it’s easy to store and share your files and photos with almost anyone. To make the
    steps clear, I would like to share the detailed steps for:
    1. How to use  SkyDrive to upload collected files?
    2. How to post screenshots or other pictures in forum threads?
    1.  
    How to use
    SkyDrive to upload collected files? 
    1)   
    Open the
     SkyDrive site.
    2)   
    In the
    Sign In page, if you own a Windows Live ID, please type your Windows Live ID and Password to sign in; Otherwise, you may click Sign Up to register a new one. See the following screen shot.
    3)   
    After signing in Windows Live, click Create folder.
    4)     Name
    the folder and edit permissions to share with relevant person.
    Important Note: You
    can share the folder with Everyone if there is no private/sensitive information (such as the screen shot of a prompt error message). To so so, simply select the "Everyone (Public)" option in the "Share with" box. Please refer to the following screen shot:
    However, for private information that you do NOT want to be accessed by everyone, it is recommended to share with specified individuals. To do so, you can expand the "Share with" box, choose the "Select people..." option, and then type their
    Live IDs in the Individual box. Please refer to the screen shot below:
    5)   
    Drag the previously collected files directly to the Skydrive folder. For example:
    6)   
    Click Upload.
    7)   
    Click on the uploaded files and tell us the URL.
    2.  
    How to post screenshots or other pictures in forum threads?
    (This section updated on 1/16/2012 to reflect changes in Skydrive. Thanks to
    Jeeped on the Microsoft Answers forums)
    1)   Please
    use the above method to upload the picture files in advance. Then, in your Skydrive space, Right Click the picture and select
    View Original. Press Ctrl + A, or Right Click and select Copy, to select it.
    2)   
    Press Ctrl + C to copy this picture. 
    3)   
    Navigate to your post textbox, and press Ctrl + V, or Right Click and select Paste, to paste the picture there.
    Then, the picture will be successfully inserted in that thread.

    I cant even open windows now!!!! it crashes mecilessly here is a copy of the only dump file i have. i retreved it from second life and cant copy it onto the clip board.
    Problem signature:  Problem Event Name:BlueScreen  OS Version:6.1.7600.2.0.0.768.3  Locale ID:1033
    Additional information about the problem:  BCCode:124  BCP1:0000000000000000  BCP2:FFFFFA80050BE8F8  BCP3:0000000000000000  BCP4:0000000000000000  OS Version:6_1_7600  Service Pack:0_0  Product:768_1
    Files that help describe the problem:  C:\Windows\Minidump\073011-29484-01.dmp  C:\Users\madamediva\AppData\Local\Temp\WER-72805-0.sysdata.xml
    Read our privacy statement online:  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:  C:\Windows\system32\en-US\erofflps.txt
    dump_pciidex.sysdump_pciidex.sys+216e730fffff880`01464000fffff8b0`014700000x000000300000c0000x4a5bc1137/13/2009 7:19:47 PMntoskrnl.exentoskrnl.exe+782e2fffff800`02a03000fffff800`02fe00000x005dd0000x4a5bc6007/13/2009 7:40:48 PMMicrosoft® Windows® Operating
    SystemNT Kernel & System6.1.7600.16385 (win7_rtm.090713-1255)Microsoft CorporationC:\Windows\system32\ntoskrnl.exeACPI.sysfffff880`00f46000fffff880`00f9d0000x000570000x4a5bc1067/13/2009 7:19:34 PMamdxata.sysfffff880`00c6c000fffff880`00c770000x0000b0000x4a12f2eb5/19/2009
    1:56:59 PMatapi.sysfffff880`00e59000fffff880`00e620000x000090000x4a5bc1137/13/2009 7:19:47 PMataport.SYSfffff880`00e62000fffff880`00e8c0000x0002a0000x4a5bc1187/13/2009 7:19:52 PMAtiPcie.sysfffff880`01fe8000fffff880`01ff00000x000080000x4a0054865/5/2009 11:00:22
    AMBATTC.SYSfffff880`00e1e000fffff880`00e2a0000x0000c0000x4a5bc3b57/13/2009 7:31:01 PMCI.dllfffff880`00d1a000fffff880`00dda0000x000c00000x4a5be01d7/13/2009 9:32:13 PMCLASSPNP.SYSfffff880`01800000fffff880`018300000x000300000x4a5bc11e7/13/2009 7:19:58 PMCLFS.SYSfffff880`00cbc000fffff880`00d1a0000x0005e0000x4a5bc11d7/13/2009
    7:19:57 PMcng.sysfffff880`01000000fffff880`010730000x000730000x4a5bc8147/13/2009 7:49:40 PMcompbatt.sysfffff880`00e15000fffff880`00e1e0000x000090000x4a5bc3b67/13/2009 7:31:02 PMcrashdmp.sysfffff880`01ff0000fffff300`01ffe0000xfffffa800000e0000x4a5bcabd7/13/2009
    8:01:01 PMdisk.sysfffff880`01fd2000fffff880`01fe80000x000160000x4a5bc11d7/13/2009 7:19:57 PMdump_dumpfve.sysfffff880`01235000fffff87f`012480000xffffffff000130000x4a5bc18f7/13/2009 7:21:51 PMdump_msahci.sysfffff880`01470000fffff87f`0147b0000xffffffff0000b0000x4a5bcabd7/13/2009
    8:01:01 PMfileinfo.sysfffff880`01145000fffff880`011590000x000140000x4a5bc4817/13/2009 7:34:25 PMfltmgr.sysfffff880`010f9000fffff880`011450000x0004c0000x4a5bc11f7/13/2009 7:19:59 PMFs_Rec.sysfffff880`0122b000fffff880`012350000x0000a0000x4a5bc1117/13/2009 7:19:45
    PMfvevol.sysfffff880`01f98000fffff880`01fd20000x0003a0000x4a5bc1a77/13/2009 7:22:15 PMfwpkclnt.sysfffff880`01400000fffff880`0144a0000x0004a0000x4a5bc1647/13/2009 7:21:08 PMhal.dllfffff800`02fe0000fffff800`030290000x000490000x4a5bdf087/13/2009 9:27:36 PMhwpolicy.sysfffff880`01f8f000fffff880`01f980000x000090000x4a5bc0fa7/13/2009
    7:19:22 PMkdcom.dllfffff800`00bd1000fffff800`00bdb0000x0000a0000x4a5bdfdb7/13/2009 9:31:07 PMkl1.sysfffff880`01830000fffff880`01f8f0000x0075f0000x4c0f985b6/9/2010 9:34:19 AMksecdd.sysfffff880`01200000fffff880`0121a0000x0001a0000x4a5bc1567/13/2009 7:20:54 PMksecpkg.sysfffff880`015d3000fffff880`015fe0000x0002b0000x4a5bc84a7/13/2009
    7:50:34 PMmcupdate.dllfffff880`00c9b000fffff880`00ca80000x0000d0000x4a5bdf657/13/2009 9:29:09 PMmountmgr.sysfffff880`00e3f000fffff880`00e590000x0001a0000x4a5bc11a7/13/2009 7:19:54 PMmsahci.sysfffff880`00ff0000fffff880`00ffb0000x0000b0000x4a5bcabd7/13/2009
    8:01:01 PMmsisadrv.sysfffff880`00fa6000fffff880`00fb00000x0000a0000x4a5bc0fe7/13/2009 7:19:26 PMmsrpc.sysfffff880`01165000fffff880`011c30000x0005e0000x4a5bc17c7/13/2009 7:21:32 PMmup.sysfffff880`01452000fffff880`014640000x000120000x4a5bc2017/13/2009 7:23:45
    PMndis.sysfffff880`01481000fffff880`015730000x000f20000x4a5bc1847/13/2009 7:21:40 PMNETIO.SYSfffff880`01573000fffff880`015d30000x000600000x4bbe946f4/8/2010 10:43:59 PMNtfs.sysfffff880`0124c000fffff880`013ef0000x001a30000x4a5bc14f7/13/2009 7:20:47 PMpartmgr.sysfffff880`00e00000fffff880`00e150000x000150000x4a5bc11e7/13/2009
    7:19:58 PMpci.sysfffff880`00fb0000fffff880`00fe30000x000330000x4a5bc1177/13/2009 7:19:51 PMPCIIDEX.SYSfffff880`00c5c000fffff880`00c6c0000x000100000x4a5bc1147/13/2009 7:19:48 PMpcw.sysfffff880`0121a000fffff880`0122b0000x000110000x4a5bc0ff7/13/2009 7:19:27 PMPSHED.dllfffff880`00ca8000fffff880`00cbc0000x000140000x4a5be0277/13/2009
    9:32:23 PMMicrosoft® Windows® Operating SystemPlatform Specific Hardware Error Driver6.1.7600.16385 (win7_rtm.090713-1255)Microsoft CorporationC:\Windows\system32\PSHED.dllPxHlpa64.sysfffff880`01159000fffff880`01164e000x0000be000x4a4162536/23/2009
    7:16:35 PMrdyboost.sysfffff880`010bf000fffff880`010f90000x0003a0000x4a5bc48a7/13/2009 7:34:34 PMspldr.sysfffff880`0144a000fffff880`014520000x000080000x4a0858bb5/11/2009 12:56:27 PMtcpip.sysfffff880`01602000fffff880`017ff0000x001fd0000x4bbe94e24/8/2010 10:45:54
    PMvdrvroot.sysfffff880`00fe3000fffff880`00ff00000x0000d0000x4a5bcadb7/13/2009 8:01:31 PMvolmgr.sysfffff880`00e2a000fffff880`00e3f0000x000150000x4a5bc11d7/13/2009 7:19:57 PMvolmgrx.sysfffff880`00c00000fffff880`00c5c0000x0005c0000x4a5bc1417/13/2009 7:20:33 PMvolsnap.sysfffff880`01073000fffff880`010bf0000x0004c0000x4a5bc1287/13/2009
    7:20:08 PMWdf01000.sysfffff880`00e93000fffff880`00f370000x000a40000x4a5bc19f7/13/2009 7:22:07 PMWDFLDR.SYSfffff880`00f37000fffff880`00f460000x0000f0000x4a5bc11a7/13/2009 7:19:54 PMWMILIB.SYSfffff880`00f9d000fffff880`00fa60000x000090000x4a5bc1177/13/2009 7:19:51
    PM

  • Using &APP_ID. in uploaded javascript file

    Hi dev's,
    I fumbling around with a quite annoying problem.
    When I create a javascript directly inside the "Header Text" of my page the script works perfectly:
    <script type="text/javascript">
    function fnc_setTreeItem (pItem)
      var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',0);
      get.add(pItem,$x(pItem).value)
      gReturn = get.get();
      get = null;
    </script> But when I use an uploaded javascript file instead because the source code becomes to much then the script runs on an error:
    <!-- Custom js, css, libs -->
    &lt;script type="text/javascript" src="#APP_IMAGES#ukd_monitoring.js">&lt;/script> Firebug error description:
    syntax error
    E()apex_ns_3_1.js (line 1)
    ? in apex_ns_3_1.js@1("ContentArea")apex_ns_3_1.js (line 1)
    $x("ContentArea")apex_3_1.js (line 1)
    $x_Style(["BB", "ContentArea", "ContentBody" 0=BB 1=ContentArea 2=ContentBody], "display", "")apex_3_1.js (line 1)
    $x_Show(["BB", "ContentArea", "ContentBody" 0=BB 1=ContentArea 2=ContentBody])apex_3_1.js (line 1)
    filterAttributeRegions(a.htmldbButtonListCurrent f?p=4000:4...1,150#HEAD, "#HEAD")apex_builder.js (line 1)
    propTest()apex_builder.js (line 1)
    ? in apex_3_1.js@1()apex_3_1.js (line 1)
    [Break on this error] var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',0);\nIs there a possibility to get the APP_ID work inside an uploaded file?
    Best regards,
    Tobias

    Hello Tobias,
    Use $v('pFlowId') instead. That should work...
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Upload a file into Oracle database without using a temp file in the server.

    Hello.
    I need to upload a file into a Oracle database, but I have not permission to write a temp file in the aplication server. Because of this, I can't use a MultipartRequest object.
    Does anybody know how to do this?
    Thanks everybody for your help.

    You can still use a MultiPart request.
    Use the Apache FileUpload package.
    Get the InputStream of the file being uploaded.
    Now you can either store the file in memory by writing to a java.io.ByteArrayOutputStream or you can save the file to Oracle by writing it to a java.sql.Blob object using the Blob.setBinaryStream method. This Blob object can then be persisted to Oracle.
    Unfortunately I don't have sample code readily available.

  • IStore Uploading source files to content repository

    I follow iStore Quick reference guide and try to add file to content repository. I use a user with iStore Administrator responsibility however from the content page I see the links/tabs to Usage Summary/Media Objects/My content/Library/Pending Approvals/Trash but not Content repository where it is supposed to be possible to add files/images etc to oracle content repository. Any hulp would be appreciated.

    The "report abuse" link for the original post in a thread is in the Actions box to the right of the post.
    I seem to spend more time reporting posts to be moved than answering questions.

  • Storing Uploaded Audio Files in Your Database

    I have been using the cffile tag to upload files into a
    directory on the server and then writing the details of that file
    into a database, but I would like to now instead of uploading and
    writing the file to a directory, I would like to write that file
    into a field of a database table and then call it out later to
    listen to it or view it.
    Does anyone have any experience with writing a file into a
    database along with it's file details and then code to read it out
    and display the file details and view or listen to the file?
    I'm guessing that I would need a field in the database table
    that is a byte array, data type "image" to hold the file and then
    the other fields would be "type" "varchar" to hold the details of
    the file.
    MySQL or SQL Server are my choices of databases.
    Thank you!
    Tom

    You should have a blob type column (In oracle) to save the
    content ..
    First upload the file to webserver
    <cffile action="upload"
    filefield="form.FileName"
    destination="C:\temp\"
    nameconflict="makeunique" >
    Convert the same to binary
    <cffile
    action = "readbinary"
    file = "C:\temp\#cffile.serverFile#"
    variable="file_blob">
    insert statement
    insert into files (FILE_ID,file_content)
    values (7,
    <cfqueryparam
    value="#file_blob#"
    cfsqltype="cf_sql_blob">
    delete the file from the server
    <cffile
    action="delete"
    file="C:\temp\#cffile.serverFile#">

  • Upload pdf file in oracle database

    Hi Everyone,
    Can anybody describe me that how to upload/download pdf or doc file into oracle database using oracle form10g?
    Thanks in Advance.
    Baloch.

    Hello,
    The Webutil library has a FILE_TRANSFER package that includes functions to transfer file between the client machine, the Application Server and the Database.
    Francois

  • Uploading a file into mySQL database?

    Hello, everybody.
    Can anyone give me a code snippet or at least a hint, how could I upload a file into the BLOB field of mySQL database using JSP webpage? How do you generally store uploaded files on the server? If anyone could suggest a good algorythm of saving the files in the server's file system and saving only their URLs in the database (this was my initial idea), I would be ready to accept this as well.
    Would be appreciated for any help.

    Hi
    Fou uploading the files from client site to server user the utility given by oreilly Go to this site and down the code for uploading the source code for fileupload
    For writing this code to database use this code
    code
    import java.sql.*;
    import java.io.*;
    class BlobTest {
         public static void main(String args[]) {
              try {
                   //File to be created. Original file is duke.gif.
                   DriverManager.registerDriver( new org.gjt.mm.mysql.Driver());
                   Connection conn = DriverManager.getConnection("jdbc:mysql://agt_229/test","manoj","manoj");
                   /*PreparedStatement pstmt = conn.prepareStatement("INSERT INTO BlobTest VALUES( ?, ? )" );
                   pstmt.setString( 1, "photo1");
                   File imageFile = new File("duke.gif");
                   InputStream is = new FileInputStream(imageFile);
                   pstmt.setBinaryStream( 2, is, (int)(imageFile.length()));
                   pstmt.executeUpdate();
                   PreparedStatement pstmt = conn.prepareStatement("SELECT image FROM testblob WHERE Name = ?");
                   pstmt.setString(1, args[0]);
                   RandomAccessFile raf = new RandomAccessFile(args[0],"rw");
                   ResultSet rs = pstmt.executeQuery();
                   if(rs.next()) {
                        Blob blob = rs.getBlob(1);
                        int length = (int)blob.length();
                        byte [] _blob = blob.getBytes(1, length);
                        raf.write(_blob);
                   System.out.println("Completed...");
              } catch(Exception e) {
                   System.out.println(e);
    end of code
    this code contain both inserting into table and retrieving from table

  • Problem using email to upload image files to Mobile Me gallery

    I will cross post this question to both Mail and Mobile Me discussion groups because I don't know where my problem lies.
    I have published a gallery page from iPhoto to my Mobile Me gallery. There are two ways to upload additional photos. I am not having trouble adding image files with the Upload feature. I cannot get the email function to work. The emails I send to the email address for the gallery bounce back to my mail inbox.
    Subject: Delivery Notification: Delivery has failed
    and in the body of the bounced email:
    Recipient address: [email protected]
    Reason: SMTP transmission failure has occurred
    Diagnostic code: smtp;521 5.2.1 Fatal failure of WOA
    Remote system: dns;post.mac.com (TCP|10.150.69.91|51195|10.13.19.27|25) (mbin002.mac.com ESMTP [2.3.3/gso-r197-19Feb2007] ready to rumble)
    Original-envelope-id: [email protected]
    Reporting-MTA: dns;asmtp028-bge351000 (tcp-daemon)
    Original-recipient: rfc822;[email protected]
    Final-recipient: rfc822;[email protected]
    Action: failed
    Status: 5.2.1 (SMTP transmission failure has occurred)
    Remote-MTA: dns;post.mac.com (TCP|10.150.69.91|51195|10.13.19.27|25)
    (mbin002.mac.com ESMTP [2.3.3/gso-r197-19Feb2007] ready to rumble)
    Diagnostic-code: smtp;521 5.2.1 Fatal failure of WOA
    One of the images I am trying to attach is a jpeg file of 61 kb.
    I have tried to drag the image from my desktop to the body of the email. I have tried using the "attach" function and selecting the file name. I am not sending any text with these files.
    When I built these albums, I checked and enabled all the options.
    I am having this same issue when I try to upload via email to any of my Mobile Me gallery pages.
    There is currently one photo displayed here:
    http://gallery.me.com/tplattenberger#100352
    If anyone wishes to try to upload to that gallery using email (Send to Album) that would be great and if successful, that might provide a clue to my problem.
    As I say, I currently have one photo there. If you find a lot more, please do not add.
    What's the problem?
    Tom

    The images I am trying are newly created and old.
    A weird hint perhaps...
    I just copied an image from Apple's home page and pasted it into the email and tried again...
    it worked.
    So I tried again, dragging from iPhoto and it did not work... the email bounced back.
    So I tried again, this time using copy and paste (like I did from Apple's page) from iPhoto... it did not work.
    Tom

  • Problem uploading a file to content area

    Recently I have been receiving the following error in my apache error log file...It tells me to refer to the doc for ways around this issue...I am unable to locate any doc on this issue. I have looked in the iAS plsql doc as well. Now this comes and goes as well. For the most part clients can upload files successfully, but once and a while this error occurs. The error causes the 404 error in the browser
    [Tue Oct 29 16:41:25 2002] [warn] mod_plsql: /pls/portal30/PORTAL30.wwv_add_wizard.edititem had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    mod_plsql: /pls/portal30/PORTAL30.wwv_edit_tab.edititem had to be described for execution. Refer to the
    PL/SQL GateWay documentation on how to avoid this
    Any help would be greatly appreciated...
    I am on 30980 portal at the moment...we are upgrading in the next couple weeks. Is this a known bug in a specific version??

    Its a benign error. It has to do with flexible parameter passing. You can ignore it.
    Recently I have been receiving the following error in my apache error log file...It tells me to refer to the doc for ways around this issue...I am unable to locate any doc on this issue. I have looked in the iAS plsql doc as well. Now this comes and goes as well. For the most part clients can upload files successfully, but once and a while this error occurs. The error causes the 404 error in the browser
    [Tue Oct 29 16:41:25 2002] [warn] mod_plsql: /pls/portal30/PORTAL30.wwv_add_wizard.edititem had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    mod_plsql: /pls/portal30/PORTAL30.wwv_edit_tab.edititem had to be described for execution. Refer to the
    PL/SQL GateWay documentation on how to avoid this
    Any help would be greatly appreciated...
    I am on 30980 portal at the moment...we are upgrading in the next couple weeks. Is this a known bug in a specific version??

  • Uploading Data File to Company Database

    I've created a form using iWork Numbers on my iPad.
    If I create a data file from specific data in my form is there a way to upload the data file from my iPad directly to a company database over the internet.
    I don't want to have use iTunes or MobileMe because it seems that the data would then have to be manually forwarded to the database. At least that's my perception but I could be wrong.
    I would appreciate any help on directly forwarding data from an iPad to a company database via the internet.
    Thanks

    The only thing I can think of off the top of my head is email as an excel file. You would want to email it to yourself and open in excel, then use that (unmodified) file as a template for your IT to set up an email and script that would take the emailed file and import into the proper table(s).
    Jason

  • Upload csv file to server database directory through Apex interface

    Hi All,
    I have created a file browse item in Apex Page. through which user should be able to upload the csv file to database directory located in server.
    I have created one directory object in my schema say NAN_DIR where mentioned the directory.
    Need urgent solution......
    Thanks in Advance
    Danalaxmi

    Hi Danalaxmi,
    There is an example in this thread:
    Re: Store \ Retrieve files from file system
    Regards,
    Benz

  • Use of standby redo log files in primary database

    Hi All,
    What is the exact use of setting up standby redo log files in the primary database on a data guard setup?
    any good documents?

    A standby redo log is required for the maximum protection and maximum availability modes and the LGWR ASYNC transport mode is recommended for all databases. Data Guard can recover and apply more redo data from a standby redo log than from archived redo log files alone.
    You should plan the standby redo log configuration and create all required log groups and group members when you create the standby database. For increased availability, consider multiplexing the standby redo log files, similar to the way that online redo log files are multiplexed.
    refer the link,and Perform the following steps to configure the standby redo log.:-
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i1225703
    If the real-time apply feature is enabled, log apply services can apply redo data as it is received, without waiting for the current standby redo log file to be archived. This results in faster switchover and failover times because the standby redo log files have been applied already to the standby database by the time the failover or switchover begins.
    refer the link
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_apply.htm#i1023371

  • Uploading Excel file into SAP Database table?

    I built a table in the SAP Data Dictionary, and i need to write a program that uploads the Excel table, into the SAP Database table.  Does anybody have a sample program that may help me?  Thanks!

    TYPES:
         BEGIN OF ty_upload,
         matnr like mara-matnr,
         meins like mara-meins,
         mtart like mara-mtart,
         mbrsh like mara-mbrsh,
         END OF ty_upload.
      DATA it_upload TYPE STANDARD TABLE OF ty_upload WITH header line.
      DATA wa_upload TYPE ty_upload.
      DATA: itab TYPE STANDARD TABLE OF alsmex_tabline WITH header line.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename    = 'C:\Documents and Settings\venkatapp\Desktop\venkat.xls'
          i_begin_col = 1
          i_begin_row = 1
          i_end_col   = 4
          i_end_row   = 65535
          TABLES
          intern      = itab.
    if not itab[] is initial.
    loop at itab .
    case itab-col.
    when '0001'.
    it_upload-matnr = itab-value.
    when '0002'.
    it_upload-meins = itab-value.
    when '0003'.
    it_upload-mtart = itab-value.
    when '0004'.
    it_upload-mbrsh = itab-value.
    append it_upload.
    clear it_upload.
    clear itab.
    endcase.
    endloop.
    endif.
    loop at it_upload into wa_upload.
    ztable-matnr = wa_upload-matnr.
    ztable-meins = wa_upload-meins.
    ztable-mtart = wa_upload-mtart.
    ztable-mbrsh = wa_upload-mbrsh.
    insert ztable.
    endloop.

Maybe you are looking for