AccessControlException in signed applet for simply reading local file

I have a simple applet that reads specified local image files and uploads them to our server. On both Mac OS X and WinXP (firefox and IE7), I get the following error. I signed the applet using an InstantSSL code signing certificate (not so easy getting this to work, but I'm pretty confident I did it correctly).
java.security.AccessControlException: access denied (java.io.FilePermission /Users/scott/Documents/photos/Ken_and_Scott.jpg read)
     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
     at java.security.AccessController.checkPermission(AccessController.java:427)
     at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
     at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
     at java.io.File.length(File.java:813)
     at org.apache.http.entity.mime.content.FileBody.getContentLength(FileBody.java:89)So just on getting the file length, it's throwing this exception. Interestingly, this file passed both file.exists() and file.canRead() checks within the applet (in windows the path is a bit different of course but also passes both those checks). Also, that file has no read restrictions and I can load it in a browser no problem.
I assume I'm missing a step in the applet code signing process, maybe a step that says I'm allowed to read local files?

I figured out my issue, the apache HttpClient library needed to be signed too apparently.

Similar Messages

  • Why my self-signed applet could not read local disk but could write?

    I used a self-signed certificate for the applet yesterday and it worked
    fine at the beginning time, that is, it could write/read file to/from
    local disk, and it could connect to other MDS servers. But later, a
    problem happens. It could write file to local disk(I tested it and created
    files to C:/ under windows) but when it try to read that file, it got a
    io acessing exception. It could connect to other servers. I am puzzled
    about this problem, and I wonder why I could write but could not
    read. Need I deal with any policy file issue here?

    hi,
    i 'am doing something which is similar to the stuff ur doing .I wanted to write into file on the local disk on which the applet is running.for this i have signed the applet .do i need to make it self signed wat is difference between the self signed and signed applet .The problem which i facing is that it still gives me the security exception even if i define the policy file for that applet............Can u help me reagrding this
    Thanks in advance
    your great help would be apprecriated
    rao_lavs

  • Signed applet can't read image file..

    Hello
    My English ability is very poor.. sorry
    I make a signed applet
    and I open Internet Exploere
    I connect to my web page
    when I connect to my web page
    my signed applet upload "c:\blahbalh...\image.gif" automatically
    but It's not work
    java.security.AccessControlException: access denied (java.io.FilePermission C:\DOCUME~1\krict\LOCALS~1\Temp\Hnc\BinData\EMB00000cac2143.jpg read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkRead(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at EchoApplet.onSendData(EchoApplet.java:61)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    signed applet can't not read file..
    how can I solve my problem?

    Trace please.
    http://forum.java.sun.com/thread.jspa?threadID=656028
    Maybe some relevant code
    Signing applets:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and reply 18 for the java class file using doprivileged

  • Applet can't read local file on web server, security issue!

    There is any way to read/write files of web server through the applet except the Signed Applet.
    If any idea the reply me soon.
    Thanks in advance

    Applets are downloaded from web servers and execute on the client machine.
    Therefore they have no access to the web server file system, signed or not.
    They could have access to the client file system (the machine where they run),
    but for security reasons only signed applets have this privilege.
    So to answer your question, you sign if you want to access client files.
    To access web server files, you don't need to sign the applet, but you need
    to provide some method of accessing files remotely, for instance:
    - Files published for the web can be read using HTTP
    - Files can be read or writen with the help of an FTP server on the same machine as the web server
    - A servlet running on the HTTP server can collaborate with your applet to exchange files

  • I just signed up for Adobe Reader and want to create a document I can post  on my facebook page.  I do not see Acrobat on my microsoft word.  How do I do this?

    I just signed up for Adobe Reader.  I wanted to be able to create a document and post it on my facebook page.  How do I do this?

    Hi terryjeanlaw,
    Using Adobe Export PDF, you can export PDF files to Word document (.docx and .doc),  Excel document (.xlsx), Powerpoint document (.pptx), Rich Text Format document (.rtf) and Image (.jpg, .tiff, .png). In order to convert to PDF, you need to either purchase PDF Pack (Reliably Create PDFs, Convert PDFs, & Merge PDFs Online | Adobe PDF Pack) or Adobe Acrobat XI (PDF creator, create PDF | Adobe Acrobat XI).

  • Reading local files

    I need to read local files in C with Alchemy (at least on
    developer's machine). This should allow more rapid application
    development with Lua Alchemy -- as developer would be able to
    exclude swf build step.
    I have added directory with my .swf to the FlashTrust config.
    I'm able to load the file with URLLoader. However fopen() on it
    returns NULL. Please see the attached code.
    Executables, compiled with Alchemy (and run with swfbridge),
    are able to work with local files. What should I do to allow my
    application to work with local files in the same manner?
    Alexander.

    quote:
    Originally posted by:
    notnick
    You have not tried?- funopen ()
    returns a FILE pointer.
    Just in
    samples / libpng
    I have not tried it yet
    I have tried fopen(), and it does not work (see code in
    original post). I would like to get working fopen() (and family)
    somehow, so I would be able to get vanilla Lua sources to work with
    files.
    My other option, of course, is to replace file-related
    functions in core Lua libraries. This is not that hard, and even
    doable without modifying of Lua sources, but I'd like to avoid this
    solution.
    UPD: I have looked at the libpng sample. If I get it
    correctly, funopen() there operates on ByteArray, not on actual
    file. (I have no experience with BSD API, so it was not immediately
    clear for me.)
    I need to operate on actual file on local file system.
    Thank you,
    Alexander.

  • Read local file in background

    hi everyone,
    i need to read local file in background,
    wich function do i need to use?
    thanks,
    dana.

    if you are reading in background file needs to be on application server.
    you can use following function modules.
    CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
    OPEN DATASET FILENAME FOR OUTPUT IN TEXT MODE
                          MESSAGE MSG_TXT.
    IF SY-SUBRC NE 0.
      WRITE: 'Err', MSG_TXT.
      EXIT.
    ENDIF.
    LOOP AT INT_TAB
    *your code
    ENDLOOP.
    Closing the File
    CLOSE DATASET FILENAME.

  • Can QuickTime for Windows read .vob files?

    Can QuickTime for Windows read .vob files so I can edit them? I have some .vob files that were recorded from old VHS tapes and want to share the content with others. Can I read in the .vob into QuickTime, edit them, and then save them as mpeg or wmv movies?
    Thanks!

    Hi Daniel,
    There are several options. I'll just post what works for me.
    Perian is a small component for Quicktime Player (and other apps that use QT) this adds many more codecs that Quicktime PLayer can play.
    http://perian.org/
    Movist is a player, much more capable than QT (play lists, remember last played file, more control for sub titles etc) It can play all QT formats using Quicktime's codecs including formats when Perian is installed , but also uses FFmpeg to decode nearly anything you can throw at it.
    http://code.google.com/p/movist/
    VLC is another player. Not as elegant as Movist, also play nearly anything you throw at it.
    http://www.videolan.org/vlc/

  • Problems with signed Applet for File Download under JRE 1.4 (works with 1.3

    Dear all,
    i encountered a very strange behaviour with JRE 1.4x. A signed applet used for file download worked on all platforms (Windows NT, 2000 and XP wth/wthout SP...) until I installed JRE 1.4.x (1.4.1 or 1.4.2)
    I get an EOFException when downloading binary files (for ASCII it works fine) when trying to readByte() from a DataInputStream. But not immideately, but after x bytes in the while-loop. Security is fine (I know there have been changes to that in jre 1.4, the applet itself can be started an runs with ASCII files for transfer)
    Does anyone know, what has changed in jre1.4.
    As I said, it works fine under jre 1.3.x
    The relevant code is below: byte bt = dis.readByte(); causes the error
    try{
    // Get URL from Server
    URL uFile = new URL(sFilename);
    sThisURLFile = uFile.getFile();
    Integer inte = new Integer(i);
    //open input stream for the file on server
    DataInputStream dis = new DataInputStream(new BufferedInputStream
    (uFile.openConnection().getInputStream()));
    //open output stream for the file on local drive
    String sFilenameOnly = sThisURLFile.substring(sThisURLFile.lastIndexOf('/')+1);
    int iDotPos = sFilenameOnly.lastIndexOf(".");
    String sExt;
    if (iDotPos > 0) {
    sExt= sFilenameOnly.substring(iDotPos);
    } else {
    sExt = "";
    File fileOut = new File(sDownloadDir + sThisURLFile.substring(sThisURLFile.lastIndexOf('/')+1) );
    DataOutputStream dos = new DataOutputStream(new
    BufferedOutputStream(new FileOutputStream(fileOut)));
    //read one byte from input stream, and write that byte to output stream
    long nByte = 0;
    int iCnt = 0;
    iFilesizeDone ++;
    while (nByte < iFilesize){
    String sErrPs = new String();
    try{
    sErrPs = "00";
    byte bt = dis.readByte();
    sErrPs = "01";
    dos.writeByte(bt);
    } catch (EOFException ee)
    System.err.println("internal EOFException: " + ee.getMessage());
    System.out.println("Error Filesize is " nByte " of " iFilesize "---" + sErrPs);
    break;
    nByte++;
    iFilesizeDone ++;
    iCnt ++;
    if(iCnt >= 10240) {
    ShowProgress(nByte, iFilesize, iFilesizeDone, iFilesizeTotal); // repaint does not work during init-procedure
    iCnt = 0;
    line = "Progress: Total: " + ((iFilesizeDone*100)/iFilesizeTotal) + " perc, " + iFilesizeTotal/1024 +" kbytes" ;
    labLine.setText(line);
    //dos.flush(); // improves Client performance (Agent-Call!)
    dis.close();
    dos.close();
    }// End try
    catch (EOFException ee)
    System.err.println("EOFException: " + ee.getMessage()e);
    catch (SecurityException se)
    System.err.println("SecurityException: " + se.getMessage());
    catch (IOException ioe)
    System.err.println("IOException: " + ioe.getMessage());

    perhaps they've changed something with the file blocking.
    btw, you should try to use something like this
    DataInputStream dis = new DataInputStream(is);
    byte[] buffer=new byte[8192];
    int numBytesRead;
    while ( dis.available()>0 ) {
         numBytesRead = dis.read(buffer);
    }               

  • Signing applets for a period

    hi all..
    I have an applet in my web site and it needs to access some system resources.
    I have signed it and it's working properly. But by default, is it valid for six months only? how can I sign an applet with a certificate which will be valid for ever or till a specified time period?
    I used jarsigner tool. is there any parameter that I can specify with this for a specifying time period
    plz help me
    thanx and regards
    sand...

    sanpops wrote:
    hi all..
    I have an applet in my web site and it needs to access some system resources.
    I have signed it and it's working properly. But by default, is it valid for six months only? how can I sign an applet with a certificate which will be valid for ever or till a specified time period?
    I used jarsigner tool. is there any parameter that I can specify with this for a specifying time period
    plz help me
    thanx and regards
    sand...The fact that the certificate expired means it cannot be used for signing anymore. The applet will still run,
    if the user reads carefully the message and allows it to run. If you click more info in the security dialog,
    you will see that it says "the applet was signed with a valid certificate". I have to admit that I am not
    comfortable with this answer and I blame Sun for a wrong (or paranoid) implementation of this security
    dialog. Contrast it with the Microsoft dialog for ActiveX controls, which is correct, IMHO. There should be
    nothing scarry if the signatured used a valid certificate and it was done 10 years ago. The certificate
    confirms the identity of the applet creator and the fact that the applet was not tempered with since creation.
    If the creator was honorable in 1997 and now he is in jail it does not matter at all, since I am running an
    applet created when he was a good citizen.
    Another problem with this dialog is that I sell a product that contains signed applets. My one year Verisign certificate expires and the clients start asking questions that I can answer only in one of two ways:
    - Blame Sun as above
    - Redo an otherwise unnecessary build and send it to them, which does not make them very happy either,
    as nobody like to upgrade something that works just fine.

  • 6 Step Signed Applet for IE

    last week I have the problem for Signed Applet,
    and I hope this will Help You.
    but, I am sorry
    for Netscape, it's not done yet.
    So, here are the Step for IE
    1. Create you java code (takepic.java)
         in your code write the securiy permission
         if(Class.forName("com.ms.security.PolicyEngine") != null)
    mlabel.setText("Done IE");
    PolicyEngine.assertPermission(PermissionID.UI);
         write your permission you want at the PermissionID target
    2. Create Cab File
         cabarc -p -r -s 6144 N takepic.cab takepic.class
    3. Create certificate
         makecert -sk private -n "cn=I Gusti Putu Anom" anom.cer
    4.create spc from certificate
         cert2spc anom.cer anom.spc
    5. create ini file contains permission you want (example perms.ini)
         [com.ms.security.permissions.PrintingPermission]
         [com.ms.security.permissions.PropertyPermission]
         Unrestricted=false
         IncludedProperties=java.vendor
         [com.ms.security.permissions.ThreadPermission]
         AllThreadGroups=true
         AllThreads=true
         [com.ms.security.permissions.UIPermission]
         ClipboardAccess=true
         TopLevelWindows=true
         NoWarningBanners=true
         FileDialogs=true
         EventQueueAccess=true
    6. signcode -j javasign.dll -jp perms.ini -spc anom.spc -k private takepic.cab
    for Netscape, you must use PrivilegeManager and you must create a jar file
         if(Class.forName("netscape.security.PrivilegeManager") != null)
    PrivilegeManager.enablePrivilege("SuperUser");
    you can find package for netscape at C:\Program Files\Netscape\Communicator\Program\java\classes\java40.jar
    for IE, you can find it at C:\WINNT\java\Packages\GI53BPN9.zip
    you can find the article at :
    http://www.ddj.com/articles/1999/9902/9902h/9902h.htm
    regards,
    I Gusti Putu Anom A
    Software Engineer
    Balicamp
    Bali - Indonesia

    I used the file from C:\WINNT\java\Packages\ folder.
    I used GI53BPN9.zip (My OS is Windows 2000)
    there are 8 files on this folders
    Windows 2000 and Windows NT has diferrent name for the package file.
    I think you should use all the zip file from "C:\WINNT\java\Packages\", Because I'm not sure which file contain com.ms.security on your computer.

  • Signed applet for file download?

    Hello folks,
    I have a signed applet through which i can upload multiple files to a servlet. I wish to create another applet or enhance this one to enable it to download multiple files from the server to the client m/c. Any idea, how to go about it?
    I will appreciate your helpful replies.
    Thank you,
    Coreli

    which part? You apparently already know how to sign an applet... and use a file chooser... and create servlets that can take files.... seems you need to do the opposite and use input streams where you used output streams before and vice versa...

  • AccessControlException - in signed applet

    hi all,
    I am using signed applet, i given all permission and all socket permission , still i am getting following error.
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.0.222:6060 connect,resolve)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkConnect(Unknown Source)
         at java.net.DatagramSocket.send(Unknown Source)
         at gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMessageChannel.java:727)
         at gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMessageChannel.java:572)
         at gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(SIPClientTransaction.java:355)
         at gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:759)
         at gov.nist.applet.phone.ua.MessengerManager.deRegister(MessengerManager.java:565)
         at gov.nist.applet.phone.ua.MessengerManager.unRegisterAndReRegister(MessengerManager.java:523)
         at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.jMenuItemRegisterActionPerformed(NISTMessengerApplet.java:517)
         at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.access$7(NISTMessengerApplet.java:503)
         at gov.nist.applet.phone.ua.gui.NISTMessengerApplet$5.actionPerformed(NISTMessengerApplet.java:424)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.0)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkExit(Unknown Source)
         at java.lang.Runtime.exit(Unknown Source)
         at java.lang.System.exit(Unknown Source)
         at gov.nist.core.InternalErrorHandler.handleException(InternalErrorHandler.java:27)
         at gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMessageChannel.java:733)
         at gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMessageChannel.java:572)
         at gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(SIPClientTransaction.java:355)
         at gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:759)
         at gov.nist.applet.phone.ua.MessengerManager.deRegister(MessengerManager.java:565)
         at gov.nist.applet.phone.ua.MessengerManager.unRegisterAndReRegister(MessengerManager.java:523)
         at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.jMenuItemRegisterActionPerformed(NISTMessengerApplet.java:517)
         at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.access$7(NISTMessengerApplet.java:503)
         at gov.nist.applet.phone.ua.gui.NISTMessengerApplet$5.actionPerformed(NISTMessengerApplet.java:424)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    Do you trust java exception handling mechanism ??? If so, check all yours given permission one more time, try to find work examples how to do it.
    Try to find the solution here: http://java.sun.com/developer/technicalArticles/Security/applets/index.html

  • Is reading local file possible?

    Hi,
    My intention is to use Flash 8 Pro as a tool allowing to
    upload large files
    into the server (something like FTP client). Unfortunately a
    lot of servers
    have tight restrictions for transmition time (sometimes
    limited to 30s).
    Work around to this could be a Flash. I couldn't find any
    information in
    Flash documentation about reading binary files selected by
    user by
    HTML-like file field. I would like to read selected file,
    split it into
    severeal smaller parts and then upload every part separately
    into the
    server. Is it possible?
    Regards,
    Marek

    > Czesc Marek
    Hi! It seems you speak my native language :-)))
    > Flash itself has no FTP capabilities. The only thing you
    can do is use
    > middle ware
    > like php or asp and server side to upload stuff to
    server and use flash to
    > prompt
    > the Browse for File dialog, and than upload your files.
    Flash itself has
    > no way of
    > doing it at all unless with middle ware.
    Yes, I know that. That is the reason why I have written
    'somethig like FTP'.
    Ok, once again... I can create PHP script to receive POST
    uploads. This is
    no problem to me. The problem is that iddle time for scripts
    on this
    particular server is set to 30 seconds only. It means that I
    can't upload
    files for which transfer time will be longer then 30s. To
    work around this
    issue it is necessary SPLIT uploaded file into the chunks
    then transfer it
    to the server and join using e.g. PHP script. I need a tool
    embeded on web
    page which allows me to select large file (large sometimes
    means 1MB) and
    send into the server jumping over server time limitations.
    Flash contains
    build-in FileReference class but there is no described in the
    documentation
    how to send selected file as e.g. 4 separate parts of it.
    > There is an upload samples which comes with
    > flash and can be located under the SAMPLE directory on
    your C drive in the
    > Macromedia
    > folder. This is as far as it goes.
    It is also described in Flash help under FileReference class
    description.

  • Reading local file in VC

    Hi All,
    Is it possible to open a local file with some path like C:\temp\...... in VC?
    Regards,
    Murtuza

    Hi Govinda,
    Do you know the format how to write the path of the file in the field 'file name' of the HTML view?
    Is there a possibility that the user is prompted to enter the file path on runtime?
    Best regards
    Salvador Gimeno

Maybe you are looking for

  • Access Denied when trying to access shared folders on the server with administrative privileges

    I have problem accessing shared folder on the server machine from Windows 7 machine even if I try to access it with administrative privileges (server Administrator account). I will try now to explain better my situation. In my company, we have small

  • Save As jpg / .iff?

    Im using PS CS6.  When trying to save a photo "Save As" a "jpg", the save as dialog box with the file name is automatically using the extension ".iff".  Im unable to save as a jpg file. Why is this happening and how can it be corrected?

  • OS X Lion and NSS 326

    I've got a Cisco NSS 326 NAS and have recently run into a problem with OS X Lion Developer Preview and authentication to the NAS. When connecting to the NAS over AFP as guest I can access the NAS just fine. However, when I try and authenticate I get

  • Image browsing very slow - iPhoto library on a shared disk image

    Hello, I'm experiencing serious slowness when browsing images with iPhoto. I get the spinning beach ball for several seconds every time go to next image. According to the activity monitor my CPU load is close to 100% when this happens. The problems 

  • XLR and Office 2007

    Hi all. we have a cilent that earlier this year installed MS Office 2007 on terminal server. They had, at that time, an installation of SAP B1 2005A, and XLR did not support Office 2007 at the given patch level. This caused XLR to not function at all