Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2007

    Question downloading files

    I´m developing a widget that downloads files, I´m using widget.openUrl(file) to do that. But I want to change file name and, if I could, downloads folder too. Can I do that with openUrl? There is any way to do that?

    Help please!!!

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Rome, Italy

    Re: downloading files

    Hi pep_dj,

    about changing the downloaded filename, you can setup your server so that it sends an appropriate header telling which the default filename should be. The header is "Content-disposition", and a sample usage would be:
    Content-disposition: attachment; filename=your_filename.mp3
    About the default destination folder, you can not modify that, since it's the web browser to decide that.

    Hope it helps,

  3. #3
    Registered User
    Join Date
    Aug 2007

    Re: downloading files

    Thanks jappit. But I don't have access to the server, I need to do this in my widget. Is this possible?

Similar Threads

  1. Downloading large files problem on 6280
    By fresco17 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-09-17, 08:46
  2. Fix for downloading SIS files
    By skeddy in forum Mobile Web Site Development
    Replies: 3
    Last Post: 2005-09-01, 12:52
  3. Downloading SIS files WAP
    By skeddy in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2004-08-17, 21:21
  4. Trouble Downloading SP-Midi Files with a Nokia 7650 through our WAP site
    By CyberShark in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2003-02-18, 14:59

Posting Permissions

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