How to change name of uploaded file

I am using the a multi-part form and the pl/sql gateway to enable users to upload files to portal. The files automatically get stored in the wwdoc_document$ table. The key to the file is a column called "name" which consists of a sequence number and the file type e.g. 4747.gif.. I want to change this name to a different value.
When I change it using the standard sql Update statement, none of the pdk apis work on the record; they all return errors. I am able to change this value as long as I use a unique value, I just can't run any of the wwdoc apis against the row after that.
Does anyone know how to change this value for a given row???
Mike Kleiman

See Upload taglib in Coldtags suite:
http://www.servletsuite.com/servlets/uptag.htm

Similar Messages

  • How to change name of home file on mac

    Hi, not entirely sure of the name of this file. Currently it is "anthonycullinane" which is my fathers name, it was changed when my iMac was taken into an apple store for a service, i don't have a clue why it would've been changed but i'd like to change it back
    if you look in the favourites bar in the finder window you'll see what i mean.
    I've attempted to "unlock" the file to allow changes to be made but there is no option to rename the file. The text input is grey and doesn't allow change

    You cannot rename your user account name easily. You need to do some extra steps and use the root user, so be very careful and make a backup of your files before modifying anything.
    Then, follow these steps > http://support.apple.com/kb/ht1428

  • How to change name of downloaded file by URLLink.acsm

    When I browser my URLLink.acsm:
    "http://host:8080/fulfillment/URLLink.acsm?action=...."
    it download a file named "URLLink.ascm". How can I change that file name to "title.acsm" insteed of "URLLink.ascm"?
    For example: "ShakespearInLove.acsm".
    I'm using ACS4 4.1
    Many thanks,

    Thanks for this thread !!!
    ...that Is a question I asked myself today as I used Adobe ADE for the first time.
    (I hope they enhance it --- it is REALLY unpractical for reading eBooks).
    When you open the URLLink.acsm file in a Text-Editor,
    you will see a lot of tags inside < and >, like:
    <fulfillmentToken>
      <distributor>...</distributor>
      <operatorURL>...</operatorURL>
      <expiration>...</expiration>
      <transaction>...</transaction>
      <resourceItemInfo>
        <resource>...</resource>
        <resourceItem>1</resourceItem>
        <metadata>
          <dc:title>...</dc:title>
          <dc:creator>...</dc:creator>
          <dc:format>...</dc:format>
          <dc:publisher>...</dc:publisher>
          <thumbnailURL>...</thumbnailURL>
        </metadata>
        <src>...</src>
        <downloadType>simple</downloadType>
      </resourceItemInfo>
      <hmac>...</hmac>
    </fulfillmentToken>
    I tried to change the filename inside the <dc:title> tag.
    However this is the filename on the server where you download your eBook.
    Does anyone know an "<output-tag>" that lets the user determine the filename?
    Or any other solution??
    Strange that on the whole www this question has only been asked once...

  • How to change names of referenced files

    Normally when I import RAW/JPEG pairs into Aperture I check the "rename original file" tick box so the original file names have my desired format (yyyy-mm-dd_myfilename-nnn). However, I inadvertently have imported a few projects with that box unchecked, so while the images in Aperture (and those I export) have my desired naming, the original referenced files still show as DSCF1234 etc.
    Is there a way to change those original referenced frills to my date-name-index number scheme short of deleting the entire batch and performing a rename again - I have already dome various edits on them and don't want to lose those.

    Is there a way to change those original referenced frills to my date-name-index number scheme short of deleting the entire batch and performing a rename again - I have already dome various edits on them and don't want to lose those.
    If you do not need to save the version names, yes.  Batch change the version names and set the flag "Apply to original files".
    Select all images that need renaming.
    From the main menu bar select "Metadata >Batch Change"
    Select a suitable preset for the file name you want in the Version name format drop-down menu.
    Set "Add-Metadata From" to "None", unless you want to add metadata as well.
    Press "O.K."
    A caution: I have never tried this on "RAW&JPEG" pairs. You may have to do it twice, with each kind of original set as master.  It is working well with JPEGS, but for RAW files "Apply to original" may not work.

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • In R12 how to change concurrent output/log file name prefix?

    how to change concurrent output/log file name prefix?

    but i want to change change concurrent output/log file name prefix?You cannot, and I believe it is not supported for all concurrent requests -- Please log a SR to confirm this with Oracle support.
    Thanks,
    Hussein

  • How to change the output executable file name(a.prj:(output)--- b.exe)

    LabWindows / CVI: how to change the output executable file name
                For example, I have an A project a.prj, I do not want to compile the output file is a.exe, but b.exe.
    I will try to save as a.prj b.prj, a.cws save as b.cws
    eg:a.prj  ---->(output)--->b.exe
    Solved!
    Go to Solution.

    You can go to Build >> Target Settings menu item, select Release (or Release 64) in the Configuration filed and set the name of the executable to create in Application FIle field, withouyt need to change the prj or cws filename.
    See the complete description of available options here.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Name of uploaded file (BLOB) in Servlet

    Hi,
    I'm trying to save into DB any file I want throw servlet via POST request.
    Is there any way how to get the name of uploaded file from posted information (from posted file).
    Then I save this file as BLOB into DB.
    Can you help me with getting the file name???
    Because I would like to save the name also into DB...
    Thanks Jan

    Jason Hunter of Servlet fame and fortune has had a general servlet framework extension available for quite a while now. This has code which supports many common operations, including handling multipart-file upload.
    See http://www.servlets.com/cos/index.html#classes and more specifically http://www.servlets.com/cos/javadoc/com/oreilly/servlet/MultipartRequest.html
    The code is available, so you should be able to take a peek and see how he handles this issue, as an example.
    cheers
    -steve-

  • How to get InputStream of uploaded file from request?

    The situation:
    Client is uploading xml file to server.
    <form METHOD=POST ENCTYPE = "multipart/form-data" action="SendFile" accept="text/xml">
              <input type="file" name="SentFile" />
              <input type="submit" value="go"/>
    </form>Then I need to parse data from file.
    I want to use method javax.xml.parsers.DocumentBuilder.parse(InputStream is)
    But, how to get InputStream of uploaded file from request?

    You cannot get the InputStream of the uploaded file directly. The InputStream you can obtain from request.getInputStream() contains a lot of other data as well as the uploaded file. You will have to parse the data in the InputStream to find the data that belongs to the file.
    A short cut is to use the HTTP Multipart File Upload available from www.jenkov.com. It simplifies file upload and makes it easy to obtain an InputStream for only the uploaded file. It also handles upload of multiple files. It is free, open source, Apache license, so if it doesn't fit your needs, you can always read the code and see how it works. Then write your own upload servlet.

  • How to change the default "Safe" files in Safari?

    I would really appreciate if anybody could teach me how to change the default "Safe" files using AppleScripts, Folder Actions or .plist files. I really would like to have some files to open automatically after download, specially .pps files, and safari doesn't recognize such files as "safe". I tried to find out reading the help files but got lost.
    I posted a reply in an old topic for somebody who seemed to know, but it was not related to that topic, so I decided to open a new one.
    I'll be gratefull for any help. Thanks.

    Hi MDRC,
    Have a read of [this topic|http://discussions.apple.com/thread.jspa?threadID=1237961] to see if that helps.

  • How can i do the upload file function using tomcat library??

    how can i do the upload file function using tomcat library??

    Did you read the document for the library?
    If you can't figure it out, why don't you ask the people who provide the library?
    This has nothing to do with JavaMail.

  • How do I delete my uploaded files? I am on an Ipad.

    How do i delete my uploaded files? There is no trash button

    you must run the official iOS5 version, no developer version which likely is a beta . Use itunes 10.5 , connect your device, let it make the backups and then hit the "restore" button in itunes. This will download and install the one and only supported OS for your device.
    Once you have this on it, you can install all apps, including garageband.

  • How to see name of video files in iOS7?

    How to see name of video files in iOS7?

    Hi cnavap81,
    Thanks for visiting Apple Support Communities.
    You can hide or unhide purchases using iTunes on a PC or Mac. This article explains how to do so:
    iTunes Store: Hiding and unhiding purchases
    http://support.apple.com/kb/HT4919
    Best,
    Jeremy

  • How to change name in icloud

    May I how how to change name from Felix to Bernard. Coz I'm using my phone with my actual name. Can you pls help me out coz I can't find a way to change them in Icloud. Thanks.

    In the Mail section of iCloud.com, is your name shown in the Full Name field under the Accounts section of the Preferences (accessed by clicking the cog icon at the top-right of the Mail screen)?

  • How to name a uploaded file in server

    Hi,
    I am trying to upload files in to my server. Then save it with a unique name and process it.
    The following codes can upload the file but I dont know how to save the file with a unique name and then pick up the unique name and process the file.
    I need this because
    1# Multiple people will upload files at the same time. Therefore I need some mechanism to mark individual file and process it.
    Any help will be very much appreciated. Most importantly please be little collaborative. I am just one week old JSP boy :-).
    try {
                List fileItemsList = servletFileUpload.parseRequest(request);
                DiskFileItemFactory diskFileItemFactory = new DiskFileItemFactory();
                diskFileItemFactory.setSizeThreshold(102400); /* the unit is bytes */
                File repositoryPath = new File("/temp");
                diskFileItemFactory.setRepository(repositoryPath);
                /* Iterating through the uploaded file*/
                Iterator it = fileItemsList.iterator();
                while (it.hasNext()){
                    FileItem fileItem = (FileItem) it.next();
                    /* Playing around with the uploaded file */
                    getName = fileItem.getName(); /*File name provided by the browser*/
                    fileSize = fileItem.getSize(); /*File size in Bytes*/
                    File saveTo = new File("/upload_files");
                    fileItem.write(saveTo);
                   

    merit wrote:
    Hi,
    Thanks. That should work but I was thinking of generating some thing random.
    I think what ever i enter into "someUniqueName" then file will always be named as "someUniqueName". What would happen if 2 or more people uploads different file at the same time?Use the name of the original file. If File#exists() returns true, then suffix it with a counter or so.
    You can find here an article about a file upload filter which contains under each a basic demonstration example with a servlet which does exactly that using FileUtil#uniqueFile(): [http://balusc.blogspot.com/2007/11/multipartfilter.html].

Maybe you are looking for

  • In a pickle with Quickyme

    Hi The hard drive died on my mac book recently (a new one too!) and I paid hundreds of pounds for the data to be recovered to an external hard drive. The data recovery people have saved my imovies as Quicktime movies and of course I cant just drag th

  • Macbook pro keeps logging me out after using migration assistant

    Hello All, I have a Macbook pro (bought it two years ago). It used to shut down automatically. Took it to Apple after backing up using time machine. They installed a fresh OS on it and took everything else out. I made a dummy account and no more shut

  • Clearing of Open items (per Vendor)

    Hi All, I would like to ask if there is a way to show multiple line items of a single vendor as multiple line items and not the sum of these line items during clearing in F-04. Right now, when clearing multiple line items of a single vendor, these li

  • Purchase Order - Default Company Code depending on Purchasing Org in Me21n

    Hi Gurus, I have  requiremnet to default Company code to a value depending on Purchasing Organisation in Purchase Order Create/Change Transaction ME21n , ME22n.,(  Also -ME31K, ME32K ) Purchasing Org and Company code can be seen in Me21n -> Header ->

  • How to create recovery disk on HP envy dv6 7258nr notebook pc - window 8

    I m trying to create recovery disk from recovery drive which is created by hp while purchasing the laptop, while taking back up from recovery manager, Recovery Manager says   (Recovery Partition has been removed - Recovery Media creation option is no