www.webdeveloper.com
Results 1 to 3 of 3

Thread: file download - file name

  1. #1
    Join Date
    Jun 2003
    Location
    India
    Posts
    77

    file download - file name

    i am having one folder in my virtual directory.
    with in this folder i am having one txt file named as
    ED000001_06262003084040_DCOM.zip

    i am having one anchor link to download the file.
    but i am displaying anchor link text just as DCOM.zip
    when click the DCOM.zip, the file is downloaded in clients system with the file ED000001_06262003084040_DCOM.zip.
    But i want to download the file with DCOM.zip.
    is it possible.
    it means when downloading a file, i want to rename or change the actual file name what i have in my virtual directory

    thanq

    -gopi

  2. #2
    Join Date
    Jun 2003
    Posts
    7
    i hope this will make u cool...

    <%
    Dim fso, f
    Set fso = CreateObject("Scripting.FileSystemObject")
    fso.CopyFile "ED000001_06262003084040_DCOM.zip","DCOM.zip"
    %>

    <a href="DCOM.zip">DownLoad</a>

  3. #3
    Join Date
    Jun 2003
    Location
    India
    Posts
    77

    File download

    thanq dave
    its working
    Hi friends

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles