Why doesnt my swf file play on the server?

why doesnt my swf file play on the server? but it plays on my computer.
what do i need to do to make it work?

It easier to see why the file might not be playing on the server if you provide a link to the file on the server.  That allows for checking if files are where they should be.
In your case you may want to do some repairs on the html file that you linked.  It appears as though the tags are out of whack and possibly the embedding is as well.  What you should do is let Flash generate the html page when you publish the swf.  You are normally going to get the best results letting Flash create the embedding code.

Similar Messages

  • Why won't swf file play embedded videos?

    I created a swf file in inDesign.  I embedded 3 videos within the document, all of which are embedded (stored on my host's server).  I created the videos in Premiere Pro, saving them as H.264 (mp4), with sound codec AAC.  I placed each video on its appropriate page in inDesign using the media dialogue box, choosing a poster image and a set of controls that become visible when hovered over.  The swf file I placed onto a webpage in Adobe Muse, then uploaded that page to its host.  When the website comes up, and I click on the page that holds the swf file, it looks good ... I have page-turning applied, and that works fine.  But, when I go to click on a video, the frame just disappears.
    Here's the caveat:  After saving the swf file, I opted for it to open in my browser window.  When inspecting the file in the browser, the videos work fine.
    I have opened the webpage in Chrome, Firefox & IE, but the videos won't play.
    Here's a link to the webpage:
    www.fridayharborpowersquadron.com/newsletter.html
    Please help, if you can.  I would hate to have to start over by rebuilding every single page in inDesign file inside of Muse (since Muse can't take a PDF file.  I thought about saving each ID page as a jpg, then building a fullscreen slideshow in Muse, then placiing each page inside of the slideshow presentation .. then writing html code into those jpg pages in order to link my videos from vimeo or youtube ... but I dont' want to go that route.  I've put in way too many hours as it is.
    Sure hope someone can help ...
    Phil in Friday Harbor

    Also, where you live is a consideration. I live in East Africa, and due to the servers in the surrounding areas, I had to subscribe to a VPN as well as make sure I had the right plugins.

  • SWF to play mp3 files located on the server

    Hello,
    Does anyone know if it is possible to create an SWF file that can play mp3 files directly from the server, without the need for a streaming media server or external JS.
    And also for the application to read the current directory its located in and build a playlist based on the files inside.
    any information of examples would be greatly appreciated.
    Peter.

    As for loading and playing the files there is no issue.  Simply load them as you would load any file.  You can even use a relative path if they are in the same folder as the SWF, or a sub-folder that is in the folder with the SWF.
    As for looking at the server directory for what files are there, and using them - I know of no way to do this.  That doesn't mean it is impossible, just that I haven't come across a method in my experience.
    What I typically do is to archive the list of files in an XML file, and load the XML.  I know, that adds an extra step, and an extra file, but it is the easiest method for approximating what you want to do.
    Let me edit this response.
    You could use javascript, or a server language to grab the list of files in the directory and pass it into Flash via the ExternalInterface classes.

  • Call a external SWF by press the button within another SWF file but the second SWF file play Externely

    Hello Guyz.
    i am working on Macromedia Flash 8 and i just want to call a external SWF when i press the button within another SWF file.......but the second SWF file play Externely............can any one knows the code.... AS2

    try this
    http://www.actionscript.org/forums/showthread.php3?s=&threadid=28123

  • Strange Problem - All of my preloaded .swf files play at once

    Hey guys,
      I've been getting a strange problem that I haven't been able to debug.  I recently developed an interactive audio and video treatment program that users click through in which a master swf file (DTM-Start.swf) uses ActionScript upon first being loaded to load the rest of the program in the background.  Here's how the code looks: 
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.net.URLRequest;
    import flash.events.Event;
    // create movieclip objects to hold the loaded movies
    var intr1:MovieClip;
    var maladaptIntr1:MovieClip;
    var maladaptIntr1Loader:Loader = new Loader();
    var maladaptIntr1Request:URLRequest = new URLRequest("DTM-Maladapt1.swf");
    maladaptIntr1Loader.load(maladaptIntr1Request);
    maladaptIntr1Loader.contentLoaderInfo.addEventListener(Event.COMPLETE, maladaptIntr1Loaded);
    var intr1Loader:Loader = new Loader(); 
    var intr1Request:URLRequest = new URLRequest("DTM-Intr1.swf");
    intr1Loader.load(intr1Request);
    intr1Loader.contentLoaderInfo.addEventListener(Event.COMPLETE, intr1Loaded);
    function maladaptIntr1Loaded(event:Event):void
        maladaptIntr1 = event.currentTarget.content as MovieClip;
        maladaptIntr1.stop();
        addChild(maladaptIntr1);
        maladaptIntr1.y = -1000
        trace("maladaptIntr1");
    function intr1Loaded(event:Event):void
        intr1 = event.currentTarget.content as MovieClip;
        intr1.stop();
        addChild(intr1);
        intr1.y = -1000
        trace("intr1");
    function playIntr1() {
       intr1.y = 0;
       intr1.play();
    function playMaladapt1() {
        maladaptIntr1.y = 0;
        maladaptIntr1.play();
    So that's the idea.  What's strange is that when I load a .swf file compiled with AIR 2.6 (because the user interacts with the movie and a text file is output) it's fine too, but as soon as I add any actionscript, even if it's just a stop() command, to a .swf file compiled with AIR, the DTM-Start.swf loads and then plays all of the movies simultaneously so they're all going off at once.  Essentially, flash seems to be ignoring the maladaptIntr.stop() command in the Loaded function, for instance.  I just don't understand why adding any Actionscript whatsoever to a .swf compiled with AIR would make my DTM-Start do this.  I am very confident this is the issue too, because loading .swf files compiled with the FlashPlayer with action script are fine...AIR .swf files without Actionscript are fine too, it's only AIR .swf files with ANY actionscript that cause this problem....
    Any ideas?
    Much appreciated!
    Thanks,
    Ricky

    One solution is simply to have a stop() in the constructor of the document Class of each swf you're loading. Another solution is something like:
    package {
         class MainDocument extends MovieClip {
         protected var swfs:Array = ['DTM-Maladapt1.swf', 'DTM-Intr1.swf'];
         protected var positions:Array = [{x:0, y:0}, {x:0, y:0}];
         protected var movies:Array /*of  MovieClips*/ = [];
         protected var loadIndex:int;
         protected var playIndex:int;
         protected var curremtMovie:MovieClip;
              public function MainDocument() {
                   super();
                   loadMovie(loadIndex);
              protected function loadMovie(loadIndex:int):void {
                   var loader:Loader = new Loader;
                   loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
                   loader.load(new URLRequest(swfs[loadIndex]));
              protected function onLoadComplete(e:Event):void {
                   var mc:MovieClip = LoaderInfo(e.currentTarget).content as MovieClip;
                   mc.stop();
                   var position:Object = positions[loadIndex];
                   mc.x = positions.x;
                   mc.y = positions.y;
                   addChild(mc);
                   movies[movies.length] = mc;
                   loadIndex++;
                   if (loadIndex<swfs.length) {
                        loadMovie(loadInxed);
                   } else {
                        playMovie(playIndex);
              protected function playMovie(playIndex):void{
                   if (currentMovie) {
                        currentMovie.stop();
                   currentMovie = movies[playIndex];
                   currentMovie.play();
    Note that with this approach you don't need to create a whole new set of logic each time you want to add a new swf to load.

  • Remove / unload external swf file(s) from the main flash file and load a new swf file and garbage collection from memory.

    I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
    This is the error message(s) I am receiving: "TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at index_fla::MainTimeline/Down3()"
    import nl.demonsters.debugger.MonsterDebugger;
    var d:MonsterDebugger=new MonsterDebugger(this);
    stage.scaleMode=StageScaleMode.NO_SCALE;
    stage.align=StageAlign.TOP_LEFT;
    stage.addEventListener(Event.RESIZE, resizeHandler);
    // loader is the loader for portfolio page swf
    var loader:Loader;
    var loader2:Loader;
    var loader3:Loader;
    var loader1:Loader;
    //  resize content
    function resizeHandler(event:Event):void {
        // resizes portfolio page to center
    loader.x = (stage.stageWidth - loader.width) * .5;
    loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    /*loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;*/
    addEventListener(Event.ENTER_FRAME, onEnterFrame,false, 0, true);
    function onEnterFrame(ev:Event):void {
    var requesterb:URLRequest=new URLRequest("carouselLoader.swf");
    loader = null;
    loader = new Loader();
    loader.name ="carousel1"
    //adds gallery.swf to stage at begining of movie
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requesterb);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    // stop gallery.swf from duplication over and over again on enter frame
    removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent):void {
    // re adds listener for contact.swf and about.swf
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
    var requester:URLRequest=new URLRequest("carouselLoader.swf");
        loader = null;
    loader = new Loader();
    loader.name ="carousel"
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    removeChild( getChildByName("about") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of gallery.swf
    MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    function Down1(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    var requester:URLRequest=new URLRequest("contactLoader.swf");
    loader2 = null;
    loader2 = new Loader();
    loader2.name ="contact"
    loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader2.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader2);
    loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    function Down3(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    var requester:URLRequest=new URLRequest("aboutLoader.swf");
    loader3 = null;
    loader3 = new Loader();
    loader3.name ="about"
    loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader3.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader3);
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    removeChild( getChildByName("carousel") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
    stop();

    Andrei1,
    Thank you for the helpful advice. I made the changes as you suggested but I am receiving a #1009 error message even though my site is working the way I wan it to work. I would still like to fix the errors so that my site runs and error free. This is the error I am receiving:
    "TypeError: Error #1009: Cannot access a property or method of a null object reference."
    I'm sure this is not the best method to unload loaders and I am guessing this is why I am receiving the following error message.
         loader.unload();
         loader2.unload();
         loader3.unload();
    I also tried creating a function to unload the loader but received the same error message and my portfolio swf was not showing at all.
         function killLoad():void{
         try { loader.close(); loader2.close; loader3.close;} catch (e:*) {}
         loader.unload(); loader2.unload(); loader3.unload();
    I have a question regarding suggestion you made to set Mouse Event to "null". What does this do setting the MouseEvent do exactly?  Also, since I've set the MouseEvent to null do I also have to set the loader to null? e.g.
    ---- Here is my updated code ----
    // variable for external loaders
    var loader:Loader;
    var loader1:Loader;
    var loader2:Loader;
    var loader3:Loader;
    // makes borders resize with browser size
    function resizeHandler(event:Event):void {
    // resizes portfolio page to center
         loader.x = (stage.stageWidth - loader.width) * .5;
         loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
    //adds gallery.swf to stage at begining of moviie
         Down();
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent = null):void {
    // re adds listener for contact.swf and about.swf
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
         var requester:URLRequest=new URLRequest("carouselLoader.swf");
         loader = new Loader();
         loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader.load(requester);
         } catch (error:SecurityError) {
         trace(error);
         this.addChild(loader);
         loader.x = (stage.stageWidth - 739) * .5;
         loader.y = (stage.stageHeight - 500) * .5;
    // sure this is not the best way to do this - but it is unload external swfs
         loader.unload();
         loader2.unload();
         loader3.unload();
    // remove eventlistner and prevents duplication of gallery.swf
         MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         function Down1(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         var requester:URLRequest=new URLRequest("contactLoader.swf");
         loader2 = null;
         loader2 = new Loader();
         loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);    
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader2.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader2);
         loader2.x = (stage.stageWidth - 658.65) * .5;
         loader2.y = (stage.stageHeight - 551.45) * .5;
    loader.unload();
    loader2.unload();
    loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         function Down3(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         var requester:URLRequest=new URLRequest("aboutLoader.swf");
         loader3 = null;
         loader3 = new Loader();
         loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader3.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader3);
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
         loader.unload();
         loader2.unload();
         loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
         stop();

  • While watching an iTunes movie from my Apple TV, why does my movie stop playing at the 1 hour mark?  I'm assuming I have a setting causing this to happen, but I have no idea what setting needs to be changed.  Can someone help me?

    While watching an iTunes movie from my Apple TV, why does my movie stop playing at the 1 hour mark?  I'm assuming I have a setting causing this to happen, but I have no idea what setting needs to be changed.  Can someone help me?

    It's right at an hour (consistently), but the computer goes to sleep prior to that. It's as if iTunes goes to sleep. Also, it wasn't always this way. Originally, the movies played through without interruption. At some point, I guess a setting was changed, and now I only get an hour. Also. My energy settings are set to go to sleep at 10 minutes.

  • Getting the swf file name of the module

    i have a parent application and it loads a module xyz.swf.
    however, i don't know the name of the module the parent application is loading.
    is there a way i can get the module's swf file name in the module code without knowing it beforehand?
    thanks

    Hi All,
    Iam able to do this by checking the Option ASMA in only sender adapter itself
    Regards
    Bopanna

  • Is there anything I can do in dreamweaver so my swf file always fills the whole browser screen?

    Hi
    I am deploying my flash swf in dreamweaver, however i have a
    problem my image is not fillng the whole of my browser screen
    idealy 1000 x 600 and I am getting horible white borders around my
    artwork.
    I have
    A used the properties settings in flash and sett my both my
    stages to 1000 x 600 including my preloader
    which the main swf loads into
    B used the publish settings to match my document setting in
    percent so they align in the middle of the page
    Is there anything I can do in dreamweaver so my swf file
    always fills the whole browser screen?
    thanks
    matt

    > I am deploying my flash swf in dreamweaver, however i
    have a problem my
    > image
    > is not fillng the whole of my browser screen idealy 1000
    x 600 and I am
    > getting
    > horible white borders around my artwork.
    A flash file is proportional, and a web browser viewport
    isn't necessarily
    proportional.
    So, unless you are forcing a persons web browser to a set
    size (and I'd
    STRONGLY not recommend doing that...ESPECIALLY at the size
    you want) then
    you'll need to confine your actual SWF file to a specific
    size on the page
    itself.
    > A used the properties settings in flash and sett my both
    my stages to 1000
    > x
    > 600 including my preloader
    > which the main swf loads into
    The stage in Flash is not what tells the web browser what
    size to set the
    SWF on the HTML page itself. That's done in the HTML when you
    'publish/export' your SWF file from flash using the HTML tab.
    > Is there anything I can do in dreamweaver so my swf file
    always fills the
    > whole browser screen?
    Well, you set the width and height to 100%, but that will
    distort your SWF
    file if people change the aspect ration of their browser from
    that of the
    SWF file.
    -Darrel

  • How to open a file created at the server through form/report at client end

    How to open a file created at the server through form/report at client end
    Dear Sir/Madame,
    I am creating a exception report at the server-end using utl file utility. I want to display this report at the client end. A user doesn't have any access to server. Will u please write me the solution and oblige me.
    Thanks
    Rajesh Jain

    One way of doing this is to write a PL/SQL procedure that uses UTL_FILE to read the file and DBMS_OUTPUT to display the contents to the users.
    Cheers, APC

  • Error while accessing a file located in the server from JSP

              Hi
              I am having problem while accessing the file located in the server from a JSP
              page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              The same code is working if the jsp placd under defaultwebApp directory and not
              working if i create a war and deploy the same.
              I am using weblogic server 7.0 trail version.I am setting the context path also.
              Can any help me in this regard.
              Thank And Regards
              Anand Mohan
              

              Hi
              Thank you.Is there a way to read a file which is existing in the war file.
              Regards
              Anand Mohan
              "Wenjin Zhang" <[email protected]> wrote:
              >
              >In Weblogic, if your files are archived in a WAR, you cannot get an entry
              >as individual
              >file since it is only bytes in a large archive file. So getRealPath will
              >give
              >you null result. If you only want the path, try to use other getXXXPath,
              >getURL,
              >or getURI method. If you want to read the content, use getResource.
              >
              >
              >"Anand" <[email protected]> wrote:
              >>
              >>Hi
              >>I am having problem while accessing the file located in the server from
              >>a JSP
              >>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              >>
              >>The same code is working if the jsp placd under defaultwebApp directory
              >>and not
              >>working if i create a war and deploy the same.
              >>
              >>I am using weblogic server 7.0 trail version.I am setting the context
              >>path also.
              >>
              >>Can any help me in this regard.
              >>
              >>Thank And Regards
              >>
              >>Anand Mohan
              >
              

  • Tcode for checking that file is on the server

    what is the tcode for checking that file is on the server.
    thanks...

    Hi
    AL11.
    CG3Y/CG3Z.
    Regards,
    Sree

  • File download from the server

    I have this page(in a distributive application) that checks the status of files on the server. These are hyperlinked and I am trying to allow the users to download the files. I can see the files, and the links but can't download a file or "save target as.." option.
    I have added an .xml file in the configuration directory of my application server(JBoss). I can download the files on the same computer, but if I can't do that from other computer. I got this .xml file from online search, someone suggested to use this in order to allow for download option.
    <?xml version='1.0' encoding='utf-8'?>
    <Context debug="99" docBase="/home/jboss-4.0.5.GA/bin/Fastran" path="/Fastran" reloadable="true">
    </Context>Can I get some help in this regard ? The files are created in the application server folder, should I change the destination for resultant files outside of the server folder ?
    Thanks.

    <%
            String userFolder = applicationId.getUserEmail() + applicationId.getSessionId() ;
            for (int i = 0 ; i < Integer.parseInt(applicationId.getSpecValue()) ; i ++)
                int j = i + 1 ;
                File spec = new File("C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + userFolder + "\\ftn07_" + (i+1)) ;
                if (spec.exists() == true)
                    //out.println("") ;
                %>
                <a href = "<%= destFile %><%= j %>"><% out.println("ftn07_" + j); %></a><br>
                <%
                else
                    out.println("File not found") ;
        %>
    and here is how i get to the destFile:
    <%
         String destFile = "C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + applicationId.getUserEmail() + applicationId.getSessionId() + "\\ftn07_" ;
            String destSum = "C:\\jboss-4.0.5.GA\\bin\\Fastran\\" + applicationId.getUserEmail() + applicationId.getSessionId() + "\\DamageSummary.txt" ;
        %>

  • Wiki file attachments - can the wiki be configured to link to a file already on the server rather than uploading it into the page?

    Can the wiki be configured to link to a file already on the server rather than uploading it into the page? This would enable users to open (and edit) the original server hosted document rather than downloading a static copy that can't be edited and synced back into the wiki page.
    As a workaround I've tried attaching an alias to a file but it doesn't work - the wiki instead uploads the aliased file.
    From what I can work out, the default wiki behaviour is to upload a document to a wiki page, which creates a copy of the uploaded document in the wiki database. This copy has no connection to the original document. It can be downloaded and edited, but the edits are not saved back into the wiki hosted version of the document.
    I'd like to be able to upload a link or alias to a document (with preview please!) already on the server. A user could then preview the document or click to open and edit it.
    The only way I can do this at the moment is to create a link "afp://123.../doc.rtf" to the original. This is timeconsuming and confusing for non-technical users and doesn't offer the benefits of the attach function (ie document preview).
    Is there any way the wiki can be configured to link to documents already on the server using the attach functionality?

    An update for anyone in a similar situation.
    Patch 3944727 for 9.0.4.1 that solves this issue: "USER LOV IASM11SHIP EDIT USER LOV SHOULD SHOW THE NICKNAME ATTRIBUTE." However, the patch is mutually exclusive with the latest CPU's and there's no plan to merge the pacthes given the dwindling support for 9.0.4.1. So that patch is pretty much worthless.
    I've been told that this patch is included in newer portal versions, so the real solution is an upgrade.
    Trenton

  • PLSQL sample for searching a file name in the server

    Hello All,
    what plsql package i need to use or any plsql sample code available for searching a file name in the server.
    For example If I provide any text "XX%", the plsql code should provide me the list of file names in a specific folder in server.
    If any one worked on this kind of requirement, please provide me the sample code.
    Thanks & Regards
    Aboothahir

    Hello,
    https://sourceforge.net/projects/oracle-jutils/
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584#1565062600346635117
    {message:id=4070746}
    Regards
    Marcus

Maybe you are looking for