File upload process

I want to limit the size and type of files that users put in the database through the Oracle Portal.
Has anyone implemented it?

Hi Rafael,
Thank you for your answer.
But the file upload functionality is not activated by the transfer type config but by the data source config (=File upload), no?
Unfortnulately, the field data source cannot be modified for process 002 (always equals Documents of current process)
BR
Bernard

Similar Messages

  • ICR - FBICS3 file upload process

    Dear experts,
    In the process of ICR to we want to use the file upload option in the FBICS3(select documents) for reconciliation of the docs. And our file is placed in the application server. We have maintained the configuration in FBIC032 for the company codes(Here we are using multiple company codes), we mentioned the logical file path, custom structure as this file has some new fileds and we are data source as file upload in the data source field in this(FBIC032) config. But when I run the FBICS3 transaction it is not selecting the documents from the file placed on the application server. Can some one help me on this, whether i missed something in the config?
    Regards,
    Karthik.
    Moderator message: not related to ABAP development, please ask again in the appropriate functional or technical forum.
    Edited by: Thomas Zloch on Oct 22, 2010 11:23 PM

    Hi Rafael,
    Thank you for your answer.
    But the file upload functionality is not activated by the transfer type config but by the data source config (=File upload), no?
    Unfortnulately, the field data source cannot be modified for process 002 (always equals Documents of current process)
    BR
    Bernard

  • ICR File Upload Process 002 G/L Accounts

    Dear SAP experts,
    For external companies, we want to upload their intercompany transactions in the intercompany reconciliation cockpit.
    But it seems that is not possible for process 002 (G/L accounts): indeed, when I go on the customizing step 'Companies to be reconciled' (FBIC009), I cannot set the data source for one company code to File Upload.
    D
    o you have any idea so that I can load data in ICR process 002 tables by file upload?
    Thank you in advance for helping me,
    Bernard

    Hi Rafael,
    Thank you for your answer.
    But the file upload functionality is not activated by the transfer type config but by the data source config (=File upload), no?
    Unfortnulately, the field data source cannot be modified for process 002 (always equals Documents of current process)
    BR
    Bernard

  • Multipart form (file upload) processing in providers

    Hello,
    Just want to find out if anyone has successfully implemented a file upload mechanism within a Portal channel.
    According to the Provider API (http://docs.sun.com/source/816-6428-10/com/sun/portal/providers/Provider.html), the wrapped request/response objects do not support several methods that are essential to process file uploads, namely "getContentLength" and "getInputStream". I am currently trying to use the Apache commons-fileupload utility which uses those methods to process file uploads. This is also the case for another popular file upload utility from servlets.com.
    Does anyone have any info/explanation regarding this limitation in Portal Server 6, and any workarounds to this issue. One workaround is to have a window popup that interacts directly with an external webapp.
    Any ideas/suggestions will be appreciated, thanks in advance.
    jeff

    Hi Jeff,
    The Sun ONE Portal Server DesktopServlet does not have the ability to process a request with the content encoding type of multipart/form-data. DesktopServlet does not pass the input stream for the request on to the Provider.
    To accomplish handling of multipart/form-data type requests, it is necessary to create a companion servlet or JSP that process the multipart/form-data. This servlet can then pass control back to the Portal channel. The data from the file can be shared between the servlet and the provider by using static Java members or by storing the data in a back-end database and then passing a reference to the data over to the provider.
    Sanjeev

  • Php file upload processing

    Hi I have been working with javascript and php to upload files. I am having problems with
    the backend of the file upload.
    So when the file is recieved in the backend.php . It comes like:
    $fileupload=$_POST['upload_file'];
    The above $fileupload is the url of the file:
    I am trying to extract name , type and size using:
    $name=$_FILE['$fileupload']['name'];
    $tmp_name=$_FILE['$fileupload']['tmp_name'];
    $size=$_FILE['$fileupload']['size'];
    But this seems not to work.
    echo $fileupload; //gives me the file url.
    but:
    echo $name or $tmp_name or $size
    does not work.
    Can any one help.

    Hi Rob
    Thanks so much for the replay. $name=$_FILES['photofield']['name'];
    does not work in this circumstance because I am recieving the file through the ajax code below:
    <script type="text/javascript">
       // JavaScript Document
    var phototitle;
    var photogenre;
    var photodesc;
    var photofield;
    function AjaxStuff(){
    phototitle = jQuery("#phototitle").attr("value");
    photogenre = jQuery("#photogenre").attr("value");
    photodesc = jQuery("#photodesc").attr("value");
    photofield = jQuery("#photofield").attr("value");
    jQuery.ajax({
      type: "POST",
      url: "Uploadfix.php",
      cache: false,
      dataType: "html",
      data: "phototitle=" + phototitle + "&photogenre=" + photogenre + "&photodesc=" + photodesc + "&photofield=" + photofield,
      success: function(response){
       // if sucessful; response will contain some stuff echo-ed from .php
      // alert("Here is your response: " + response);
       // Append this response to some <div> => let's append it to div with id "serverMsg"
       jQuery("#allresult").append(response);
       jQuery("#contentgrid").trigger("reloadGrid");});
    } // END OF FormAjaxStuff()
    </script>
    photofield is the file. Uploadfix.php is where the data is posted:
    Uploadfix.php
    $phototitle=$_POST['photofield];
    the for file:
    $photo=$_FILES['photofield']['name'];
    echo $photo; //Nothing comes out.
    echo $photofield; //The url for the file appears.

  • Inconsistent in file upload process

    I have a file upload method for Azure blob storage. code as below
    CloudStorageAccount cloudStorageAccount;
                    CloudBlobClient blobClient;
                    CloudBlobContainer blobContainer;
                    BlobContainerPermissions containerPermissions;
                    CloudBlob blob;
                    cloudStorageAccount = CloudStorageAccount.Parse(ConfigurationManager.AppSettings["CLOUDSTORAGE_ACCOUNT"]);
                    blobClient = cloudStorageAccount.CreateCloudBlobClient();
                    blobContainer = blobClient.GetContainerReference(fileType);
                    blobContainer.CreateIfNotExist();                
                    containerPermissions = new BlobContainerPermissions();
                    containerPermissions.PublicAccess = BlobContainerPublicAccessType.Blob;
                    blobContainer.SetPermissions(containerPermissions);
                    blob = blobContainer.GetBlobReference(FileName);
                    blobClient.ParallelOperationThreadCount = 2;
                    IAsyncResult result = blob.BeginUploadFromStream(InputStream, null, null, null);
                    blob.EndUploadFromStream(result);
    Which is working fine in local but once hosted as Azure application , file upload is throwing error as :
    The server encountered an unknown 
       failure: The underlying connection was closed: 
       Could not establish trust relationship for the SSL/TLS secure channel. 
    After some time it will work fine.  Can you help me exactly what may be wrong

    Hi Srinivas,
    Have you checked if there is a problem in the system time syncing to the time servers?
    If its is a sync issue, to correct it, you could:
    Right-click the clock in the task bar
    Select Adjust
    Date/Time
    Select the Internet
    Time tab
    Click Change
    Settings
    Select Update
    Now
    There might be an issue with the SSL certificate as well.
    Are you using a self signed certificate? Do the host name between the certificate and the server match?
    You could try overriding the client certificate (This is dangerous if you are calling a server outside of your direct control, since you can no longer be as sure that you are talking to the server
    you think you're connected to.) You could try the following code:
     //Trust all certificates
                System.Net.ServicePointManager.ServerCertificateValidationCallback =
                    ((sender, certificate, chain, sslPolicyErrors) => true);
    Also for details you could refer the following links, where the customers are facing similar issues:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/bb0fc194-5bf3-4c24-94bb-c86f94c76bc2/could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority-pc1?forum=wcf
    http://stackoverflow.com/questions/703272/could-not-establish-trust-relationship-for-ssl-tls-secure-channel-soap
    Regards,
    Malar.

  • VS2010 not recording file upload process for web test

    I'm trying to record the process of uploading a file to the system.
    The problem is when a new browser opens for uploading a document, the visual studio is not recording the URL (....Attachement/Upload.aspx) and related Form Post Parameters.
    Is there any settings to able to record when a new browser pops up?
    I'm using VS2010 ultimate and the system is on MS Dynamics CRM platform.

    Hi,
    this is the forum for Microsoft Office Visio.
    It seems from your question that you need assistance with Visual Studio.
    The Visual Studio forums are located in MSDN, not here in TechNet.
    Try here:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=visualstudiogeneral
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • VS2010 does not record file upload process for web test

    I'm trying to record the process of uploading a file to the system for web performance test.
    The problem is when a new browser opens for uploading a document, the visual studio is not recording the URL (....Attachement/Upload.aspx) or POST and related Form Post Parameters.
    Is there any settings to able to record when a new browser pops up?
    I'm using VS2010 ultimate and the system is on MS Dynamics CRM platform.

    Hi Michi,
    >>A new browser pops up.
    Could you share us a screen shot about it? Do you mean that it opened a new tab in the same window or a new window in your IE browser?
    Maybe you could use the Fiddler tool to record a web performance test, check the result.
    http://blogs.msdn.com/b/slumley/archive/2007/04/17/enhanced-web-test-support-in-fiddler.aspx
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • File upload to web server

    I need a little help with the file upload process in flex..
    I am trying to upload a file.. i had it where i would get a cgi-script url passing as the following
    filename="filename"&filedata="data of the file"
    then my cgi script "written in C" would read from standard in.. and write the info to a file...
    now i get the following..
    ------------KM7Ef1gL6Ij5cH2ae0ei4Ij5GI3Ef1
    Content-Disposition: form-data; name="Filename"
    Botanical Garden 239.JPG
    ------------KM7Ef1gL6Ij5cH2ae0ei4Ij5GI3Ef1
    Content-Disposition: form-data; name="Filedata"; filename="Botanical Garden 239.JPG"
    Content-Type: application/octet-stream
    in the file i am trying to write.... Can anyone help me fix this problem? I am clueless at this point on what to do..
    sample code below is what i got from trying to work this...
    Thanks in advanced for anyones help..
    <code>  
    const FILE_UPLOAD_URL:String = "http://172.16.1.6:1111/cgi-bin/login.cgi"; 
    private function init():void {fileRef =
    new FileReference();fileRef.addEventListener(Event.SELECT, fileRef_select);
    fileRef.addEventListener(ProgressEvent.PROGRESS, fileRef_progress);
    fileRef.addEventListener(Event.COMPLETE, fileRef_complete);
    private function browseAndUpload():void {fileRef.browse();
    message.text =
    private function fileRef_select(evt:Event):void { 
    try {message.text =
    "size (bytes): " + numberFormatter.format(fileRef.size);fileRef.upload(
    new URLRequest(FILE_UPLOAD_URL) ); 
    trace("going to print file data in a sec... ready?"); 
    trace(fileRef.data); 
    trace(fileRef.name );}
    catch (err:Error) {message.text =
    "ERROR: zero-byte file";}
    private function fileRef_progress(evt:ProgressEvent):void {progressBar.visible =
    true;}
    private function fileRef_complete(evt:Event):void {message.text +=
    " (complete)";progressBar.visible =
    false;}
    </code>

    Here are some code....
    Forms
    <%@ page language="java" session="true" %>
    <html>
    <head>
    <script>
    </script>
    </head>
    <body>
    <form name="myform" method="post" action="fileproc.jsp" enctype="multipart/form-data">
    <input type="file" name="myfile">
    <input type="submit" value="submit">
    </form>
    </body>
    </html>Process
    <%@ page language="java" session="true" import="com.oreilly.servlet.*"%>
    <html>
    <head>
    </head>
    <body>
    <% String s = request.getParameter("myfile"); %>
    <%=s%>
    <br>
    <%
       MultipartRequest multi = new MultipartRequest(request, "C:/multipart/", 10*1024*1024); // 10MB
       Enumeration params = multi.getParameterNames();
       while (params.hasMoreElements()) {
         String name = (String)params.nextElement();
         String value = multi.getParameter(name);
         out.println(name + " = " + value);
       out.println();
       Enumeration e = multi.getFileNames();
       while(e.hasMoreElements()){
           String fname = (String)e.nextElement();
           out.println("<h1>"+fname+"</h1>");
           File fl = multi.getFile(fname);
           FileReader fr = new FileReader(fl);
           BufferedReader buf = new BufferedReader(fr);
           while(buf.ready()){
               out.println(buf.readLine());
           out.println();
           buf.close();
           fl.delete();
    %>
    </body>
    </html>Hope this helps....

  • File Upload Action Button are not working

    Hi  ,
    In the File Upload Process when the processor are open change request there are Action Buttons  Approve/Reject ,
    When the CR Processor are Click on either Approve or Reject  these two Action Button are not working (means its not show any activity) , while rest of all action button like save,close check , Run validation  are working ...
    While Processor has authorization to Approve/Reject that CR ...

    Hello Nikhilesh
    These buttons are dependent upon the workflow steps. Check that. Check the linkage for workflow. Check SWI6 - CR number and the step. Based on the step you can identify whether the proper step is assigned or not.
    Thanks
    Kiran

  • Flash 8 file upload .doc & .pdf help, please

    I've been working with the file upload sample that came with
    Flash 8 as well
    as other sources to help me figure this one out... like:
    http://www.flash-db.com/Tutorials/upload/index.php
    Everything I seem to find out about file uploading with Flash
    specifically
    deals with images, but I need to upload .doc & .pdf files
    to attach to an
    email as part of an employment application process for a site
    that is built
    with Flash.
    The back-end script is a simple ColdFusion file that I've
    tested (and works
    fine with a static HTML test page):
    <cffile action="upload"
    destination = "ServerAddressHERE"
    accept = "image/jpg, application/msword, application/pdf"
    fileField = "Form.resumeFile"
    nameConflict = "Overwrite">
    The Flash example script that comes with Flash 8 has been
    modified as
    follows:
    System.security.allowDomain(" FQDN_here");
    import flash.net.FileReference;
    // The listener object listens for FileReference events.
    var listener:Object = new Object();
    // When the user selects a file, the onSelect() method is
    called, and
    // passed a reference to the FileReference object.
    listener.onSelect = function(selectedFile:FileReference):Void
    // Update the TextArea to notify the user that Flash is
    attempting to
    // upload the image.
    statusArea.text += "Attempting to upload " +
    selectedFile.name + "\n";
    // sample code provided by Flash
    selectedFile.upload("
    http://www.helpexamples.com/flash/file_io/uploadFile.php");
    // my modification here (I have tried absolute references as
    well):
    selectedFile.upload("upfile.cfm");
    listener.onOpen = function(selectedFile:FileReference):Void {
    statusArea.text += "Opening " + selectedFile.name + "\n";
    // Once the file has uploaded, the onComplete() method is
    called.
    listener.onComplete =
    function(selectedFile:FileReference):Void {
    // Notify the user that Flash is starting to download the
    image.
    statusArea.text += "Downloading " + selectedFile.name + " to
    player\n";
    // this part is irrelevant to my needs and I've worked with
    and without it
    imagesCb.addItem(selectedFile.name);
    imagesCb.selectedIndex = imagesCb.length - 1;
    downloadImage();
    var imageFile:FileReference = new FileReference();
    imageFile.addListener(listener);
    uploadBtn.addEventListener("click", uploadImage);
    // this part is irrelevant to my needs and I've worked with
    and without it
    imagesCb.addEventListener("change", downloadImage);
    imagePane.addEventListener("complete", imageDownloaded);
    function imageDownloaded(event:Object):Void {
    if(event.total == -1) {
    imagePane.contentPath = "Message";
    // this part is where I added the extensions I need:
    function uploadImage(event:Object):Void {
    imageFile.browse([{description: "Image Files", extension:
    "*.jpg;*.gif;*.png;*.doc;*.pdf,"}]);
    ANY ideas would be sincerely appreciated... even if it's just
    to confirm
    that the Flash file upload process ONLY works with image
    files.... Thank you
    ALL in advance for ANY help I can get. :-)

    Did you ever get your issue with the F12, publish preview,
    not loading your browser? I have just upgraded from MX 2004 to 8
    and now have this issue.
    T Peluso
    [email protected]

  • Error handling for file upload

    HI Experts,
    I have a question on file upload process in sap MDG-S.
    Scenario : Upload the content from a CSV file using the file upload prcoess.
    Query : For example if there are 5 records in the file and if there is an error in 3rd record what happens to the rest of the records i.e. 1,2 and 3,4.
    a) Will record 1 and record 2 get posted and record 3,4 will be failed?
    b) All 4 records will not be posted as there is one errored record.
    Regards,
    Charita.

    Hi charitha,
    As per your request if there is a error in any of the record in a particular file it does'nt loads any of the fields to the target, it will be terminated  with an error.
    As i checked with an example of Space delimited file in which 4th field has no spaces, and i used this file as source and run the job it does'nt return any values but terminated with an error.
    let me know if i am right..
    Regards,
    Amjad

  • Integrated Planning - File upload - Locks issue

    Hi
    When we try to use file upload feature (planing function- how to guide) , it gives us error that says " Data is locked by user .....". We checked and we had one user in the layout so system had lock entry in SM12 transaction.
    Is there any way - we can release the locks created by user before we execute the file upload process automatically so that we donot have to go to SM12 to delete it and then trigger upload process?
    Is it recommended to delete such locks from SM12 using ABAP code ?
    Please help.
    Thanks
    A

    Hi ,
    Pls chk this link for complete doc abt Locking in IP.
    http://help.sap.com/saphelp_nw70/helpdata/en/44/588168ce8c08fae10000000a422035/content.htm
    *pls assign points,if link is useful*
    Regards
    CSM reddy

  • Newbie : memory problem with file uploading

    Hello
    I'm exdending a web app based on jsf and , being new to it and java in general, i'm having a problem with file uploading.
    The customer needs to upload large file (more than 30 MB). The application accomplish this using a fileupload component, to let the user select the file, and passing the array of bytes to a web service method.
    I'm using netbeans 6, tomcat 5.5.
    When i try to upload a file too large i got an outofmemory on the local tomcat. So i've rised jvm memory and going on with tests i've found that growing the size i got an http 500 error from the service (the developer of the service has found an out of memory too ).
    I think the service is not modifiable, so i were asking if threre were a way to optimize the file uploading process (a component, a library, a pattern ...) or my only chioice is to rise available memory on both sides.
    I've notice the wsdl declares as base64binary type the data parameter , while netbeans 6 generates a client proxy with a byte[] parameter. Is correct or is a netbeans problem?
    searching with google i've found few thing i haven't fully understood due to my lack of experience:
    the mtom , how can evaluate if it's suitable to help in my problem (i suppose it involves more the web service rather than the client)
    something about the size of a soap body.
    thank you in advance
    Stefano

    Which component exactly are you using? Declaring the stream as a raw byte[] is certainly not efficient. Write code yourself, don't let it autogenerate.
    I can highly recommend you the Tomahawk t:inputFileUpload component. It is easy to integrate in Mojarra. You can find here an useful article: [http://balusc.blogspot.com/2008/02/uploading-files-with-jsf.html].

  • 9iAS DAD file upload

    I have no problem with HTMLDB running against the OHS that installed with my 9i database server. When I create a DAD on my 9iAS server and access HTMLDB on the database everything but the file upload seems to work. What am i missing?
    ANdrew

    the four DAD parameters that play into the file upload process are PlsqlDocumentTablename, PlsqlDocumentPath, PlsqlDocumentProcedure, and PlsqlNLSLanguage. our default install would have you set up the first three parms as...
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure wwv_flow_file_manager.process_download
    ...the PlsqlNLSLanguage parameter's value is specific to your db setup. to figure out that value, you could run this proc...
    set serveroutput on;
    declare
    l_NLS_LANGUAGE varchar2(100) default null;
    l_NLS_TERRITORY varchar2(100) default null;
    l_NLS_CHARACTERSET varchar2(100) default null;
    begin
    select value
    into l_NLS_LANGUAGE
    from nls_database_parameters
    where parameter = 'NLS_LANGUAGE';
    select value
    into l_NLS_CHARACTERSET
    from nls_database_parameters
    where parameter = 'NLS_CHARACTERSET';
    select value
    into l_NLS_TERRITORY
    from nls_database_parameters
    where parameter = 'NLS_TERRITORY';
    sys.dbms_output.put_line ( 'nls_language = {'||l_NLS_LANGUAGE ||'}');
    sys.dbms_output.put_line ( 'nls_territory = {'||l_NLS_TERRITORY ||'}');
    sys.dbms_output.put_line ( 'nls_characterset = {'||l_NLS_CHARACTERSET ||'}');
    sys.dbms_output.put_line ( 'add this line to your DAD config:');
    sys.dbms_output.put_line ( 'PlsqlNLSLanguage '||l_NLS_LANGUAGE||'_'||l_NLS_TERRITORY||'.'||l_NLS_CHARACTERSET );
    end;
    i'm hoping that correctly setting up these four DAD parameters will fix your file upload issue. if not, please do let us know (including specific details).
    thanks,
    raj

Maybe you are looking for

  • Doubt in Variable substitution

    Hi experts, Can i use variable substitution for taking a part of the input filename. My output filename contain only a part of the input filename. Regards, Divia

  • DB13 - Error when starting jobs

    Hello, After an upgrade from R/3 Enterprise Ext 2.00 to ERP 2005 i have a permission problem concerning the jobs. I have already executed sapdba_role.sql for R3(some errors in log), SR3 (no errors in log) and even SID(didn't take a look at log). All

  • Sending the Stored Business Docs(TOA01) through email

    Hi ABAP Gurus, i have a scenario where in i have to collate all the store Business documents in PO (ex. if the PO is referring a PR/RFQ then all the attached business docs should be available in PO as stored business docs automatically) and then on c

  • How to blur the background in potraits ?

    I am using lightroom 5 in Windows 8.Please tell me how to blur the backgrounds in portraits .

  • Add or remove albums/songs from Home

    So I got the latest update from Sony (8.4.A.5.4) and it was listed that you can add or remove stuff in Home in the Walkman but I can't see any place to do that, help?