[Upload] Show progress when file is being uploaded

Hi,
More and more often, one can see progress bars when uploading files from the PC to a server.
The most visible example is the attachment of documents in Gmail.
There are many components on the Internet out there. The client part (should it be in AJAX/HTML or Flex...) is not really an issue, I am more interested in the server-side part for most examples give out PHP script.
I was wondering whether this would be possible using BSP.
I believe that using:
  o the method GET_DATA and its length parameter, it is possible to upload a file by chunks of few dozen kilobytes (I guess there is an optimum solution that satisfies packet fragmentation and so on... but that is not the point here, though I would be glad to hear some information about this!)
  o file system to store the document with a guid (FM 'GUID_CREATE' may help)
  o AJAX calls from the client to the server in order to get the progress of the upload
it is possible to achieve this.
Has anyone already tried this?
Many thanks in advance for your help.
Of course the next would be to make a BSP Extension out of this... 
Best regards,
Guillaume

Hello,
SAP is no more enhancing the BSP extensions. They went over to the webdynpro stuff (poore guys).
The are many widget, which can combined with bsp pages.
Check out (->Google)
1) SWFUpload
2) ExtJS
3) jQuery
We are a cFolders Customer. SAP provides an applet based solution for upload/download. It has
an counter for the transfered bytes.
Best regards,
Stefan

Similar Messages

  • Images won't show up when I try to upload online

    Hi
    I need help to figure out why my photos won't show up when I try to upload them online (e.g. Facebook, Pinterest, Google+). All of my photos are in iPhoto and it used to work fine until I updated to ver 9.3 a coupe of days ago. When I open iPhoto, it shows all the images but when I try to upload something, I couldn't find my photos so I end up copying them to my desktop first which is very inconvenient, especially if I am uploading severa photos. It works alright when I attach photos in Outlook though, so I'm not really sure what I'm doing wrong here. Any help is much appreciated. Thanks a lot!
    PS I did some screen shots if that would help explain things better. By the way, my OS version is 10.7.4, if that is relevant at all?
    This is my iPhoto right now.
    This is how it looks like when I open Photo Browser or attach an image to an email via Outlook.
    This is what it looks like when I try to upload images on to Facebook, Google+, Tumblr, etc.

    Where did you get the phone?
    If you see an ICCID unknown in Settings>General>About, that indicates a catastrophic failure. Very often this is caused by hacking or jailbreaking the phone. It can not be fixed. The phone will have to be replaced.

  • Restrict .EXE files from being uploaded

    Hi,
    Can we restrict .EXE files from being uploaded to Business Partner Attachments.
    In our project we have a set of extensions that can be uploaded to the Business partner attachments, Can someone explain me how to restrict this.
    Thanks in advance,
    Karunakar.K

    There is technology known as RMS which you could set series of policies like only members in the company could access certain documents and if someone copy them and attempt to run them in another PC or outside company, it won't work. Take a look at:
    http://blogs.technet.com/b/rms/archive/2013/08/29/the-new-microsoft-rms-is-live-in-preview.aspx
    https://technet.microsoft.com/en-us/library/dd277361.aspx

  • I cannot upload any pictures to Flickr for the past three days, I just get the upload screen which when I click on upload does nothing I'm using PSE12

    I cannot upload any pictures to Flickr for the past three days, I just get the upload screen which when I click on upload does nothing I'm using PSE12, I have had no problems in the past , I still have had no response to this post and it has been several weeks since initially posted, is there anyone awake at Adobe, can someone give me advice or is there total lack of interest once the product has been purchased I have been a customer of PSE for many year since PSE6 now on 12 but lack of response may cause me to rethink

    Turn off your iPad and put it in recovery mode. Try to restore it via iTunes.
    http://support.apple.com/kb/HT1808

  • Restrict file types being uploaded as attachments

    Hi,
    We are using SRM3.0 with EBP 4, we would like to restict the file types that users can upload as attachments while creating shopping carts.
    Is there some way that we can maintain a good/ bad list of attachments.
    Thanks
    R.M.

    Hi Joseph,
    Thanks for your reply,
    Could you please explain what is DC30, I cant find any such Tcode or table in srm.
    Thanks
    R.M.

  • Computer restarts when music is being uploaded to the Ipod

    I just purchased a 60GB Video Ipod from Best Buy. I've had nothing but problems with it since. The main problem is that plugging in the USB cable will either reset my computer immediately or if I get lucky Itunes will automatically start to update the Ipod (or I should say sync it or whatever)...as it uploads music it may get to about the 4th song then it will restart my computer.
    Any ideas of what is wrong, I'm going to take it back tomorrow if I can't figure out the problem, it is just not worth $399 for the aggravation.
    thanks,
    Corky

    Thanks Trevor,
    I have tried every USB port I have, I also went and downloaded the new drivers as you suggested. Neither helped.
    On three of the USB ports the minute I plug in the Ipod it shuts off the computer and restarts. The computer does give alot of clicking noises (not beeps) from the back of the computer. I'm wondering if it has something to do with my power supply, since the Ipod gets power to charge and such though the computer, do you think that could be a problem.
    My next thing is I will try it on another computer, but that will have to be later today.

  • Validation of the file type being uploaded

    Hi,
    My requirement is to put a validation on the Primary File metadata field so that it allows only certain type of file types.
    Example the primary file should allow only .doc and .pdf and restrict .jpeg/.tiff files
    Can any one suggest how this can be implemented ?
    Regards,
    Bhaskar

    You will want to write a validateStandard filter. This will run during the checkin of files.
    In the filter you can write code such as:
    String filename = binder.getLocal("primaryFile");
    Then you can strip that filename String and find the file extension. You can build a list in the actual Java filter that allows/disallows certain filetypes. You could also have this allow/disallow list as a checked-in piece of content (e.g. an XML document) or you could set this as a preference prompt.
    Simply looking at the file extension is not bulletproof. You would need to examine the MIME type if you want better security.
    This thread linked below has links to the HowTo components which will show you how to implement a filter.
    Filter Implementation
    Jonathan
    http://redstonecontentsolutions.com
    http://corecontentonly.com

  • How can I protect files from being uploaded to the internet/web-based email or being written to a disc/flash drive?

    I work for a company that want to update itself to this century.  I got all our PC upgraded to Windows 7 and networked into a homegroup.  We want to use a web-based appointment scheduler but this means giving our users web access.  The main
    concern is our .mdb files.  We have anti-virus/anti-spyware to protect us from infiltration but we want to safeguard against personnel selling our client list; At least make it more difficult, just a precautionary measure.  Do I need additional software
    or is it something that I can do in Windows setting?  Or do I need a file encryption service that works in conjunction with Windows Access?  Sorry for my ignorance and thanks in advance.

    There is technology known as RMS which you could set series of policies like only members in the company could access certain documents and if someone copy them and attempt to run them in another PC or outside company, it won't work. Take a look at:
    http://blogs.technet.com/b/rms/archive/2013/08/29/the-new-microsoft-rms-is-live-in-preview.aspx
    https://technet.microsoft.com/en-us/library/dd277361.aspx

  • Webutil upload is holding the file that it uploads

    Hi am creating n application using a lot of webutil commands to upload files that were scanned onto the users machine. I am having the following problem - after a call the webutil upload I try to call the webutil delete file to delete the file that was jsut uploaded off of the users machine. the problem is that once the file gets uploaded it does not get released until I am all the way out of internet exploerer - not only out of the application but totally out of internet exploerer.
    I am going to attach part of the code and notice that I need to be able to delete the file from the users machine after it is uploaded.(in the same session)
    v_random_number := random_number(6);
    INSERT INTO NEEDS_TO_BE_MOVED (RANDOM_NUMBER,APPLICATION_NAME,USER_MACHINE_NAME,DOC_NAME,
                        DOC_MOD_DATE_TIME,USER_ID,DOC_TYPE,DOC_PAGE_COUNT)VALUES
                        ( V_RANDOM_NUMBER,V_APPLICATION_NAME,V_COMPUTER_NAME,V_ACTUAL_DOC_NAME,
                        SYSDATE,USER,NULL,NULL);
    UPLOAD_BLOB_TO_DB(V_DOC_NAME,'RANDOM_NUMBER = '||V_RANDOM_NUMBER);
    COMMIT;
    v_boolean_delete_file:=WEBUTIL_FILE.DELETE_FIL(v_doc_name);
    --this is the code for the UPLOAD_BLOB_TO_DB proc
    PROCEDURE UPLOAD_BLOB_TO_DB(P_FILE IN VARCHAR2,P_WHERE IN VARCHAR2) IS
    l_success boolean;
    BEGIN
    l_success := webutil_file_transfer.Client_To_DB
    (clientFile => P_FILE
    ,tableName => 'NEEDS_TO_BE_MOVED'
    ,columnName => 'DOCUMENT'
    ,whereClause => P_WHERE
    ,asynchronous =>false
    ,callbackTrigger => null
    if l_success
    then
    SET_ALERT('File uploaded successfully into the Database');
    else
    SET_ALERT('File upload to Database failed');
    end if;
    exception
         when others
         then
         SET_ALERT('File upload failed: '||sqlerrm);
    END;
              

    can someone please respond to this issue that I having.
    I need to get thsi working ASAP!!!

  • Stop bookmarks from showing up when file opened

    Is there a way to stop the bookmarks bar from opening automatically when a file is opened??? thanks

    If it opens because of the document's "File > Properties >Initial View" setting, you can change it if there's no security.

  • Allowing only zip files to be uploaded through af:inputFile ( in jdev 11g )

    I am able to upload all kinds of files through af:inputfile tag. I want to allow only zip files to be uploaded though the af:inputFile tag. Does inputFile provide any feature of this sort???

    Let me address two issues here:
    1. Chris has posted a correct answer about how to write a ValueChangeListener to allow only zip files. However, by the time this code runs, the file has actually already been uploaded to temporary storage. All this code does is specify what to do with the file once it is on the application server. So if you want to prevent the file from being uploaded unless it is zipped, this catches it too late. To catch it earlier, you have to write your own UploadedFileProcessor, and configure ADF to use it. Read more in Appendix A, section A.6.2.11 of the Fusion Web User Interface Developers Guide for Oracle ADF 11g.
    2. While you have to write some code to handle uploaded files yourself (hey - it isn't a lot of code, and I don't care how declarative ADF is, sooner or later you're going to write a little code) if you are uploading to an ORDSYS.ORDDOC column in your Oracle database, ADF CAN do that declaratively.

  • Problem in showing progress image and status message.

    Hi, friends,
    I have file upload program in which when user uploads the file
    i want to show animated progress file
    i.e. ( circle.gif )
    when upload finishes it should display message :
    File < file name > uploaded successfully.
    How do i achieve it ?
    since when i am uploading file , image is displayed but
    due to upload process image is hanged up and did not showing
    animation.
    Kindly solve the above problem.
    i post my some code here.
    ============================
    javascript part is here
    function showProgress()
            document.getElementById('imgprogress').style.display = "";
         document.getElementById('imgprogress').style.visibility="";
        function completedupload()
         document.getElementById('progress').style.display = "";
         document.getElementById('progress').style.visibility="";
    <div id="imgprogress" style="display:none; visibility:hidden;"><img src="images/circle.gif"></div>
                                                      <div id="progress" style="display:none; visibility:hidden;"><%= status %></div>
                                                      <div id="" style="display:none; visibility:hidden; "><img src="images/circle.gif" width="21" height="21"></div>since it is not working good.
    please provide me good solution for this.
    i need exactly following :
    when user gives big file to upload it shows progress as animated image
    and upload process finished up, it should remove image and display status message like " File Upload completed. "

    I know this is an old topic, but I found the solution and thought I'd share it! By default, a JList only has 1 visible row. To allow the number of rows to expand dynamically, throw this in.
    this.imageList.setVisibleRowCount(-1);My code looks like this. It centers each image and centers the text under the image and wraps images horizontally.
        ListCellRenderer renderer = new ImageListCellRenderer();
        this.imageList.setCellRenderer(renderer);
        DefaultListModel listModel = new DefaultListModel();
        this.imageList.setVisibleRowCount(-1);
        this.imageList.setLayoutOrientation(JList.HORIZONTAL_WRAP);
        this.imageList.setModel(listModel);and the renderer
    public class ImageListCellRenderer extends DefaultListCellRenderer { 
      public Component getListCellRendererComponent(JList list, Object value, int
          index, boolean isSelected, boolean hasFocus) {
        JLabel label = (JLabel)super.getListCellRendererComponent(list, value,
            index, isSelected, hasFocus);
        if (value instanceof File) {
          File imageFile = (File)value;
          String path = imageFile.getAbsolutePath();
          Image image = Toolkit.getDefaultToolkit().getImage(path);
          image = image.getScaledInstance(100, 100, Image.SCALE_DEFAULT);
          ImageIcon imageIcon = new ImageIcon(image);
          label.setIcon(imageIcon);
          label.setText(path.substring(path.lastIndexOf(File.separatorChar) + 1));
          label.setVerticalTextPosition(SwingConstants.BOTTOM);
          label.setHorizontalAlignment(SwingConstants.CENTER);
          label.setHorizontalTextPosition(SwingConstants.CENTER);
        else {
          label.setIcon(null);
        return label;
    }I need to work on this to improve performance, but it works!

  • Show progress bar while executing scp command in linux

    I am being trying to execute scp command throug java frames, I want to know is there any way to show progress when i am copying a file to another system.
    The scp command shows the progress in command prompt can i implement that on the jprogressbar.
    thanx in advance.

    I am being trying to execute scp command throug java frames, I want to know is there any way to show progress when i am copying a file to another system.
    The scp command shows the progress in command prompt can i implement that on the jprogressbar.
    thanx in advance.

  • When I try to upload pictures onto iPhoto, it shows up, but it won't let me import my pictures. And when I want to close iPhoto it says "Photos being uploaded to iPhoto library, please wait to finish uploading," but I am not uploading anything.

    When I try to upload pictures onto iPhoto, it shows up, however it won't upload. The "import" button, I can't click on it. It won't upload. And when I want to close out the window of iPhoto, it won't close, I get a message saying "photos being uploaded to iPhoto library," but i can't even upload. This has been like this since late April...

    What version of iPhoto?
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • Our illustrator files are not showing up when uploaded to creative cloud.

    Our illustrator files are not showing up when uploaded to creative cloud. They are visible sometimes when we turn on and off the layers. Please help thanks.

    If you feel that you have enough evidence of the symptoms, use the feedback at http://www.apple.com/feedback/itunesapp.html to let Apple know. The "feedback type" of "bug report" has been removed from the iTunes feedback, so I suggest you use use "Other".
    You will not receive any feedback from them, but they do read the submissions and act upon them. It can take a while, and more than one iTunes update before the issue is resolved.

Maybe you are looking for