How do I prompt a user to download a file

I have reference to something that is similar to a txt file
extension. Instead of IE displaying the file I would like the user
to be prompted with the Save As dialog box or even better have word
open the document on their computer, any of you clever sparks have
a solution for this? I am using Dreamweaver 8.0

If you zip the file and then link to the zipped file you will
reliably get a
download prompt. Failing that, you would have to manipulate
the headers for
the file (using server scripting).
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Tumatawhero" <[email protected]> wrote in
message
news:gi7aqe$o2d$[email protected]..
>I have reference to something that is similar to a txt
file extension.
>Instead
> of IE displaying the file I would like the user to be
prompted with the
> Save As
> dialog box or even better have word open the document on
their computer,
> any of
> you clever sparks have a solution for this? I am using
Dreamweaver 8.0
>

Similar Messages

  • WRV54V how to filter or stop users from downloading videos

    I don't know how to configure this router to stop users from downloading video like from Google, Torren. I've heard people is using DD-WRT firmware for some linksys routers, but not with this model. I don't want to stop my users from browsing internet, read news, social networking but they watch online video and download stuffs like 10Gbs a day. It doesn't work for me. Thanks

    You can block the video files by managing the firewall on the computer in such way that the video extension files would be blocked....

  • How do I stop firefox from pre-downloading a file during a file download prompt?

    I use DownThemAll as my download manager for files generally over 10MB, as my internet connection is generally too slow for firefox to download a file larger then this without firefox "finishing" a download before it's complete, corrupting the file. This never happens with DownThemAll.
    For some sites, either there is no download link to right click or it starts automatically, launching the download prompt. Firefox's internal download manager automatically starts downloading the file (not visibly, but in the background) before I can choose to use DownThemAll from the prompt instead.
    This wastes bandwidth. Even worse, some hosting sites have randomly generated download gates for each session that expire after disconnection or limit you to a single download in a given time frame. This means that I effectively can't use DownThemAll on certain websites because firefox's own download manager steps in and gets in the way.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I prompt a user to enter numeric data while a vi is running?

    I am writing a Labview vi that to calibrate angle sensors. I need to prompt the user to enter numeric or string data for the low and high angle points so the vi can then calculate the span based on these values and the a/d output differences at these two points. I can't use preset points because the angle data is resolute to 0.1 degrees, and having the user raise or lower a boom to a predefined point is not within reasonable expectation. I would be much obliged for any help that is offered.

    Build a subVI that has two numeric controls for the user to input the data (name them something appropriate like "High Angle" and "Low Angle").
    Add and "Enter" button to the front panel.
    Set the subVI preferences to include Open Front Panel When Called and Close Afterwards if Originally Closed. these are in Windows Appearance, Customize.
    Put a delay (say 50 ms) and a while loop on the block diagram to wait until someone presses the button.
    Connect your front panel controls to outputs on the connector pane.
    This will pop up a dialog type of window when you need the user to input data. And make the dialog window disappear when done. You can also add valid data checking to the subVI and whatever else you need.
    Rob

  • How can I create a link to download a file in Captivate?

    So, in my Captivate file, I want people to be able to download an XML file to their machine.  If I create a hyperlink to "open a file", then when a user clicks on it, captivate attempts to open the xml file in a browser window instead of downloading it.  I can't figure out how to use the download attribute for an href in captivate and I'm not sure if javascript to do this would execute properfly.  Anybody know the best way to accomplish a force download of a file from a captivate presentation (Captivate 6)?
    TIA.

    If you want to really do this so that it is consistent for all browsers, you'll need to implement this at the server level.  I did this with the Dynamic PDF Export Widget.  Typically, a PDF will be displayed in the browser, but I added the ability to download it instead.  It does require a PHP file (or some other server side script).  In the PHP file, you'll want to set the response header for Content-Disposition to "attachment"... that's the key.
    The elbow grease part has to do with managing how the browser handles the link.  You'll want the Captivate hyperlink to open a new window so that the student does not navigate away from your course in the current window.  But since you are opening a PHP file, you can inject javascript into the document of the new window/tab to close itself.  The download will still continue eventhough the window/tab was programmatically closed.  However, most modern browsers will automatically close the window/tab for you when downloading a file.  If you want to see an example of a PHP file that implements this, go ahead and download the trial version of the Dynamic PDF Export widget.  You'll see the create.php file in the zip package.
    http://captivatedev.com/2012/07/25/adobe-captivate-6-x-widget-dynamic-pdf-export/
    If you want to go simple as TLC Media Design suggested, just zip it and let your students unzip the xml file, or just rename the xml file with a .zip extension and tell them to rename the file back to .xml after downloading.

  • DATA TRANSFER - How to get a SINGLE SPACE in downloaded txt file from UNIX?

    Hi Experts,
    Am sending data from SAP to UNIX/ Application server and text file on desk top as well.
    So, I am keeping a single character just SPACE at the END of each record.
    Then, When I see the downloaded text file, I found a SINGLE SPACE at the end of each record, fine.
    Then, by using CG3Y t code, I downloaded the UNIX file to my desk top.
    But, When I see this UNIX downloaded file from UNIX, I did NOT find any SPACE at the end of each record!!!
    Am doing every thing same in both cases.
    So,
    1 - Why its happening in case of UNIX file?
    2 - How to get a SINGLE SPACE  at the END in the downloaded file from UNIX?
    thanq

    Its there, I am talking abut this -
    OPEN DATASET - linefeed
    Syntax
    ... WITH { NATIVE
             | SMART
             | UNIX
             | WINDOWS } LINEFEED ... .
    Alternatives:
    1. ... WITH NATIVE LINEFEED
    2. ... WITH SMART LINEFEED
    3. ... WITH UNIX LINEFEED
    4. ... WITH WINDOWS LINEFEED
    Effect
    : These additions determine which line end marker is used for text files or legacy text files. If these additions are used, the profile parameter abap/NTfmode is ignored. Simultaneous specification of the values "UNIX" or "NT" in the addition TYPE is not permitted.
    If these additions are not used, the line end marker is determined as follows, depending on the operating system of the current application server:
    The line end marker for Unix is "LF". Under Unix, OS390 and OS400, only "LF" is used for reading and writing.
    The line end marker for MS Windows is "CRLF". Under MS Windows, however, the values of the profile parameter abap/NTfmode can also be used to set whether new files are handled according to Unix conventions or Windows conventions. If the profile parameter has the value "b", the Unix line end marker "LF" is used. If the profile parameter has the value "t" or is initial, the Windows line end marker "CRLF" is used. The setting using the profile parameter can be overridden with the addition TYPE and the value "UNIX" or "NT". If an existing file is opened without the addition TYPE, this is searched for the first line end marker ("LF" or "CRLF"), and this is used for the whole file. If no line end marker is found, the profile parameter is used. This applies particularly if an existing file is completely overwritten with FOR OUTPUT.
    If an addition WITH NATIVE|SMART|UNIX|WINDOWS LINEFEED is used, this setting can be changed for the open file using the statement SET DATASET. If neither of the additions is used, the line end marker also cannot be changed using SET DATASET.
    Notes
    : Without the use of an addition WITH LINEFEED, the line end marker is dependent on diverse implicit factors such as the operating system of the application server, a profile parameter, and line end markings that are already used. For this reason, the explicit use of WITH LINEFEED is recommended, which renders the use of the addition TYPE for setting the line end marker obsolete.
    The line end marker that is currently used can be determined for every open file using GET DATASET.
    Alternative 1
    ... WITH NATIVE LINEFEED
    Effect
    : This addition defines the line end marker independently of the access type according to the operating system of the application server, i.e. "LF" for Unix OS390 or OS400, and "CRLF" for MS Windows.
    The line end marker is interpreted according to the current codepage. If a code page is explicitly specified using the addition CODE PAGE, the characters of the line end marker must exist be available or be written in accordance with this code page.
    Note
    : The addition WITH NATIVE LINEFEED is intended for editing files on an application server that can also be accessed by other means. The addition receives the appropriate line end marker without the program needing to know the operating system.
    Alternative 2
    ... WITH SMART LINEFEED
    Effect
    : This addition depends on the access type:
    In files that are opened for reading using FOR INPUT, both "LF" and "CRLF are interpreted as a line end marker. When opening an EBCDIC file with the addition CODEPAGE, in addition to "LF", "CRLF", and the EBCDIC character strings, the corresponding ASCII character strings are also recognized. In addition, the EBCDIC character "NL" (line separator) is also interpreted as a line end marker.
    In files opened for appending or changing with FOR APPENDING or FOR UPDATE, the program searches for a line end marker that is already used in the file. In this process, first the end of the file is identified. If no line end marker is found there, a certain number of characters at the beginning is analyzed. If a line end marker is found, this is used when writing to the file. This is also affected by the addition CODE PAGE. For example, ASCII line end markers are recognized and used in a file opened with EBCDIC, but not the other way round. If no line end marker is found or no search is possible (for example, if the file is opened with the addition FILTER), the line end marker is determined according to the operating system of the application server, as with the addition WITH NATIVE LINEFEED.
    In files opened for writing using FOR OUTPUT, the line end marker is determined according the operating system of the application server, as with the addition WITH NATIVE LINEFEED.
    Note
    : The addition WITH SMART LINEFEED is intended for the generic editing of files in heterogeneous environments. The line end marker is recognized and set for different formats. The use of this addition is the best solution for most application cases.
    Alternative 3
    ... WITH UNIX LINEFEED
    Effect
    : The line end marker is set to "LF" regardless of the access type and operating system of the application server.
    The line end marker is interpreted according to the current code page. If a code page is specified explicitly using the addition CODE PAGE, the characters of the line end marker must be available or be written according to this code page.
    Note
    : The addition WITH UNIX LINEFEED is intended for editing Unix files in which the specific line end markers are to be retained, even if the operating system of the current application server is MS Windows.
    Alternative 4
    ... WITH WINDOWS LINEFEED
    Effect
    : The line end marker is set to "CRLF" regardless of the access type and operating system of the application server.
    The line end marker is interpreted according to the current code page. If a code page is specified explicitly using the addition CODE PAGE, the characters of the line end marker must be available and be written according to this code page.
    Note
    : The addition WITH WINDOWS LINEFEED is intended for use with MS Windows files in which the specific line end marker is to be retained, even if the operating system of the current application server is Unix, OS390 or OS400.

  • How to update using Windows computer to download update files

    Hi
    I have a macbook I use at home, with OSX 10.4.7. Due to lack of a fast internet connection, I cannot update the macbook. At office, I have a faster connection, but on a windows computer. How do I download the files that are required for Macbook particularyly? I see files only on the macbook software update window, but on visiting the website, I see only a list of common updates, with nothing specifically for Macbook.
    Please help.
    Rajat

    <http://www.apple.com/support/downloads/> has all the updates. You don't need one specifically for the MacBook. To go from 10.4.7 to 10.4.9 use
    <http://www.apple.com/support/downloads/macosx1049comboupdateintel.html>
    If you see more than one version of a download, you should choose the Client, Intel version, for a MacBook.

  • How do I get rid of  a downloaded pdf file?

    I have a downloaded pdf file sitting on my desktop which I am unable to move or drag to the trash. How do I get rid of it?

    No, not yet but will try it as soon as a large download I am in the middle of is finished. thanks

  • How to fix gold padlock issue on downloaded new file

    I have a script that downloads image file (.jpg) from ftp server to a safteyPic folder (which is inside standard user's picture folder). Script runs as an admin and every time
    it runs, downloaded file has gold padlock on it. I tried sharing that folder with everyone and also changed security settings so that everyone has full access. Padlock goes away after I click on "Replace all child object permissions with inheritable permissions
    from this object" but it only works for the file inside it, once script runs and it downloads file, all new file has padlock on it.
    Is there any way to fix it?
    Thanks for your help.

    Hi,
    What is the result if we manually download the files from the ftp server, and what is the result if we download files form other places or other folders and paste it to another folder for a test.
    I think we should finger out whether this issue is related with the script? the permission of the files in ftp server? or the permission of the safteyPic folder.
    Make sure you have full permission of thes files
    Regards
    Yolanda
    TechNet Community Support

  • How do I block limited users from downloading or installing files?

    Hello and greetings from the Sooner state!  I am embarrassingly seeking your advice and guidance on a topic I should have a solution for given my background as a certified A+ Technician and Cyber Security Technician in the United
    States Air Force.  The issue is this, I have a user (my son) who continues to find ways to download and install malware via video online games or uncommon search engines (Vosteran), something else he has managed to do…   To this date I have
    ensured that he is logging on to his Windows 7 computer utilizing a Limited User Account, I have locked down his machine utilizing a combination of iolo System Mechanic,  Microsoft Family Safety (my primary parental control software),  Microsoft
    Security Essentials none of which block the installation of software at the Limited User level.   If you look at the Top 3 Parental Control suite of software there is nothing that includes such a utility as part of their software package that prohibits
    or bars your kids from installing software on their own.  I know that a Limited User is supposed to be restricted from installing any software but this isn’t the case with my Son.  What would your best advice be for me in this situation?  Again,
    I should have this info down pat yet I do not (that’s what retirement does to you, LOL)…   Many thanks in advance for your help!  Peace!!

    Hi Doc Bryan,
    If you are using consumer versions of win7 (higher than home premium), you could use the Group policy to impose various restrictions on installing and running software and those will apply on standard users.
    To prevent Installation of software by using windows installer.
    Run gpedit.msc to open group policy editor.
    Navigate to Computer configuration/Administrator Templates/Windows Components/Windows installer/Prohibit User Installs
    Enable this policy and change the “User Install Behavior” option value to “Hide User Install”.
    To prevent downloading files from Internet Explorer
    Navigate to User configuration/Administrator Templates/Windows Components/Internet Explorer/Internet Control Penal/Security Page/Internet Zone/Allow file downloads
    Enable this policy and change the “Allow file downloads” option value to “Disable”.
    Note: Since for Windows it is hard to define that which exe file is installation or execution of the program, there is always some way can walk around this Group policy such as hard disk copy program or using third party Internet browsers
    to download.
    So you also need Parental Controls feature(also apply to home edition)
    and you can find it in control panel, choose the standard account to which you want to apply the control. Now click ‘Allow and Block Specific Programs’ link and choose ‘[User] can only use the programs I allow’ option.
    After analyzing, it will show you the list of all programs installed on the system which can be used by the standard user. Hit the Check All button to allow all programs, then find and uncheck Chrome and other apps that you want to restrict. When done, hit
    OK.
    If your kids want to use a certain software and you find it safe to use. Log inside your Administrator account and install it from there. While installing, please select “Install for All Users” when prompted. Doing this will install the software for all
    users.
    Regards

  • How to prompt the user to save the file in a particular file name

    Hello All,
    I have a form which has several fields. Out of those one field is called CustomerName. Is it possible to save the file in a paricular file name. Like :
    "Customer Name  'Today's Date'". When the user tries to save it or save as it it will be in the same format that I have told.
    Thanks.
    Bibhu.

    Hi,
    to get in touch with folder level scripts, please read this tutorials first.
    http://acrobatusers.com/tutorials/2006/folder_level_scripts
    http://acrobatusers.com/tutorials/file-paths-acrobat-javascript
    http://acrobatusers.com/tutorials/2008/10/using_trusted_functions
    http://acrobatusers.com/tutorials/2006/javascript_console/
    As metioned before, you have to save the form with a new file name before you submit it.
    Otherwise the file name cannot be changed.

  • How do I prompt a user to enter in a string name and set it so it can be used as an input for a DLL

    I was having problems entering in a string name and setting it. Any suggestions.

    Entering the string is easy. Just use a string control.
    To setup the Call Library Function, right click on it and select Configure. Type in the path to the DLL (or use the Browse function) and then use the Function Name dropdown box to select the function within the DLL. From here, you have to setup the parameters. The return type parameter should already be selected in the Parameter drop down box, so click on the Type drop down box and select the type of parameter that the selected function will return. From there, click on the Add Parameter After button to add an input parameter and then select the type of parameter. Continue doing this for all of the input parameters to the DLL. For strings you'll see a new drop down box appear for String Format. Choose the
    format that the DLL expects.
    You need to know what the DLL is looking for. Have fun with it.
    Rob

  • How do I authorize a computer to download iTunes files?

    I bought this new Macbook ( my previous one has been stolen ), but I can't download my purchased items from iTune store. There's a message that says I need to authorize this computer to do so. How do I do it?

    Move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    (92811)

  • How do I reenable Firefox 11 to download pdf files without opening them? Thank you!

    First, I'd just get a blank screen. Then I learned to change 'get info.' window to open Firefox in 32-bit mode. Now, pdfs easily open, but I don't how to just download them (for later viewing) without opening them.

    On Mac, use: Firefox > Preferences > Applications<br />
    You can set the action to "Always Ask"
    *http://kb.mozillazine.org/File_types_and_download_actions

  • How can a non dba user manipulate the dump file outside of oracle ?

    I have a business request to allow a none DBA database user to dump his tables and he can move his dump file on the Unix box from a file system to another file system. This user has a none oracle unix account. When using traditional exp, this is not a problem. But in expdp, all dump files are owned by oracle. Does anybody know how to change the ownership without a DBA involved?
    Unix: Sun Solaris
    DB: 10g
    Storage: sand disk

    Betty wrote:
    following option 1, problem is now the command in the shell script like chmod 744 doesn't allow this none dba user to change the permission, since he doesn't own the file. you can test yourself:
    changepermit.ksh 755
    chmod 744 dump.dmpSo have the script owned by oracle:dba change the owner!
    $ echo "" > bla
    $ ll bla
    -rw-rw-rw-   1 jeg    users            1 Nov 10 16:53 bla
    $ chmod 640 bla
    $ ll bla
    -rw-r-----   1 jeg    users            1 Nov 10 16:53 bla
    $ chown smk bla
    $ ll bla
    -rw-r-----   1 smk    users            1 Nov 10 16:53 bla
    $ echo "" > bla
    /usr/bin/ksh: bla: cannot createNote you'll have to move it unless you let oracle write to it.

Maybe you are looking for