SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot Bruce Lee's Avatar
    Join Date
    Jan 2005
    Location
    Singapore
    Posts
    198
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    %20 problem while downloading files.

    why does %20 replaced with spaces in the file names iam trying to download?
    when i right click and save, the spaces are not replaced but when i click on the link and access through the http headers spaces are replaced with %20.

    Moreover when i save file to the system, windows treats

    "abc%20xyz.jpg" and "abc xyz.jpg" as a different files.

    why winodws is treating them as different file names?

    Do i need to configure anything to overcome this prob?
    Happy Coding!!!
    Bruce Lee.

  2. #2
    Guru Bullschmidt's Avatar
    Join Date
    Apr 2002
    Location
    USA
    Posts
    524
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since spaces aren't allowed in Web addresses they are often replaced with %20.
    J. Paul Schmidt
    www.Bullschmidt.com - Freelance Web and Database Developer
    www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips

  3. #3
    SitePoint Zealot Bruce Lee's Avatar
    Join Date
    Jan 2005
    Location
    Singapore
    Posts
    198
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes exactly but then when save dialog box opens up why dont windows convert %20 to space again?
    Happy Coding!!!
    Bruce Lee.

  4. #4
    Guru Bullschmidt's Avatar
    Join Date
    Apr 2002
    Location
    USA
    Posts
    524
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess that would be nice wouldn't it...
    J. Paul Schmidt
    www.Bullschmidt.com - Freelance Web and Database Developer
    www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips


Bookmarks

Posting Permissions

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