Change the filename of an uploaded file.

I have created a web app so that users can login to a secure zone and upload a file to a specific folder in my business catalyst site.  I would like to append the user's credentials to the filename.  I can see how to capture the user's firstname and lastname but I am not sure how to make it part of the filename.
The filename at the moment is named liked this 4628132_311455_New Text Document.txt with a timestamp and id auto appended to the original uploaded filename.  I would like to add some kind of user identifier to this name at form submission.

Hi,
I cannot see a workaround and doesn't appear possible as the system will only append the unique ID which cannot be customized at this stage. 
Kind regards,
-Sidney

Similar Messages

  • To upload the ZIP file and get the filenames available in ZIP file in ABAP

    Hi Experts,
    For my requirement, file from legacy comes as ZIP file with number of files in that.
    Please provide one code sample to upload the ZIP file from local workstation and get the filenames available in ZIP file to check few filename validation checks for the available files in report program.
    Thanks in Advance,
    Regards,
    Basani

    1. Copy the ZIP file into App server
    2. Call function
      call function 'RFC_REMOTE_PIPE'
        destination 'SERVER_EXEC'
        exporting
          command = command  " Unzip command gunzip /path & file
          read = 'X'
        tables
          pipedata = std_lines
    then you can read the files and can validate the file names

  • Changing the name of a uploaded excel file

    Hi everyone,
    I am being able to manage to change the name of a excel file when I am working on a scenario with a single file like this:
    http://imageshack.us/photo/my-images/204/67859086.jpg/
    Here goes the BUT, but when I am trying to upload several files at the same time, I am not being able to rename the files.
    http://imageshack.us/photo/my-images/694/16392664.jpg/
    When I do have several file the package works like this:
    It list all the excel files and stores them into a *.LST file, after that it stores the names on a table. After that it uses a wildcard excel file to put the info to be uploaded, the on the scenario it transforms the data and uploads it into the target tables, then I supposedly change the name but it does not work.
    Then It moves the file to another folder, and erase the name from the temp table….
    I do really appreciate your help and guidance.
    Please do not hesitate to contact me if any further information is required.
    Best regards.
    Jaison

    There is an interface as step 2. I had similar issue once when I wanted to delete Excel file that was just used via Windows ODBC driver in a step before. Solution there was to create two packages, one doing the job and a wait step at the end the other one just deletes the file. Now put the two into a master package and run it from there.
    Probably the ODBC driver has the *.xls file still in some kind of stale/cached access.

  • Changing the order for printing portfolio files in adobe acrobat 9 pro

    Does anyone know how to change the order for printing pdf files that are part of a portfolio in adobe acrobat 9 pro?  The documentation seems to say that it prints files alphabetically by filename rather than by the internal sort order.  This won't work for me. Any ideas? Thanks.

    Question1: No.
    Question2: No.

  • Changing the filename in Photoshop Action

    Hello,
    I couldn't find any tips with regards to how to use a "syntax" to rename the file just before "saving as" or "saving for web" options in PS.
    To understand what I'm trying to achieve, please let me describe the case on the example below:
    I have the file "picture.jpg" (1024x768)
    What I'm trying to do is:
    - Resize the image down to size 800x600
    - Save it in the same folder using "save for web" as "picture_large.jpg"
    - Resize the image again, this time down to size 600x480
    - Save it in the same folder using "save for web" as "picture_medium.jpg"
    So after the first step in my action I need to add the suffix "_large" and after the third step I need to add the suffix "_medium".
    Is it possible?
    Thanks
    t0ny

    Hi Guys,
    Thanks for your repllies, unfortunately I can't achieve the 100% result using your suggesitions (I learnet a bit anyway ).
    - When using slices, I'd have to rename slice everytime I resize the picture as I need diferent suffix for every image size.
    - Suggestion to use "Save as" instead "Save for web" doesn't resolve my problem either, as what I'm trying to achieve is to store one image with all the diferent image sizes in one folder.
    I guess perfect solution would be if I could change the filename using some syntax which could look like:
    change current file name from [name] to [name]+"_medium"
    But I believe this is not possible.
    Thanks very much anyway and of course if there are any other suggestions I'll be happy if someone could help.
    t0ny

  • How to determine the mimetype of an uploaded file (GUI_UPLOAD)?

    Hi everybody.
    I use method cl_gui_frontend_services=>gui_upload to upload files and save the binary data in the database. to preview the filetype (pdf, doc, jpg, ...) later i also need to store the mimetype.
    but how can I determine the mimetype of an uploaded file if several file extensions/formats are possible?
    thanks in advance for your help,
    Stefan

    call the function SKWF_MIMETYPE_OF_FILE_GET
    for this pass the filename , you will get the mime type.
    FILENAME                        C:\TEST.PDF  "pass this
    MIMETYPE                        application/pdf "you will get this
    FILENAME                        C:\TEST.JPG
    MIMETYPE                        image/jpeg
    FILENAME                        C:\TEST.DOC
    MIMETYPE                        application/msword

  • How do I change the name property of a file in a document library?

    I am trying to come up with an Event Receiver that will change the name property of an file when it is uploaded. For instance when a file is uploaded into a document Library, currently the Title is being generated (which is fine)...I want to be able to
    change the "Name" property from whatever it is, to match exactly what is in the "Title" property. Are there any sample codes/blogs out there that I can take a look at? Has anyone  had any experience doing this? It seems like something
    that should be straight forward, to change the "Name" property to match what is in the "Tilte" property.

    Hi,     
    You can try the code below which use the SPFile.MoveTo() function to change the name of the file.
    EventFiringEnabled = false;
    SPFile f = properties.ListItem.File;
    string spfileExt = new FileInfo(f.Name).Extension;
    f.MoveTo(properties.ListItem.ParentList.RootFolder.Url +
    "/" + properties.ListItem["Title"]+ "_new" + spfileExt);
    f.Update();
    EventFiringEnabled = true;
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5cafb8e4-bb85-4147-9bda-4ab42a4d4817/sharepoint-2013-event-receiver-to-rename-files-not-working?forum=sharepointdevelopment
    A link about rename uploaded file using Event Receiver for your reference:
    http://paulgalvinsoldblog.wordpress.com/2008/01/25/quick-easy-rename-uploaded-file-using-sharepoint-object-model-via-an-event-receiver/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Change the name of an image file in Photos app

    Just wondering how you change the name of an image file in the new 2015 Photos app?

    The only way to change the filename of an image is to export the image with a new filename:  When exporting you can select the title a s a new filename.
    Then reimport the renamed file to Photos and delete the original version.

  • How we will change the lowercase data in flat file to uppercase

    How can i change the lowercase date in flat file  after uploaded, out put should be uppercase.

    Hi ramana,
    See the example.
    DO.
       READ DATASET s_filename INTO I_TEMP.
       IF SY-SUBRC <> 0.
        EXIT.
       ELSE.
         move I_TEMP to I_FINALTAB.
         append I_FINALTAB.
         clear I_FINALTAB.
      ENDIF.
    ENDDO.
         In the above code we are moving the data form file to i_temp and i_temp to I_FINAL.
    Here before moving to i_FINAL.
    use  TRANSLATE i_temp to UPPSERCASE.
    Then move to i_final.
    Pls. reward if useful.

  • Changing the FileName & Directory of a mapping by updating the database .

    Hi,
    In one of the ETL tools which I have worked before ( constellar) , It was possible to change the filename & directory associated with a program/interface/mapping dynamically by simply updating the tables of database. Is that possible in OWB. ( anyway when we implemented we did that by changing the scheduler shell script ) , just because of curiosity I am raising this doubt ?.
    regards
    Ranjeesh

    select PARAMETER_NAME, PARAMETER_VALUE
    from ALL_RT_LOCATION_PARAMETERS
    You can set the location however the file is stored in all_rt_objects in a clob. I don't know how the modify the filename in the clob dynamic.
    NOTE the mentioned objects are views.
    We have a data stucture (here a simplyfied example)
    data /input <= any input file any name any version
    /output
    /process <= contains fixed name
    a batch (call in OWF) copy from inp to process.
    cheers,
    D

  • Why can't I change the filename on the streaming server?

    I ran into an interesting problem and I am unable to find an answer to this.
    Here is the issue.
    I encoded a file into .flv format. When I stream the file using RTMP protocol, it streams fine. However, if I change the name of the file ( I can explain why I need to do this, but assume that's part of what I need to do in our product) by appending a string, it fails to playback properly ( note:  I modify the playback URLto match the new filename).
    Example:
    rtmp://localhost/vod/sample.flv
    2 changes to make
    a) change the filename to sample_mystring.flv in the content folder
    b) playback rtmp://localhost/vod/sample_mystring.flv
    it does not playback the video.
    I am scratching my head, because this is not an expected failure. I am left to wonder if the video player ( in this case FLVPlayer) or the RTMP protocol is requiring the original filename in the stream for it to playback.
    I am not familiar with the protocol or its inner-workings, but I hope someone here has some experience or thoughts to help me figure this out. I am stuck.
    Thanks for your help!

    I am back to testing this again, and I have the same issues
    I have tried the entries as follows
    <VirtualDirectory>
          <!-- Specifies application specific virtual directory mapping for recorded streams.   -->
                <Streams>/;w:\files</Streams>
    </VirtualDirectory>
    <VirtualDirectory>
          <!-- Specifies application specific virtual directory mapping for recorded streams.   -->
                <Streams>/\\remoteserver\files</Streams>
       </VirtualDirectory>
    I also checked that the FMS host has access to the remote folder by first sharing the remote folder and
    a) creating a common network user "fmsuser" who has access to the remote folders
    b) fms startups with log in as "fmsuser".
    I can't see the remote files play back. However, the local files play just fine. I also verified that the file is OK using "flvcheck.exe" in the tools directory.
    Thanks for your help

  • Is there a way to change the image numbers in a file in Aperture?

    Is there a way to change the image numbers in a file in Aperture? We shoot with two photographers and so the img numbers are not in order but I would like to have the photos in chronological order on the disc when I give it to them. Does anyone know how to do this? I have them all in order ready to go in Aperture but when I move them to the disc to be burned they default back to the img number order. Thanks for your help!

    What do you mean by "image number"? The file names like "IMG_7822.CR2" or "IMG_7822.jpg"?
    You can create custom names with appended numbers, when you export your image files to be saved on a disk.
    Sort your images by date in the browser, select them, then use the command "File > Export > Version" to write the files to the disk. Set the name format to "Custem Name with Index" or "Custom Name with Counter" to create numbered names in your current sort order.
    Regards
    Léonie

  • How do you change the name of a folder/file on an expansion drive

    How do you change the name of a folder/file on an expansion drive or external hard drive?

    The same way you change it on the internal drive; click on the name and wait a second or two for the field to drop into editing mode, then just type the new name. Or Get Info on the file/folder and change the name there.
    Regards.

  • [svn] 3638: Changing the build order of swc file update with dita xml files .

    Revision: 3638
    Author: [email protected]
    Date: 2008-10-14 16:49:56 -0700 (Tue, 14 Oct 2008)
    Log Message:
    Changing the build order of swc file update with dita xml files.
    By default this would now happen during the checkintests target - so "ant clean main" shouldn't get affected.
    To opt out use -Dno.doc=true
    QA: No
    Doc: No
    Tests: checkintests
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/build.xml
    flex/sdk/trunk/frameworks/projects/airframework/build.xml
    flex/sdk/trunk/frameworks/projects/flash-integration/build.xml
    flex/sdk/trunk/frameworks/projects/flex/build.xml
    flex/sdk/trunk/frameworks/projects/flex4/build.xml
    flex/sdk/trunk/frameworks/projects/framework/build.xml
    flex/sdk/trunk/frameworks/projects/haloclassic/build.xml
    flex/sdk/trunk/frameworks/projects/rpc/build.xml
    flex/sdk/trunk/frameworks/projects/utilities/build.xml

    Revision: 3638
    Author: [email protected]
    Date: 2008-10-14 16:49:56 -0700 (Tue, 14 Oct 2008)
    Log Message:
    Changing the build order of swc file update with dita xml files.
    By default this would now happen during the checkintests target - so "ant clean main" shouldn't get affected.
    To opt out use -Dno.doc=true
    QA: No
    Doc: No
    Tests: checkintests
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/build.xml
    flex/sdk/trunk/frameworks/projects/airframework/build.xml
    flex/sdk/trunk/frameworks/projects/flash-integration/build.xml
    flex/sdk/trunk/frameworks/projects/flex/build.xml
    flex/sdk/trunk/frameworks/projects/flex4/build.xml
    flex/sdk/trunk/frameworks/projects/framework/build.xml
    flex/sdk/trunk/frameworks/projects/haloclassic/build.xml
    flex/sdk/trunk/frameworks/projects/rpc/build.xml
    flex/sdk/trunk/frameworks/projects/utilities/build.xml

  • Proper way to make bulk changes the Owner ID, Path and file share credentials for my existing subscriptions, ExtensionSettings

    We are going through with an upgrade/migration to SSRS 2012 and moving everything to a different domain. We have about 200 active subscriptions running, the reports are being delivered to a file share.  What is the correct way, in bulk, to change
    the OwnerId, the Path and the FileShare Username password credentials for these subscriptions?  I see these values are being stored in Subscriptions > ExtensionSettings.  I see that the file share path and Owner wouldn't be a problem to change,
    but since I see the file share credentials are encrypted I would not be able change them directly in ExtensionSettings.  Anyone know the proper way to change the Owner ID, Path and file share credentials for my existing subscriptions without having to
    change each one of them manually in the report manager?
    Note: Reporting Services Native upgrade from SSRS 2005 to SSRS 2012.
    Thanks in advance.

    Hi Cygnus46,
    Based on my understanding, you want to change the Owner ID, Path and file share credentials for all existing subscriptions.
    In Reporting Services, the subscription information are stored in the Report Server database. In your scenario, you can go to report server database and run the query to list all the subscriptions, then modify the owner and fileshare paths in the subscriptions
    table. For more information, please refer to this article: Tip: Change the Owner of SQL Reporting Services Subscription. If you want to change
    the file share credentials for subscriptions, you can run the query provided by
    wiperzeus from this similar thread:
    Windows File Share Delivery/ SSRS 2008 R2.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

Maybe you are looking for

  • Whenever error in pl/sql

    Hi, I'm doing a lot of execute immediate a loop inside a procedure. My problem is that if one of the exec fails, the SP terminates. What I want to do is something like whenever error do ... insert the statment that failed into an exception table and

  • Please Help! Adobe Opens 100 files at once

    All of the sudden whenever I try to open a file in Adobe Reader 9.0 it opens the file I want and 100 other files as well How can I stop this?

  • 3D Autocad drawing not visible in Acrobat 3D

    I have a 3D Autocad .dwg file which had been converting to Acrobat 3D, but  now that I've added some items on the drawing, it appears blank in Acrobat. Smaller 3D files works OK. Is this a known issue with Acrobat 3D?

  • Talent pool creation

    Hi Experts, Can anyone guide regarding  Talent Pool Creation? Is it possible in standard configuration or additional complexities are there? Regards, RK.

  • PM Equipment Structure List Download to spreadsheet

    Hi PM Experts, Our client is asking a solution to download (spread sheet) the expanded Equipment structure list. We can display equipment hierarcy through Tx code IH03 and IH04.We can take take hard copy print out from these reports. Any one can sugg