Customize File Browse...upload many files at once

Hi,
I've searched the forums and this appears to not be possible using the HTMLDB app builder. Some threads I searched include :
Upload Multiple Files
Basically, our testing machine will create a folder for each test, inside of which are many files always with the same name. It'd be nice if the user only had to select either the folder, or one file in the folder, and any other files needed in that folder would be automatically uploaded by either HTMLDB or some custom code.
There were some links as to how the guts of the File Browse... does it's thing in adding files to the flow_files table, but many of the links were dead. Java script can do some custom error checking, but how about behind-the-scenes multiple file loading?
Just curious if this has been implemented. Running Oracle 9.2.0.4, HTMLDB 1.6.1.00.02.
Thanks much,
Matt

Matt,
I'm not aware of any way to do this using HTML and Javascript only running in a browser. As such, I don't know of a way to do this using HTML DB. Thing is, web browsers take great care to protect your file system from Javascript running behind the scenes.
Sergio

Similar Messages

  • File Browse Upload Feature for Apex

    Hi,
    I added the File Browse feature to my Apex page. However I would like to customize the file to be uploaded into a different database as a BLOB. Any examples? Thanks.

    Jacky,
    Looks like you asked the same question here: File Upload to Custom Table
    Please refrain from double-posting.
    Thanks,
    - Scott -

  • How to upload many Files in the table of Project Document (Solution Man)  ?

    I have generate some hundreed  PDF-Files and I want to upload this PDF files in the table of  Project Documentation in the Solution Manager.
    In the Solution Manager is it only possible to upload this files single.
    My intention is  to write an abap program that upload all files automatically in this Project Documentation and assign this documents in the right  project.
    Which tables are used in this context ?
    Where I can find the assignment  between documents and projects  in se16, in wich table ?
    Is existing an introduction document to this topic, where i can get more information ?
    Thank you in advance.

    GerdW wrote:
    Hi dimitriev,
    Target: I have a array of cluster in my project in main VI and have lots of VIs which uses this array via reference as global variable.
    When accessing that array from a lot of locations simultanously you will get RACE CONDITIONS. Easily and fast…
    Use a FGV aka AE instead to encapsulate your "data object"!
    Another good option sounds like the Data Value Reference.  Those work really well if you want to keep a reference to pass around to everybody.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • APEX 2.2 - File Browse item maximum file length?

    Hi all,
    There seems to be a maximum length for file name (not path - just the name) that can go into APEX through the File Browse item. I have a file name that is 206 characters long. Even if I put the file in the root directory, when I try to upload it to my APEX application, I get a 404.
    What is the maximum file name length?
    Not relatedly, IE6 balks when the file path length exceeds a certain amount. It doesn't attach the file to the file input HTML element. Does anyone happen to know what that length is?
    Thanks!

    Don - See Re: Upload File with filename greater 80 characters -> HTTP 404 File not fo for related info.
    Scott

  • How to delete one existing file before uploading a file with same name?

    Hello everybody.
    I am uploading a file to Tomcat server. But, the problem is:
    i want to delete an existing file in the server, if i upload a fresh file with same name. In other words, "First check for the file with the same name in the server. If it exists, then delete existing file in the server and upload fresh one". If such file doesnot exist, then upload the file to server.
    I have given deleteonExit()
    but, for the first time when user is uploading, i want to check for the file with same name in the server.
    i am pasting the code here. please help:
    <!-- uploading the file -->
    <%
    String contentType = request.getContentType();
    if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
    DataInputStream in = new DataInputStream(request.getInputStream());
    int formDataLength = request.getContentLength();
    byte dataBytes[] = new byte[formDataLength];
    int byteRead = 0;
    int totalBytesRead = 0;
    while (totalBytesRead < formDataLength)
    byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
    totalBytesRead += byteRead;
    String contextRootPath = this.getServletContext().getRealPath("/");
    contextRootPath=contextRootPath.concat("uploaded");
    String file = new String(dataBytes);
    String saveFile = file.substring(file.indexOf("filename=\"") + 10);
    saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
    saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
    // Create a directory; all ancestor directories must exist
    File outputFile = new File(contextRootPath, saveFile);
    var=outputFile.getPath();
    outputFile.createNewFile();
    int lastIndex = contentType.lastIndexOf("=");
    String boundary = contentType.substring(lastIndex + 1,contentType.length());
    int pos;
    pos = file.indexOf("filename=\"");
    pos = file.indexOf("\n", pos) + 1;
    pos = file.indexOf("\n", pos) + 1;
    pos = file.indexOf("\n", pos) + 1;
    int boundaryLocation = file.indexOf(boundary, pos) - 4;
    int startPos = ((file.substring(0, pos)).getBytes()).length;
    int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
    FileOutputStream fileOut = new FileOutputStream(outputFile);
    fileOut.write(dataBytes, startPos, (endPos - startPos));
    fileOut.flush();
    fileOut.close();
    outputFile.deleteOnExit();
    %>Please help. Thanks for taking time.
    Regards,
    Ashvini

    Thank you MartinHilpert,
    I have one more doubt,
    I am uploading the file to one folder called "uploaded". Before uploading a fresh file, i want to delete all existing files in that folder. IS that possible ?? If yes, can you please tell me how to do that ??
    Regards, Thanks for your time.
    Ashlvini

  • File browse/upload explanation

    Hi,
    I have seen the howto about the file upload appliation that's written for 1.5. <http://www.oracle.com/technology/products/database/htmldb/howtos/howto_file_upload.html> I do understand it reads the selected file into some default table and that it get's some ID that should be used to reference it. What is the recommended way to move such a file to a user table ?
    Will the howto be rewritten for htmldb 1.6 ?
    thanks,
    Ronald.

    Hello,
    The screenshots and instructions on where to click should be updated but the code will remain the same. There's a section in the How To which talk about moving the BLOB to a custom table look for "Store the Document in a Custom Table"
    http://www.oracle.com/technology/products/database/htmldb/howtos/howto_file_upload.html#CUSTOM
    -kris

  • Uploading .mp3 files vs. uploading .band files for Podcast on iWeb

    I teach high school and have my students creating audio files for podcast on my iWeb site. Most of the students give me their files in .band format, but some give them to me in .mp3 format.
    1) Can I upload the .mp3 file for podcasting to iWeb without turning it into a .band file (which I have been doing).
    2) When I drag the .mp3 file into the GarageBand program and then upload it to iWeb, the autopage looks different (no date, no place to write a little blurb, etc.) Is there any way to get them to look the same when using the Share>send to iWeb feature.
    3) I also receive frequent corrupted files (8-bit not supported with an abort button). I have never personally receive this message on files that I have created, but I can't figure out what my students are doing incorrectly--anyone know?
    Thanks for any possible help.

    I am putting a link to what I am talking about--maybe that would help?
    http://web.mac.com/apomerantz/iWeb/Site/Podcast%203/Podcast%203.html
    See the difference between the entries "flout" and any other entry.
    Thanks!

  • Safari web-browser file/image upload - How to disable/hide 'Photo library option'

    I am using IPAD Air and want to disable Photo Library option from file/image upload (choose file HTML controls).
    In short click photo from camera and then upload using safari browser only no other option require to upload file.
    Is there any way to disable "Photo Library" option while doing camera click & upload and allow upload from camera only?
    Thanks in advance

    Hi Poovi,
    You can try below js code in your master page. It may help you.
    Note : you have to replace GUID in below code with GUID of your document library.
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"
    type="text/javascript"></
    script>
    <script type="text/javascript">
        $(document).ready( function () {
            if (location.href.indexOf('F0023430-B616-455F-9045-3ERT59713456') >= 0) {    // you must need to change GUID of your lib here    
                $("label:contains('Add as a new version to existing files')").prev('input').hide();
                $("label:contains('Add as a new version to existing files')").hide();
    </script>
    Thanks, Please mark it as an answer if it helps.

  • Error Uploading Files - One or more files could not be uploaded

    Hi, I used Adobe SendNow without any problems for years.  Since the migration to Adobe Acrobat, I don't think I have once managed to successfully send any files.  Each time I get the message: Error Uploading Files - One or more files could not be uploaded. Please try again.  If someone could help that would be great or else I will need to subscribe to alternative file sharing service that actually uploads files.  I previously filed a Case Request looking for assistance, and within 2 seconds I received an automated response: "With this response, we believe your issue is resolved and have therefore closed your case 0186251803" !!!

    Hi,
    Those sizes (and numbers and numbers of files) shouldn't present any problem, but obviously something is amiss.
    If you wouldn't mind trying to upload via the Files tab, and then sending from there, that would help us to diagnose. To upload your files, simply sign in and click on the Files tab. You might want to make a folder to hold the files you are going to send. To do this, click on the folder with the + sign. Then open that folder and click on the cloud with the arrow.
    (The other way to upload files is to simply drag and drop them.)  If you have trouble uploading many files at once (you shouldn't!), try one at a time. Again, I am interested to know what method, if any, works for you.
    Now that you have your files uploaded (at least, I hope you've been able to do it successfully!), click on the Send tab and follow the instructions for selecting Acrobat.com Files instead of My Computer.
    You should now see the folder you just created. Open it up, and select the files you want to send.
    If you have any trouble with this method, give a holler. Though since it's getting late here on the east coast, I might not be able to respond until the morning.

  • Prime Infrastructure 2.0 is not accepting ubf patch file for upload

    Hi,
    After successfully installing Prime Infrastructure 2.0 on a single server via OVA file in ESX, i tried to install all the latest patches.
    - pi_update_2.0-3.zip was installed successful
    But for the patch "pi_dev_pack_update_2.0-10.ubf" i was not be able to do the file-upload via the Web-GUI.
    Is there anyone who knows how to put this file on the Prime server and how to install this patch via CLI ?
    Cisco Application Deployment Engine OS Release: 2.0
    ADE-OS Build Version: 2.0.6.003-px-build
    ADE-OS System Architecture: x86_64
    Copyright (c) 2005-2010 by Cisco Systems, Inc.
    All rights reserved.
    Hostname: xxxxxxx
    Version information of installed applications
    Cisco Prime Infrastructure
    Version : 2.0.0.0.294
    Kind regards,
    Danjan Mudde.

    Hi Danjan,
    ****These patches cannot be applied via cli and can only be applied from GUI of Prime*****
    Go to the link below and download the "pi_dev_pack_update_2.0-10.ubf"
    http://software.cisco.com/download/release.html?mdfid=284422771&flowid=45323&softwareid=28
    4272933&release=2.0.10&relind=AVAILABLE&rellifecycle=&reltype=all
    After downloading the file, go to "Administration > Software Update", click upload
    update file, browse to the file location that you've downloaded. 
    Once the file has beenuploaded, you can select the update and click install. 
    After installing, it shouldindicate "Pending Restart" = Yes.  You will likely need to
    go to the cli and do an "ncs stop" and then "ncs start".
    Hope it will help
    Thanks-
    Afroz
    [Do rate the useful post]

  • How to Upload Multiple Files from a folder at a single go?

    Hi friends,
    My requriment is to Upload many txt or excel files in a single shot.
    If its a single file i can upload through Ws_upload or Gui_upload.
    in the same way is there any function modules to upload many files at a time.
    Regards
    Venkatesh.S

    Hi Venkatesh,
    Try this code..
    data: l_filename type string OCCURS 0 WITH HEADER LINE.
    l_filename = 'c:\temp1.xls'.
    APPEND L_FILENAME
    l_filename = 'c:\temp2.xls'.
    APPEND L_FILENAME
    LOOP AT L_FILENAME
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = l_filename
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = '#'
    TABLES
    DATA_TAB = itab1.
    OPEN DATASET <applicationfilename> FOR OUTPUT IN TEXT MODE.
    IF sy-subrc = 0.
    LOOP AT ITAB1
    TRANSFER ITAB1 TO pt_infil .
    ENDLOOP.
    ENDIF.
    CLOSE DATASET pt_infil.
    ENDLOOP.
    OR
    use CL_GUI_FRONTEND_SERVICES->DIRECTORY_LIST_FILES
    Regards,
    Goutham.

  • How to populate DB column with filename from file browse item?

    Hi,
    Using APEX 3.1.2, I'm trying to easily allow maintenance of a filename stored in a DB column (VARCHAR2(1000)). Using the column as a file browse item seemed to be the way to go, but of course I don't want the resulting file to be uploaded and it appears as though an existing filename is not shown in a form when the row is retrieved.
    After much searching, I found Checking filename length in File Browse item before uploading , but I'm not able to connect the dots. I was thinking that I could create a hidden file browse item and use a button to call Javascript function to activate it, then save the resulting filename to my DB column item and wipe out the hidden item before it was uploaded. But the hidden item doesn't appear, so I'm not able to reference it's form input name.
    Hopefully this mess makes sense. Anyone?
    Thanks!
    Rich
    Edited by: socpres on Sep 5, 2008 2:02 PM because message was truncated after attempting to preview it first.

    Hi John,
    From what I can tell, the path of a local file browsed from a file browse item cannot be retrieved because of security concerns. Although, it seems that while Firefox 3 only returns the filename sans directory, IE6 returns the full path:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head><title>Form Test</title>
    </head><body>
    <script type="text/javascript" language="JavaScript">
    function GetDirectory()
    strFile = document.FileForm.filename.value;
    intPos = strFile.lastIndexOf("\\");
    strDirectory = strFile.substring(0, intPos);
    alert(strDirectory);
    document.FileForm.Directory.value = strDirectory;
    </script>
    <form id="FileForm" name="FileForm">
    <input type="file" id="filename" name="filename" value="" onChange="GetDirectory(this.value)">
    <input type="hidden" id="Directory" name="Directory" value="">
    </form>
    </body>
    </html>
    This Win-specific code displays the path via IE6, but not in Firefox 3. Then again, I can't seem to preview posts here using FF3, either...
    Rich

  • Prepopulate data in File Browse in APEX

    Hi,
    Here is what I am trying to do and yet unable to figure it out -
    I have a record in a database table with one of the field being the BLOB type.  I need to update several data fields for this record but need to leave the BLOB data untouched. 
    I have a APEX form for this.  On the form, the BLOB data field is displayed as a "File Browse" item (say, File ABC) and is a required field.  However, I am having problems retrieving the corresponding data from the database.  Upon submit, the form always fails with a message saying "File ABC must have some values".
    How can I go about pre-populating the data for this "File Browse" item?  I just need the BLOB data staying untouched and yet being able to bypass the validation for an update of the entire record.
    Any suggestion is highly appreciated.  Thanks in advance!
    Ning

    951789 wrote:
    Please update your forum profile with a real handle instead of "951789".
    I have a APEX form for this.  On the form, the BLOB data field is displayed as a "File Browse" item (say, File ABC) and is a required field.  However, I am having problems retrieving the corresponding data from the database.  Upon submit, the form always fails with a message saying "File ABC must have some values".
    How can I go about pre-populating the data for this "File Browse" item?  I just need the BLOB data staying untouched and yet being able to bypass the validation for an update of the entire record.
    You can't. For security reasons the value of the file browse item cannot be set on the server.
    Make the validation on the file browse item and processing of the uploaded file conditional, for example making it mandatory on insert (when the row PK item is null).

  • Correct Approach in uploading a file

    Which is the correct approach in uploading an image file.
    Upload the file to the ApplicationServer and save the path in the DataBase
    OR
    Upload the file to the DataBase as BLOB.

    Usually I think you should just be storing the
    location of the image in the database rather than the
    image itself. However there are a couple of
    disadvantages, chiefly that you need to keep the
    database and file system in sync with each other and
    that you don't have the database security to protect
    your images.Perhaps more importantly (depending on your setup) there's the problem of accessing these auxilliary files from different hosts, and keeping the directory tidy. You can, of course, generally access through NFS but then your configuration on different machines had to take account of different file paths.
    And you've got a second set of permissions to worry about.

  • Uploading XML file to SharePoint Online Document Library

    Hi,
    I got a scenario to upload the xml file the sharepoint library along with that the XML has some information like UserName, Email. Phone and these information has to be captured to the metadata information of that file in the sharepoint library.
    Let me know if you have a solution for this.
    Thanks
    Karthik

    Hi Karthik,
    Per my understanding, there is an XML file contains attributes. You want to upload it to a SharePoint library as well as extract the values of those attributes to
    save to the corresponding columns of the SharePoint library.
    As it is an Online environment, a workaround I would suggest is that you can create a client application(such as Windows Form Application) to extract values from the
    XML file, then upload the file to SharePoint library, submit the values to the same library afterwards. All this can be achieved using SharePoint Client Object Model.
    How to: Complete basic operations using SharePoint 2013 client library code
    http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
    About how to upload file to SharePoint library using Client Object Model:
    http://blogs.msdn.com/b/sridhara/archive/2010/03/12/uploading-files-using-client-object-model-in-sharepoint-2010.aspx
    About how to read XML from a file by using Visual C#:
    https://support.microsoft.com/en-us/kb/307548?wa=wsignin1.0
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Question about heat & system fan ? with Corecenter software?

    hello guys,                 i am having some strange experience well i just happened to clean my CPU well just external clean with cloth well then when i started i heard sound of some sort it turned out to be a plastic piece with the fan anyway i jus

  • Unidata Migration to Oracle Db

    Hi All, Do we have any experience/guidance on migrating from Unidata (pick) database with embedded rules and nested tables to an Oracle Database? Typically, what is the approach/tools we should employ to extract the data (rather than the embedded log

  • Resetting Roll Numbering

    Is there a way to reset or specify the roll numbers?

  • Premiere PRO 2.0 and HD rushes

    I have a SONY HDR-PJ650 & a Dell PC Under Windows 7. I can capture & import rushes Under PremiereElements10, but not with my PREMIEREPRO 2.0. It does not accept .mts files captured with SONY PlayMemories<;

  • Restoring current data and info onto a new "used" machine?

    Buying a used macbook pro with leopard in the next day or so. And I DO currently use time machine on my external HD. Can I just plug in the external HD on the new machine and open TM and have it restore all the settings and info? Will all my mail set