Uploaded file (via front-end) created as a Media Download item (Literature Item)?

Is it possible to have an uploaded file (via a form or webapp edit form on the site front-end) to be stored/created as a Media Download item (Literature Item)? Or alternatively, is it possible to secure a file that has been uploaded on the front-end (by 'secure' I mean cannot be access outside of a secure zone)?
My aim is to have customers upload files into their secure zone and maintain that security on the uploaded file so other cannot access them. I can't see that this will be possible but hopefully someone might have some creative ideas to get around it.

Hi Adam,
This can be implemented via web apps, please go through the web app tutorials here to know more about them - User manual
You can set up a secure web app to take the submissions from the users and include file upload in that submission. Those submissions are visible to only the user who submits it, unless, you enable the option where every one can see/edit it.
Note: Via the web apps, the files that are uploaded, they go into a folder with a random name which is directly accessible on the internet, even though, on the site, through the web app items, only the logged in users can see it. By this I mean that anyone who has the direct link to the file will be able to access it and it can also be indexed by search engines. So, when it comes to using the work around of web apps to implement this function on your site, make sure to take measure to block Google bots from indexing the files.
Check this article to know more on how the GoogleBot works - Googlebot - Webmaster Tools Help
Regards,
Abhishek Maurya

Similar Messages

  • To upload an excel file from front end using GUI_UPLOAD

    Hi All,
    Please give me the code to upload data from front end to internal table only using GUI_UPLOAD.
    Thanks,
    Kumar

    Check this program , reward points if helpful
    *& Report  ZEXCEL_UPLOAD                                               *
    report  ZEXCEL_UPLOAD    message-id ZMSG.
    tables :T001.
    data : begin of ITAB occurs 0,
          BUKRS like T001-BUKRS,
          BUTXT like T001-BUTXT,
          ORT01 like T001-ORT01,
          LAND1 like T001-LAND1,
          WAERS like T001-WAERS,
          end of ITAB.
    data : WA_T001_EXCEL like ITAB.
    data : IT_T001_EXCEL like standard table of WA_T001_EXCEL.
    data IT_TEXT like ITAB occurs 0 with header line.
    data : IT_RETURN  like standard table of ALSMEX_TABLINE,
           WA_RETURN like ALSMEX_TABLINE,
            WA_RETURNS like ALSMEX_TABLINE.
    data : V_FILE type STRING,V_MASK(10) type C.
    selection-screen  begin of block B1 with frame title TEXT-001.
    parameters P_FILE like RLGRAP-FILENAME .
    selection-screen end of block B1.
    selection-screen  begin of block B2 with frame title TEXT-002.
    parameter : R_TXT  radiobutton group G1 default 'X' user-command C1,
                R_EXCEL radiobutton group G1.
    selection-screen end of block B2.
    at selection-screen on value-request for P_FILE.
      if R_TXT = 'X'.
        V_MASK = '*TXT'.
      elseif R_EXCEL = 'X'.
        V_MASK = '*XLS'.
      endif.
      call function 'KD_GET_FILENAME_ON_F4'
        exporting
          PROGRAM_NAME  = SYST-REPID
          DYNPRO_NUMBER = SYST-DYNNR
          MASK          = V_MASK
        changing
          FILE_NAME     = P_FILE.
    at selection-screen.
      translate P_FILE to upper case.
      if R_TXT = 'X'.
        search P_FILE for '*TXT'.
        if SY-SUBRC <> 0.
          message E011.
        endif.
      endif.
      if R_EXCEL = 'X'.
        search P_FILE for '*XLS'.
        if SY-SUBRC <> 0.
          message E012.
        endif.
      endif.
    start-of-selection.
      V_FILE = P_FILE.
      if R_TXT = 'X'.
        call function 'GUI_UPLOAD'
          exporting
            FILENAME            = V_FILE
            FILETYPE            = 'ASC'
            HAS_FIELD_SEPARATOR = 'X'
          tables
            DATA_TAB            = IT_TEXT.
        if SY-SUBRC eq 0.
          message I013 with V_FILE.
          loop at IT_TEXT .
        write :/ IT_TEXT-BUKRS color 4, IT_TEXT-BUTXT color 3,IT_TEXT-ORT01
        color 5,
        IT_TEXT-LAND1 color 2,IT_TEXT-WAERS color 1.
          endloop.
        endif.
      elseif R_EXCEL = 'X'.
        call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          exporting
            FILENAME    = P_FILE
            I_BEGIN_COL = 1
            I_BEGIN_ROW = 1
            I_END_COL   = 4
            I_END_ROW   = 2
          tables
            INTERN      = IT_RETURN.
        if SY-SUBRC eq 0.
          message I014 with P_FILE.
          sort IT_RETURN by ROW COL.
          loop at IT_RETURN into WA_RETURNS.
            WA_RETURN = WA_RETURNS.
            case WA_RETURN-COL.
              when 1.
                WA_T001_EXCEL-BUKRS = WA_RETURN-VALUE.
              when 2.
                WA_T001_EXCEL-BUTXT = WA_RETURN-VALUE.
              when 3.
                WA_T001_EXCEL-ORT01 = WA_RETURN-VALUE.
              when 4.
                WA_T001_EXCEL-LAND1 = WA_RETURN-VALUE.
            endcase.
            at end of ROW.
              append WA_T001_EXCEL to IT_T001_EXCEL.
              clear : WA_RETURN, WA_T001_EXCEL.
            endat.
          endloop.
        endif.
        loop at IT_T001_EXCEL into WA_T001_EXCEL.
          write :/ WA_T001_EXCEL-BUKRS color 1, WA_T001_EXCEL-BUTXT color 2,
                   WA_T001_EXCEL-ORT01 color 3,WA_T001_EXCEL-LAND1 color 4.
        endloop.
      endif.

  • Can we run in Background job which can pick a file from front end ?

    Hi All,
    I would like to run a report in Background job , for this i need to pick a file from front end services(Local drive or share folder)
    Is there any alternate FM=>GUI_UPLOAD  to upload data from front end services or any other solution for this?
    I am getting error=> "No batch" and " Cannot perform frontend function in batch input mode"
    Could you please help on this ?
    Thanks for your help in advance.
    Regards,
    Prasad.

    Hello Prasad,
    IF you keep your file on a shared folder on your front end, you can access it via OPEN DATASET if your application server has access to that path.
    You can test it out by asking Basis to try and access your front end file from the app server itself.

  • Unable to upload files via Wi-Fi.

    My phone C3-00 is running on latest update v08.71. I'm unable to upload files on wi-fi. When I start any service like Facebook on opera mini or any browser (I'm also unable to use Mail & Communities via wi-fi) and try to upload file (pic. of max. size 500KB) it shows uploading two times then shows connection failed. I tried it several times but everytime it shows connection failed. But I can easily upload files via GPRS. The Mail & Communities app also runs fine on GPRS but not works on Wi-Fi. Please solve my problem.

    Read my previous post /t5/Phone-Applications/Nokia-apps-on-Wi-Fi/m-p/1305667#M25965

  • Problem on upload file via ftp..

    Hi afternnon,
    Can have people tell me.....what is "Can't open data connection" on my upload file via ftp ????how to solve it??
    regards,
    mike

    nbelford wrote:
    I cant find any way to upload the CSR either/ I dont think it exists yet. Can someone please let us know how far away it is. Same applies to the provisioning profile. I cant see any evidence of this yet either.
    I am presuming that without these key pieces of the puzzle one cannot deploy to the iPhone. Can someone from Apple confirm (or correct me)
    I've emailed Apple asking for clarification but I haven't heard back yet. I imagine we'll all learn what's going on at about the same time. And yes, until you get a certificate you cannot upload your apps to the iPhone (within the SDK rules).
    Randy

  • How to include flex files as front end for struts in myeclipse

    Hi ,
    If any body knows to how t o include flex(Adobe 2) files as front end for struts in myeclipse application.

    <property name="messaging.client.jar.path" value="Location in your local drive" />
    <property name="messaging.client.jar.name" value="nameOfYourFile.jar" />

  • Down-/Upload files via Web Services using a NON-SAP system!?

    Hello,
    is it possible to down-/upload files via web services using a NON-SAP system!?
    Regards,
    Jens

    Hi Jens,
    I am not sure about your requirement here. What i could understand is that you want to check whether service could handle file processing?
    1) Uploading file - You can build a Webservice which has import/export parameters as the file structures and implement the proxy class in such a way that the passed data is written to application server.
    2) Downloading file - Same as uploading file, but the proxy class would have the code to extract data from the application server and pass them as output parameter.
    Functionality of Non SAP system: The system which calls these services should be able to convert the output of proxy data into file in case of downloading the file and it should be able to convert the file data into export parameters in case of uploading file.
    Hope this helps.
    Regards,
    Prasanna

  • Uploading files to SAP using HTML5 /AJAX/Gateway media links with real-time progress bar

    Hi All,
    Check out the blog post 'Uploading files to SAP using HTML5 /AJAX/Gateway media links with real-time progress bar'
    Uploading files to SAP using HTML5 /AJAX/Gateway media links with real-time progress bar
    Regards
    Prabaharan

    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Which correspondents fine with the
    device "hw:0,3"
    in my mpd.conf alsa section.
    Also sound worked fine withh this config before I started installing ffmpeg-svn and alikes
    hokasch:
    I tried changing the mixer to "Master" but that did not change much.

  • File Upload in the Front End

    I believe what I am about to ask isn't possible, however, I thought I should ask.before I say it cannot be done.
    With open admin you can create file uploads that upload to a specified directory. Is there anyway to expose this on the front end of the site to allow for customers to upload files?
    I ask because I would like to replicate a file upload feature that uploads to a specific directory of the site. Once that is done I display the image on the front end of the website.
    I know I can upload files using a webform, however, this doesn't work for what I would like to do.
    Any ideas or thoughts on this?

    Hi Lynda,
    That would be a security risk with bad files, viruses and open to abusive use.
    You can submit files to a folder via a web app submission where you have to be logged in. This is that option for those reasons and a normal form submission goes into a case to keep it off your site so someone cant store and hotlink as a free storage space etc.

  • Create and send file to front-end for download.

    Hi,
    In a nutshell I need to give users the possibility to download the contents of a table as a CSV file.
    From what is understood, this would happen like this:
    1)loop over the context node and write a file (table.csv) with the contents of each cell separated with a semi-colon. (or is there an API available to write the contents of an entire node/table)
    2)send this file to the front-end so that a file download automatically begins and user can save it on the hard-disk.
    Has someone done this before? If so, is it possible to share the code?
    As usual, big points will be awarded.
    Thanks!
    faB

    Hi faB,
    Refer "Exporting Context Data into Excel Using the Web Dynpro Binary Cache" by Bertram Ganz. This document will be very much helpful for you in exporting the context data into excel.
    You can get the sample code and corresponding documentation from the following link
    "Tutorial on Excel Export Using the Web Dynpro Binary Cache - 34"
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on excel export using the web dynpro binary cache - 34.htm
    You can also use HSSF API for exporting the context data into excel
    "Create an excel file from JAVA using HSSF api" by Prakash Singh
    /people/prakash.singh4/blog/2005/03/16/create-an-excel-file-from-java-using-hssf-api
    Regards,
    Santhosh.C

  • Delimited file, jsp front end browse, insert into oracle db.

    Hey all. I know I've seen this around somewhere, and instead of me rewriting the whole thing, I thought I would try and find it. If someone else knows where I could find it please let me know. We have some delimited files that we would like to upload into or Oracle DB (10g). Simple jsp front end browse for the file and upload it. Would like to be able to choose what type of file, and the delimiter type. Also, we have SQL Loader, but I am not sure how to integrate that.
    Thanks in advance
    orozcom

    Yeah, I think I will just create a java/jsp app to do this. I just found out that the data does not need to be saved. The info that is going into this table is a schedule for a university. The schedule will be upload like every time they have changes, or every semester.
    So I think I will do is just create a new table each time, or I could just clear the table each time. I don't know yet. This seems like an easy way of doing it. If there is already something out there that I could modify then that would be great. If not I could easily write this program tonight.
    orozcom

  • Single Sign-On Error while uploading file via WEBADI

    Hello,
    I am getting error while uploading the file via WEBADI. Below is the error message.
    Error Message:
    The Single Sign-On server registration is invalid. Please contact the System Administrator.
    I noticed that this template is uploading data when I connect to Oracle applications and go to WEB ADI responsibility and create a new template.
    In order to make this WEBADI work do I have to create a new template each time I upload the file?
    Our goal is to use the same template, change the numbers and re load it.
    Also, Is there any way I can go to login screen when I click on UPLOAD under ORACLE in excel. That way connection is established.
    Thanks for the help.

    Hi, Actually NW Portal and SQL server has been installed on the same machine.
    Now I am trying to add my SQL server as a JDBC system and checking the connections and I do not see a property under User Management.
    When I try to connect to R/3 backend system "...Dedicated Application server" then I can see the property but not for the JDBC syste.
    any clue how to get rid of the error and to check the connection.
    Thanks in advance.
    Gopi m.

  • Upload file via document Manager in taskflow: error the file does not exist

    Hi,
    I have a page that include document manager. I am able to upload file to UCM server via one user signon. Then I created a new user in UCM. With this new user, whenever I try to upload a file, the file name that I entered keeps getting blanked out when I click 'Upload'. The I will get an error that
    'Error: A value is required:
    The file you are trying to upload does not exist or is empty
    Select a non-empty file and retry.
    Enter a file name and location'
    Do you have any idea what I missed for setting up this new user?
    Thanks,
    Charunee

    Found that I need to assigned role in WLS to that new user also.
    After that, this issue is resolved.

  • I am unable to upload files via web browser

    Good morning
    I have just upgraded to Mavericks (10.9.5), and I am running into a weird issue. I am unable to upload any files via the web browser. If I go to a website, and select an Upload File option, I am taken to Finder, where I am able to select the file, and press attach. The issue comes when I press upload on the website. It always either times out, or gives me an error that I was disconnected from the server. This happens on Safari, Firefox, and Chrome. I'm not sure what to do... I've repaired disk permissions and tried a lot of different security settings, but I am stumped.
    Thank you

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Downloaded PDF file on front end is not opening

    Hi,
    We have a requirement to open the Master Data Governance documents (which are stored as RAWSTRING in a DB table)
    from an ALV on double click.
    We are downloading the binary content(converting XSTRING to BINARY) as a file with appropriate extension onto the front end temp directory using GUI_DOWNLOAD of CL_GUI_FRONTEND_SERVICES and opening the file using method EXECUTE of the same class.
    Everything is fine and documents are opening in their respective editors, expcept that a few PDF documents are not getting opened properly after downloading. Happened with an excel attachment as well.
    The message "Adobe Reader could not open 'XXXXX.PDF' because it is either not a supported file type or....." appears.
    Please let us know the way ahead on this issue.
    We have gone through the previous SDN forums, but we did not get anything which fixes this issue.
    Thanks,
    Sampath.

    Could you post the non-working code?
    Posting the rawstring may also help.

Maybe you are looking for