How to host a downloadable file

i have googled this, didn't find much. in iweb 08 if i hyperlink to a file on my local machine when i decide to publish does it embed or include it in the domain file someway, or toss it on my idisk someplace or do i need to throw it on the idisk in a public folder or something and link to it that way?

...does it embed or include it in the domain file someway, or toss it on my idisk someplace...
It does both. You will find the file in your Domain.sites2 file, (Show Package Contents), and you will also find that iWeb will put the file up on your iDisk in your Sitename_files Folder.
-Mark

Similar Messages

  • How to host 'audio' download files ...

    Hello,
      I'm trying to  host a  'audio'  download files @ my website ,
    what is the best way to do that ?
    Thank you
    R

    Hello,
      I'm trying to  host a  'audio'  download files @ my website ,
    what is the best way to do that ?
    Thank you
    R

  • How to assign the downloaded file path in dropdown menu dynamically?

    I have one jsp page. In that jsp page one dropdown menu is there. Dropdown menu contains "save" and "saved content". I download the file using "save" option in menu. That downloaded file path is assigned to the below of the "saved content" option. Then i clicked that downloaded file path, that file will be open.
    My problem is how to assign the downloaded file path in dropdown menu. plz help me.

    dittu wrote:
    My problem is how to assign the downloaded file path in dropdown menu. plz help me.I don't understand your problem.

  • How can I put download file back on dock?

    How can I put download file back on dock?

    Welcome to Apple Support Communities
    If you want to put a folder in the Dock, open a Finder window and drag the folder to the right part of the Dock. In this case, you want to put the Downloads folder in the Dock again, so open a Finder window and drag Downloads from the Finder sidebar to the right part of the Dock

  • How to find the downloaded file. its not in the "downloads".

    how to find the downloaded file?

    Open Finder, and type "Today" in the search area in the upper right of Finder's window.
    Then click "Today" under "Dates" in the resulting drop-down menu.

  • How to specify the download file name??

    Hi guys~~~
    I have servlet which can generate a *.pdf file,I found if I didn't setContentType="application/pdf",I can download it!!But the download file name is my servlet file name.If I want to change the download file name,How do I do????
    thanx a lot!!!Best regard!

    Thanx for ur help...But I encounter a new charllenge now...
    I use a javascript(window.open("/myservlet")) to open the download file servlet.
    Everything is okay.But when I finish downloading the file which window I opened cant close itself automatically.
    I am really not understand the header parameter of the HTML header,could someone give me something about this??
    Thanx again!!!!

  • How to display new downloaded files soon

    I have begun to use Mac instead of PC.
    I have a question.
    When I download some files with Safari from some websites, I save them on Desktop.
    But there are not the files I have downloaded on Desktop and they can be only founded through Finder (Finder > Desktop) until Mac is rebooted. It is not until reboot that I directly find the files exist on Desktop.
    Does anyone know how to display downloaded files soon after getting them?

    Hi Nikaku ............
    The best thing to do to find your downloads - an not spread ALL over the desktop an a easy way to find them is to create a NEW folder on your desktop an call it something like - Downloads -
    * After you did this, open Safari an go to the preferences, now select in the section 'Location downloaded files' search for the folder you created an select it.
    Next time you download something you will find it in that folder 'Downloads'
    Good luck ...
    Dimaxum

  • How to Upload and Download Files

    Dear Friends
    I want to write code for Upload and Download file ( Group of Files). Please Guide me the right way I have a few java files and i have compiled that but i donot know how to run that file and i am stranger to java also.
    Please send me reply and sugessest me.
    my email id is [email protected]
    Amogh

    I have write a upload code, but the code can deal with txt onle, it can not deal with bmp or doc, what the matter?
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Upload extends HttpServlet {
         String rootPath;
         static final int MAX_SIZE = 102400;
         public void init(ServletConfig config) throws ServletException
              super.init(config);
         public void doGet(HttpServletRequest request,HttpServletResponse response)
         throws ServletException,IOException
              response.setContentType("text/html");
              PrintWriter out = new PrintWriter (response.getOutputStream());
              out.println("<html>");
              out.println("<head><title>Servlet1</title></head>");
              out.println("<body><form ENCTYPE=\'multipart/form-data\' method=post action=''><input type=file enctype=\'multipart/form-data\' name=filedata>");
              out.println("<input type=submit></form>");
              out.println("</body></html>");
              out.close();
         public void doPost(HttpServletRequest request,HttpServletResponse response)
              ServletOutputStream out=null;
              DataInputStream in=null;
              FileOutputStream fileOut=null;
              rootPath = "C:\\upload\\tmp\\";          //The directory to save the target file.
              try
                   response.setContentType("text/plain");
                   out = response.getOutputStream();
              catch (IOException e)
                   System.out.println("Error getting output stream.");
                   System.out.println("Error description: " + e);
                   return;
         try
              String contentType = request.getContentType();
              if(contentType != null && contentType.indexOf("multipart/form-data") != -1)
                   in = new DataInputStream(request.getInputStream());
                   int formDataLength = request.getContentLength();
                   byte dataBytes[] = new byte[formDataLength];
                   int bytesRead = 0;
                   int totalBytesRead = 0;
                   int sizeCheck = 0;
                   String sourceFileName = "";
                   String targetFileName = "";
                   while (totalBytesRead < formDataLength)
                        sizeCheck = totalBytesRead + in.available();
                        if (sizeCheck > MAX_SIZE)
                             out.println("Sorry, file is too large to upload.");
                             return;
                        bytesRead = in.read(dataBytes, totalBytesRead, formDataLength);
                        totalBytesRead += bytesRead;
                   String file = new String(dataBytes);
                   dataBytes = null;
                   int lastIndex = contentType.lastIndexOf("=");
                   String boundary = contentType.substring(lastIndex+1, contentType.length());
                   //File Content
                   //out.println("File content: " + file);
                   if (file.indexOf("name=") > 0)
                        int fileNameStart = 0;
                        int fileNameEnd = 0;
                        fileNameStart = file.indexOf("filename=\"");
                        fileNameEnd = file.indexOf("Content-Type:");
                        sourceFileName = file.substring(fileNameStart + 10, fileNameEnd - 3);
                        //Source File
                        out.println("Source file: " + sourceFileName);
                   String successPage="";
                   if (file.indexOf("name=\"SuccessPage\"") > 0)
                        successPage = file.substring(file.indexOf("name=\"SuccessPage\""));
                        successPage = successPage.substring(successPage.indexOf("\n")+1);
                        successPage = successPage.substring(successPage.indexOf("\n")+1);
                        successPage = successPage.substring(0,successPage.indexOf("\n")-1);}
                        String overWrite;
                        if (file.indexOf("name=\"OverWrite\"") > 0)
                             overWrite = file.substring(file.indexOf("name=\"OverWrite\""));
                             overWrite = overWrite.substring(
                             overWrite.indexOf("\n")+1);
                             overWrite = overWrite.substring(overWrite.indexOf("\n")+1);
                             overWrite = overWrite.substring(0,overWrite.indexOf("\n")-1);
                        else
                             overWrite = "false";
                        String overWritePage="";
                        if (file.indexOf("name=\"OverWritePage\"") > 0)
                             overWritePage = file.substring(file.indexOf("name=\"OverWritePage\""));
                             overWritePage = overWritePage.substring(overWritePage.indexOf("\n")+1);
                             overWritePage = overWritePage.substring(overWritePage.indexOf("\n")+1);
                             overWritePage = overWritePage.substring(0,overWritePage.indexOf("\n")-1);
                        targetFileName = sourceFileName.substring(sourceFileName.lastIndexOf("\\") + 1);
                        targetFileName = rootPath + targetFileName;
                        //Target File:
                        out.println("Target file: " + targetFileName);
                        int pos; //position in upload file
                        pos = file.indexOf("filename=");
                        pos = file.indexOf("\n",pos)+1;
                        pos = file.indexOf("\n",pos)+1;
                        pos = file.indexOf("\n",pos)+1;
                        int boundaryLocation = file.indexOf(boundary,pos)-4;
                        file = file.substring(pos,boundaryLocation);
                        File checkFile = new File(targetFileName);
                        if (checkFile.exists())
                             if (!overWrite.toLowerCase().equals("true"))
                                  if (overWritePage.equals(""))
                                       out.println("Sorry, file already exists.");
                                  else
                                       //redirect client to OverWrite HTML page
                                       response.sendRedirect(overWritePage);
                                  return;
                        File fileDir = new File(rootPath);
                        if (!fileDir.exists())
                             fileDir.mkdirs();
                        fileOut = new FileOutputStream(targetFileName);
                        fileOut.write(file.getBytes(),0,file.length());
                        if (successPage.equals(""))
                             out.println("File written to: " + targetFileName);
                        else
                             response.sendRedirect(successPage);
                        else //request is not multipart/form-data
                             out.println("Request not multipart/form-data.");
                   catch(Exception e)
                        try
                             System.out.println("Error in doPost: " + e);
                             out.println("An unexpected error has occurred.");
                             out.println("Error description: " + e);
                        catch (Exception f) {}
                   finally
                   try
                        fileOut.close(); //close file output stream
                   catch (Exception f) {}
                   try
                        in.close(); //close input stream from client
                   catch (Exception f) {}
                   try
                        out.close(); //close output stream to client
                   catch (Exception f) {}
    }

  • How to remove a downloaded file using Vuze!!

    Hello,
    I recently purchased the latest MBA 13" just 2 days back, coming from a windows background, this is my first MBA experience.
    I downloaded and installed VUZE bit torrent for Mac and downloaded a movie but am not getting where the movie is stored,  I got into the vuze application and saw the default folder where it stores the downloads: /Users/arun/Library/Application Support/Vuze/Documents/Downloads/File.mp4.
    I have tried to delete the file but am unable to do so, can someone please help on how to navigate to folders and sub folders in MAC, on any windows PC the above mentioned path could be seen, but am unable to spot the "library" folder under "arun" but the above mentioned path does mention about that.
    Please let me know if anyone needs more details than I have provided.Looking for a quick resolution.
    Thanks,
    Arun

    Go to spotlight at top, the magnifying glass icon in the menu,  type in File.mp4   your file you downloaded.

  • How to extract the downloaded files for AS 10.1.2.0.2 Solaris?

    Hi,
    When I try to extract the downloaded files from OTN, the following error occurs?
    # cpio -idcmv < as_sun_sparc_101202_disk1.cpio
    cpio: Can't read input: end of file encountered prior to expected end of archi.
    Regards,
    Kitae

    It brings the same error message.
    Are these files fine?Probably your files are broken because of interrupted or incomplete download.

  • How to view and download files on the icloud drive

    I have a class I'm taking and have to download files but there are too many to put on my ipad so I bought extra space on icloud to download them, now I need to access those files.

    Go t icloud.com then log in with your apple id then click icloud drive then clikc your file then clikc the downlaod icon as in my image

  • How to resume stoped downloading file?

    I am trying to download an youtube video of large size. due to some reasons suddenly i shutdown my pc. After restart pc i am trying to resume that download file. but there is no resume option there. so please put resume option in downloads (ctrl+j).
    kindly do the needful.
    Thanking You.

    Try these steps:
    # Move the old .part partial download and the final file without the .part that has size 0 to another location.
    # Start a new download and pause it, don't close Firefox.
    # Copy the two files (.part and 0 byte final) that you moved above back to the download location to replace the new files that were created.
    # Resume the download in Firefox.
    If that doesn't work then the server may not support resuming.

  • How do I transfer downloaded files from the iTunes account on PC to Mac?

    My previous PC runs Windows Vista, on which I downloaded some songs from CDs into iTunes. I just bought a Macbook Pro and want to transfer those audio files. How do I do that?
    As a side note, I have already figured out how to transfer the songs that I already purchased from iTunes (by syncing my iPod into the MacBook).
    Thank you in advance for anybody who can help!

    *I have already figured out how to transfer the songs that I already purchased from iTunes (by syncing my iPod into the MacBook).*
    If the rest of the songs are still on the iPod you can transfer those to the MacBook as well. For everything else (music from CDs, other downloads etc.) there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. I use Senuti but have a look at the web pages and documentation for the others too. You can read reviews and comparisons of some of them here (you'll find that they have varying degrees of functionality and some will transfer movies, videos, photos and games as well):
    Wired News - Rescue Your Stranded Tunes
    Comparison of iPod managers
    A selection of iPod to iTunes utilities:
    Senuti Mac Only (iPod Touch & iPhone compatible)
    expod Mac Only (iPod Touch & iPhone compatible)
    PodView Mac Only
    PodWorks Mac Only
    TuneAid Mac only (iPhone and iPod Touch compatible)
    YamiPod Mac & Windows
    iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
    iPodRip Mac & Windows (iPhone and iPod Touch compatible)
    iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
    iGadget Mac & Windows (iPhone and iPod Touch compatible)
    Floola Mac & Windows
    Music Rescue Mac & Windows (iPhone and iPod Touch compatible)
    iRepo Mac & Windows (iPhone and iPod Touch compatible)
    iPod Access Mac & Windows (iPhone and iPod Touch compatible)
    TouchCopy Mac & Windows (iPhone and iPod Touch compatible)
    There's also a manual method of copying songs from your iPod to a Mac or PC. The procedure is a bit involved and won't recover playlists but if you're interested it's available on page 2 at this link: Copying Content from your iPod to your Computer - The Definitive Guide
    If the other songs aren't on the iPod you can transfer from one computer to the other. These pages may be of some help:
    How to move an iTunes library from a PC to Mac (and back)
    How to move your iTunes library from Windows to Mac
    Networking with a Windows PC
    Don't forget by the way to deauthorise your old PC if you are disposing of it so you don't use up your 5 allowances: About iTunes Music Store Authorisation and Deauthorisation

  • How do you stop downloading file from hyperlinks

    Sometimes I click a hyperlink and a file starts to download.  Is there a way to have a confirmation screen ask if I would like to download this file.
    I hate that is just does it. It would stop a a lot of garbage in my download folder too.

    Thomas A Reed wrote:
    which might lead to much worse future exploitation where installation would proceed without requiring any password or user action.
    No, that's not currently possible.  A .mpkg installer package can be opened automatically, because it is just a document opened by Apple's installer.  As such, it cannot run any third-party code without user intervention.  It's possible an installer might not require a password (though then it wouldn't be able to install in Applications), but would still require the user to follow through.
    Didn't mean to restrict what I was saying only to an .mpkg installer package (the current avenue of attack this current Trojan is using.) Just meant that it seems to me that where a download of any kind automatically follows from clicking a link, this might be an exploitable first level of weakness for someone who finds a way to write code that bypasses quarantine, admin authentication and elevates to root. Of course, would hope that would be very difficult. But Apple seems constantly to be patching against this kind of possibility, so it doesn't seem completely out of the question. I don't know enough to know how completely out of the question it is.
    And, those still using Safari with Tiger, unsupported going on two years, would seem especially vulnerable.
    At least, Firefox alerts you to a download and gives you the option to cancel.
    Message was edited by: WZZZ

  • How to upload and download files using FTP to a server(webserver) in JSP

    I have to upload and download multiple files Of(size >5 MB)using FTP to a
    Server(webserver) in JSP
    how to do that ?

    Or he could create his own tag libraries, no? :)One supposes that, technically, one could create a taglib wrapper around an existing FTP library. There might be licensing issues with distributing that taglib wrapper.
    Of course, one could find the FTP RFC online, read it, and implement one's own FTP client implementation, complete with a tag library access point.

Maybe you are looking for

  • Mac Pro RAID

    I'm thinking of purchasing a Mac Pro RAID card, install 4 x 3TB disks in my Mac Pro and use it as a file server. I want to configure these 4 as a RAID 5. Is this possible to do? Can this be done in the setup process of OS X server?

  • What is Exact logic to get BOM ITEM

    Hi all, BOm Item retrival logic is giving item ,But checked in CS03 there is no BOM ITEM present for that material and plant combination. Tried with FM 'CSAP_MAT_BOM_ITEM_SELECT 'and BAPI ' CSAP_MAT_BOM_READ'  to get Material BOM ITEM...Its working p

  • Stop motion on premiere pro

    Hello, i am trying to make a stop motion film using adobe premiere pro cc, and possibly premiere elements 12 if necessary. I would like to know how i can createa live feed of images from camera to software. I would also like to be able to use the oni

  • Should I cancel my MBP order placed on the 11th Jan?

    I need some opinions. I ordered my MBP through an authorised reseller on 11th Jan because Apple stopped shipping to the Channel Islands in the UK late last year. When the MBPs were upgraded by Apple all orders were cancelled and the resellers were fo

  • Udf in dml statements

    can we select udf which contains dml statements?