I have an app where I would like to be able to download content from a site and save it locally for viewing later. I can connect to the remote content using mc.Http.Download(url, tempdir), but I have 2 parts to this issue with this that I'm hoping someone can help with:

1). For the tempdir, how can I check boxee as to whether a USB drive is attached, make sure it has enough room and then get the path to place the file in?

2). How can I get the progress of this download? I'd like to indicate how much of the download has completed to the user.

Is this possible? If so, can you point me to an example?

Thank you in advance for any help,

sgilliard