BAPI to upload images to external database

Hi gurus,
I need ur help despartely. I need to upload images, attachments, url, to an external database system for material master using services for object button using MM01 tcode. Using BDC we do not get this button as this is an external service. So we need bapi. Again in display mode we need to use a bapi to retrieve the attachment info from the external database. found tables like SOOD. Please advice.
Regards.

Connection con=null;
    try{
      Class.forName("youroracledriver").newInstance();
       con = DriverManager.getConnection("url");
   PreparedStatement ps = con.prepareStatement("INSERT INTO pictures VALUES(?,?)");
      File file=new File("F:/servletworkspace/insertingimage/bb.jpg");
     FileInputStream fs = new FileInputStream(file);
      ps.setInt(1,15);
      ps.setBinaryStream(2,fs,(int)file.length());
      int i = ps.executeUpdate();
      if(i!=0){
        out.println("image inserted successfully");
      else{
        out.println("problem in image insertion");
    catch (Exception e){
      System.out.println(e);
    }

Similar Messages

  • Upload image into mysql database residing on  remote server is not working?

    hello to all,
    i need ur help,we hav online site .
    i have to upload image(which can b from any pc) into mysql database residing on remote server of which we (don't hav actual path of that server).
    the solution i'm using is working correctly on local bt when transfer it to server it shows
    java.io.FileNotFoundException: (No such file or directory)
    i have used multipartRequest to access parameter of file type input.
    all variables and related packages r imported properly.no prblm in that.
    code is here....................................
    try {
    MultipartRequest multi = new MultipartRequest(request, ".", 500000 * 1024);
    File f = multi.getFile("uploadfile");
    out.println(f.getName());
    filename = f.getName();
    String type = multi.getContentType(f.getName());
    fis=new FileInputStream(filename);
    byte b[]=new byte[fis.available()];
    fis.read(b);
    fis.close();
    Blob blob=new SerialBlob(b);
    Class.forName("com.mysql.jdbc.Driver");
    Connection con=DriverManager.getConnection("jdbc:mysql://10.1.52.206:3306/test?user=root&password=delhi");
    String query="insert into uploads (FILENAME,BINARYFILE,) values (?,?)";
    pstmt=con.prepareStatement(query);
    pstmt.setString(1,filename);
    pstmt.setBlob(2,blob);
    int i=pstmt.executeUpdate();
    if(i>0)
    out.println("Image Stored in the Database");
    else
    out.println("Failed");
    } catch (Exception ex) {
    out.print("*******************"+ex);
    ex.printStackTrace();
    please suggest me the way to upload image to remote server** not on local server.
    its urgent.
    Edited by: JavaDevS on Jul 28, 2008 11:41 AM

    i need ur help,we hav online site .Please don't use these juvenile abbreviations. It's impolite when you're asking for assistance not to make the effort to spell out all of the words. Moreover in a forum with an international readership the use of standard English will reduce the possibility of confusion.
    I presume that your file upload is being placed in a different directory from that which you were expecting. I would suggest logging all paths (specifically filename) to see if this is an unexpected value.
    Please explain further what you mean by "local" - is this a stand-alone application, or merely running a copy of the server on your local machine and doing the transfer (via the browser) to that? Are there any other differences such as the browser used?

  • How to upload images to MySql database.

    Hey guys so i created a insert form in dreamweaver to add to a database, its workin fine but i want to add another field to browse for and add a small image of the item. I created my insert form with a wizard and I'm not sure how to add an image uploader to it. I have a blob field in my database called "image" I'm just not sure how to add to it from my form.  Here is the code for my insert page so far:
    <?php require_once('../Connections/cbdb.php'); ?>
    <?php require_once('Zend/Date.php'); ?>
    <?php
    if (!isset($_SESSION)) {
      session_start();
    $MM_authorizedUsers = "";
    $MM_donotCheckaccess = "true";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
      // For security, start by assuming the visitor is NOT authorized.
      $isValid = False;
      // When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
      // Therefore, we know that a user is NOT logged in if that Session variable is blank.
      if (!empty($UserName)) {
        // Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
        // Parse the strings into arrays.
        $arrUsers = Explode(",", $strUsers);
        $arrGroups = Explode(",", $strGroups);
        if (in_array($UserName, $arrUsers)) {
          $isValid = true;
        // Or, you may restrict access to only certain users based on their username.
        if (in_array($UserGroup, $arrGroups)) {
          $isValid = true;
        if (($strUsers == "") && true) {
          $isValid = true;
      return $isValid;
    $MM_restrictGoTo = "login.php";
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          if ($theValue == "")
        $theValue = "NULL";
       else
        $zendDate = new Zend_Date($theValue, "d/M/yyyy");
        $theValue = "'" . $zendDate->toString("yyyy-MM-dd") . "'";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    // *** Redirect if username exists
    $MM_flag="MM_insert";
    if (isset($_POST[$MM_flag])) {
      $MM_dupKeyRedirect="stock_already_exist.php";
      $loginUsername = $_POST['registration'];
      $LoginRS__query = sprintf("SELECT registration FROM stock WHERE registration=%s", GetSQLValueString($loginUsername, "text"));
      mysql_select_db($database_cbdb, $cbdb);
      $LoginRS=mysql_query($LoginRS__query, $cbdb) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      //if there is a row in the database, the username was found - can not add the requested username
      if($loginFoundUser){
        $MM_qsChar = "?";
        //append the username to the redirect page
        if (substr_count($MM_dupKeyRedirect,"?") >=1) $MM_qsChar = "&";
        $MM_dupKeyRedirect = $MM_dupKeyRedirect . $MM_qsChar ."requsername=".$loginUsername;
        header ("Location: $MM_dupKeyRedirect");
        exit;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO stock (make, model, `year`, cc, fuel, doors, body, `date`, registration, keywords) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['make'], "text"),
                           GetSQLValueString($_POST['model'], "text"),
                           GetSQLValueString($_POST['year'], "text"),
                           GetSQLValueString($_POST['cc'], "text"),
                           GetSQLValueString($_POST['fuel'], "text"),
                           GetSQLValueString($_POST['doors'], "text"),
                           GetSQLValueString($_POST['body'], "text"),
                           GetSQLValueString($_POST['date'], "date"),
                           GetSQLValueString($_POST['registration'], "text"),
                           GetSQLValueString($_POST['keywords'], "text"));
      mysql_select_db($database_cbdb, $cbdb);
      $Result1 = mysql_query($insertSQL, $cbdb) or die(mysql_error());
      $insertGoTo = "stock_added.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_cbdb, $cbdb);
    $query_rsStock = "SELECT * FROM stock ORDER BY stockId ASC";
    $rsStock = mysql_query($query_rsStock, $cbdb) or die(mysql_error());
    $row_rsStock = mysql_fetch_assoc($rsStock);
    $totalRows_rsStock = mysql_num_rows($rsStock);
    ?>

    supersham101 wrote:
    Hey guys so i created a insert form in dreamweaver to add to a database, its workin fine but i want to add another field to browse for and add a small image of the item. I created my insert form with a wizard and I'm not sure how to add an image uploader to it. I have a blob field in my database called "image" I'm just not sure how to add to it from my form.
    Storing images in a database is generally not a good idea. Apart from bloating your database and increasing the risk of table fragmentation when images are updated or deleted, you cannot display an image directly from a database. However, if you want to do it, you will find instructions here: http://cookbooks.adobe.com/post_Upload_images_to_a_MySQL_database__PHP_-16609.html.
    The more common (and efficient) approach is to use the database to store details of the image, such as filename and caption. Then upload the image to your website's file system.
    I give step-by-step instructions how to do this in my book, "Adobe Dreamweaver CS5 with PHP: Training from the Source", but if you have reasonable skill at using PHP, you can learn how to handle file uploads from the PHP Manual at http://docs.php.net/manual/en/features.file-upload.php.

  • Uploading images in access database using jsp

    Hi, am using jsp with access database and want to upload as in a profile picture for any profile on the site[i mean depending on the user's convenience] ..
    I just have a code which helps select the image from the client's machine n gets its address..but then how to use it in a form or something so that it can be submitted and inserted in the database?
    Any idea? I d prefer not using servelet.. but if it just cannot be done without servelet then ok can suggest with that too.
    Here is the code of Browsing to obtain the picture:
    <form name=uploadForm action="uploadpic.jsp" method=post enctype="multipart/form-data" >     <input type="file" > <input type="submit" name="submit"  />     </form>

    silversurface wrote:
    Hi, am using jsp with access database and want to upload as in a profile picture for any profile on the site[i mean depending on the user's convenience] ..
    bad. Don't put business logic in JSP, and that includes accessing databases.
    Any idea? I d prefer not using servelet.. but if it just cannot be done without servelet then ok can suggest with that too.
    Don't put business logic in JSP. That's what servlets are for (and EJB).

  • Problem while uploading Image to DataBase

    Hi ,
    i m getting exception while executing code below,
    is there anything to configure the data base before uploading images onto the database....
    Connection con=null;
    try{
    Class.forName("youroracledriver").newInstance();
    con = DriverManager.getConnection("url");
    PreparedStatement ps = con.prepareStatement("INSERT INTO pictures VALUES(?,?)");
    File file=new File("F:/servletworkspace/insertingimage/bb.jpg");
    FileInputStream fs = new FileInputStream(file);
    ps.setInt(1,15);
    ps.setBinaryStream(2,fs,(int)file.length());
    int i = ps.executeUpdate();
    if(i!=0){
    out.println("image inserted successfully");
    else{
    out.println("problem in image insertion");
    catch (Exception e){
    System.out.println(e);
    }

    To connect to database if your need to register driver and then make connection. So instead of:
    user8689318 wrote:
    Class.forName("youroracledriver").newInstance();
    con = DriverManager.getConnection("url");you should have (if you are connecting to oracle using oracle jdbc driver):
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    con = DriverManager.getConnection("jdbc:oracle:thin:@<your db listener ip>:<your db listener port>:<your db sid>", "<db user>", "<db user password");
    plus in future if you getting exception, then you should post it as well

  • Uploading image stored in blob & retrieving to disk

    Hi there...
    Any help will be much appreciated !!!
    I have the following to tasks that I needhelp figuring out:
    I'm using the intermedia WebAgent and interface with
    a jsppage.
    1. I have a table with a field that store images. The field
    isdeclared as blob datatype. My task is to upload images to the
    database from a client side and store it in to server db in this field.
    The examples thatI've got from technet are using fields declared
    as ordImage.
    Can you give me example on how to do this when the db field is a blob ?
    2. On the other problem, I need to retrieve an image from the same field,
    but be able tostore it directly to a local disk at client side.
    Again, the examples I haveis on displaying the image directly on
    the web page.
    Can you give meexample or way how to retrieve the image and store it
    directly to the disk?
    Thanks..
    null

    Some usefull code examples are available @ :
    http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
    and
    http://technet.oracle.com/sample_code/tech/java/sqlj_jdbc/files/advanced/LOBSample/LOBSample.java
    hope these help

  • Problem with uploading images in interMedia

    Hi,
    I'm a newbie trying to upload images to the Database (Oracle 10g release 2) using interMedia. I created a test table called hmm:
    create table hmm(product_id number, product_photo blob);
    Then I tried to insert the image into the table :
    SQL> insert into hmm (product_id, product_photo) values
    (3003,ORDImage.init('FILE','MEDIA_DIR','mvd.jpg'));
    and I got the following error :
    insert into hmm (product_id, product_photo) values (3003,ORDImage.init('FILE','MEDIA_DIR','mvd.jpg'))
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected BLOB got ORDSYS.ORDIMAGE
    Can somebody explain.
    Thanks,
    Steve

    Hi Steve,
    Yes, you created your table with a 'blob' type:
    create table hmm(product_id number, product_photo blob);
    But your insert assumes the product_photo column is an ORDImage type:
    SQL> insert into hmm (product_id, product_photo) values
    (3003,ORDImage.init('FILE','MEDIA_DIR','mvd.jpg'));
    The error: "ORA-00932: inconsistent datatypes: expected BLOB got ORDSYS.ORDIMAGE" is telling you it expected a BLOB in your insert because your table was created with a BLOB type.
    If you change your table creation to this it should work:
    create table hmm(product_id number, product_photo ORDSYS.ORDIMAGE);
    You might want to take a look at the interMedia Image Quick Start on Oracle Technology Network. It should get you up and running quickly. You can find it here:
    http://www.oracle.com/technology/products/intermedia/htdocs/intermedia_quickstart/intermedia_quickstart.html
    Good luck,
    Sue

  • Importing an external database of images into BC

    Hello,
    Is it possible to upload from an external intranet system to BC? I have a client with a database of images on their own intranet which they would like to upload/merge into the BC site we are building for them without having to go through the laborious process of loading them one at a time into what ever web app/gallery we will be using . They have asked the following -
    "Are you able to write import scripts to populate content if we schedule an export to ftp/web service etc?.
    All the data is stored in SQLServer and interfaces/reporting have been done in c# asp.net/Delphi.
    The only thing we do not have is Image attachment for the equipment (this is a manual process on the existing CMS) but all other details are in SQLServer.
    Depending on how your system can be manipulated we can automated some sort of data to send to it."
    This is a bit beyond my level of understanding/ability in BC but am happy to make it work if I know what I am doing. Is what is being asked possible? I know I can import a customer database into the CRM system, can I do something similar with images being key?
    Grant

    hello Alex,
    thank you for this thread & greetimgs from germany... (sorry for my english)
    my question - I have written an API (C#, .net)  for update the products-data via SOAP in eCommerce - so far so good... but I try for 2 Days to upload *.jpg Files to a BC-(_assets/images/)-Folder - with the C# WebClient.UploadFile method - I have no Chance to reach the BC Server - 404 - is in the Destination-Folder a jpg-File with the same name - there is no Problem to overwrite it, but I didnt create a new one ??!! - I try out many variants of ftp access to my Site via the API - by the way - with FileZilla everything is ok...
    is there any way to upload image files to my BC-Server via API ??
    thank you very much
    André

  • FileNotFoundException Uploading image to database

    Hello
    I'm trying to upload image to databases, in my server it works perfectly but when i run the application in the hosting appear FileNotFoundException.
    This is the part of html file than call to servlet.
    <FORM ACTION="http://hosting/servlet/lordcyb3r.Connect">
    <center><h4><b>Insert image</b></h4></center><BR><BR>
         Name:
    <input type="text" class="bginput" name="nombre" value="" size="40"/><BR>
    <input type="hidden" name="c" value=""/>
    <input type="file" class="bginput" name="image" size="40"/><BR>
    Comment:
    <input type="text" class="bginput" name="comentario" value="" size="60"/><BR>
    <INPUT TYPE="SUBMIT" VALUE="Insert">
    </FORM>
    This is the get method of Connect servlet
    protected void doGet(HttpServletRequest request,
                   HttpServletResponse response) throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              String nombre = request.getParameter("nombre");
              String ruta = request.getParameter("image");
              String comentario = request.getParameter("comentario");
              try {
                   Class.forName("org.gjt.mm.mysql.Driver").newInstance();
                   Connection connection = DriverManager
                             .getConnection("jdbc:mysql://host/db?user=userid&password=psw");
                   PreparedStatement ps = connection
                             .prepareStatement("insert into imagedata values ( ?, ?, ?, ? )");
                   ps.setString(1, nombre);
                   ps.setString(2, ruta.substring(ruta.lastIndexOf("/") + 1));
                   ps.setString(3, ruta.substring(ruta.lastIndexOf(".") + 1));
                   ps.setString(4, comentario);
                   ps.execute();
                   ps = connection
                             .prepareStatement("insert into image values ( ?, ? )");
                   File file = new File(request.getParameter("image"));
                   InputStream is = new FileInputStream(file); // LINE 86 <--- HERE IS THE EXCEPTION
                   ps.setString(1, nombre);
                   ps.setBinaryStream(2, is, (int) file.length());
                   ps.execute();
                   is.close();
                   connection.close();
                   out.println("<br><br>Imagen insertada con �xito");
              } catch (InstantiationException e) {
                   out.println("<br><br>InstantiationException");
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IllegalAccessException e) {
                   out.println("<br><br>IllegalAccessException");
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (ClassNotFoundException e) {
                   out.println("<br><br>ClassNotFoundException");
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (SQLException e1) {
                   out.println("<br><br>SQLException");
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
    This is the StackTrace.
    java.io.FileNotFoundException: G-Natalia Duque.jpg (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at lordcyb3r.Connect.doGet(Connect.java:86)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:95)
         at com.caucho.server.http.Invocation.service(Invocation.java:291)
         at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:339)
         at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:268)
         at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
         at java.lang.Thread.run(Thread.java:602)
    Can you help me?
    I think so the method is searching the image in the server and no in the client.
    If is this, How can i do it works?
    Thanks for your help.

    to upload the file basic thump rule is the form type is multipart form data and method should be post.
    u have to use any upload component to upload the file from the client machine to the server and then u have to upload it to the database
    baiju

  • Multiple image upload with save to database problem

    I am developing some backend work for a client, and we recently used the Multiple image upload with save to database wizard without a problem. A few days later, we noticed that we could only upload a single file at a time - it seems that the coding is no longer able to access the flash part of this and is using the javasript function instead. I know the web hosting company has made some changes on the server, and I did some reearch and it seems that  there could be an issue with Flash 10, but has anyone else experienced anything like this? Any help is greatly appreciated.
    Thanks.
    Jeremy

    Thank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
    Again, thanks for the help.
    Jeremy

  • Upload images & database fields at the same time

    ASP VSBasic dreamweaver 8
    I can browse & upload 2 images to the server using
    aspupload (browse to
    images click upload)
    I can populate the MYSQL database using text fields &
    recordset (enter data
    in fields press save to upload)
    I now need to work out the following on one button click
    Browse & select first image
    Browse and select second image
    Pass the image paths to 2 text fields
    upload the images
    update the database
    I end up with 2 images saved eg (C:\temp\image1.jpg &
    C:\temp\image1.jpg)
    A record in the data base with
    Time
    Date
    "Path to image 1"
    "Path to image 2"
    The reason for the above is to keep the end user interface as
    simple as
    possible therefore the risk of them sending the wrong data is
    reduced
    Cheers
    SteveW

    I'm not sure uploading several files at once is possible. I have yet to see anything like that.

  • Multiple image upload with save to database wizard problem

    hi,
    i need to upload multiple images (6) in a table called pictures. i will need the names stored in the database and the files uploaded on the server. since i am new to dreamweaver i can not figure out on how to make this work.
    the multiple image upload wizard uploads the images fine and creates a subfolder with the right id but i have no file names in the database at this point. i tried the multiple image upload with save to database wizard but i only get one upload button. it worked fine with one image but i need 6 pics uploaded. the i tried to first upload the pictures with the multiple image upload wizard and use the update wizard to add the names afterwards but that did not work either. hmm. would be great if someone could help me out.
    thanks, jan

    Thank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
    Again, thanks for the help.
    Jeremy

  • Multiple Image upload with save to database

    Hi everyone,
    I wonder whether anyone can help me, I have been trying to use the multiple image upload with save to database wizard. When I create the page and upload it and then view it in Safari the only thing that is on the page is an upload button. When I press the upload button I am able to browse my files and select them. When this window closes a flash loading value is shown but no images have been uploaded.
    Am I missing anything? I have had no problems uploading single files and creating albums. I want to create an online gallery so that I can do a multiple upload to a specific album if this is possible.
    Cheers
    Sarah

    Hi Sarah,
    >>
    but only the filename appeared in the database and no other information was stored.
    >>
    that´s how it´s been designed also in the "single upload" -- the path_to_the_folder where the files sit in have to be determined elsewhere
    >>
    {wedimg_idalb}
    >>
    I don´t see any reference to this "dynamic data" placeholder in any of your table columns you posted -- where does this one come from ?
    >>
    1. I have multiple clients and each client has their own set of images.
    2. Each set of client images must be linked to an album via the album ID
    >>
    do you have any "foreign key" which is related to the user_table´s ID in order to make user ID 2 upload his images in album ID 2 ? How will the upload page "know" where the images are going to be uploaded to ?
    >>
    and the album page, wedding_alb
    >>
    to my mind *this* table would itself need a foreign key to the user_table in order to "map" record 2 to user ID 2 -- or do I miss something ?
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Image upload with save to database

    Quick question guys,
    Can Image upload with save to database be added to an existing form in order to save other info as well as the file name to the database.
    Thanks
    Col F

    Hi,
    Not looking at any code you have an upload button for the video and an insert for the form. So both forms are independent of each other it looks like, thats why when you do one you only get that info and when you do the other you only get the other info. You should just make one form with the uploader included. Make one form with all the fields included (movie name, movie page, movie description, movie file) after the form is completed then select the file field and go to...
    Server Behaivoirs, Developer Toolbox, File upload, upload file. Follow the widgets.

  • Uploading images into database using webforms...

    Hi,
    I'm trying to upload images in to the database. This is possible on a normal form running the forms runtime, but how do i do it when is comes to webforms?
    Thanx in advance!

    hai roshapt
    what is the fine extension u r using.to get the images to disply in web also place the image file in the same path where u place the
    .fmx forms or create a virtual directory for images and configure that virtual directory also.
    regards
    ramesh.

Maybe you are looking for

  • How can I select all subject related messages from Inbox and Sent folders

    L&G, is there any way to select messages containing the same subject from the Inbox and the Sent folder by means of an keyboard shortcut. I.e. I would like to select a message in the Inbox folder and request Mail to display all related mails. Thanks

  • ThinkPad X201 - Hard Drive1 Password - no reset possible

    Hello outside, this post is going to be longish but I need to give as much information as possible to get your help. We bought a bunch of lenovo X201 notebooks plus additional FDE drives (Hitachi, model name is HTS723225L9SA61, delivered through leno

  • SRM 7.0 Central Contracts Excel upload

    Hello All, We are implementing SRM7.0 implementing Central Contracts ,want to use the Contract upload function using the excel file , not able to see the button or link to do the same . Am i missing something. Pl. help. Cheers, Sid

  • Put albums in alphabet order

    Hello again: How can I line up my albums A-Z? John

  • Extending BO with external library

    Hello, Is it possible to extend the functions available on BusinessObjects with third-party libraries? For instance, we want to extend BO with a library with complex mathematical functions and have these functions available to the user on the interfa