By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,183 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,183 IT Pros & Developers. It's quick & easy.

Upload and download to web site

P: n/a
Hi EveryBody:

I'm working with project in my company by using ASP.Net 2.0 that allow the
users to upload and download files to web site in the internet as backup. The
user will first upload his or her own files in the website that will save the
data immediatlly into database.

and when the user sign in into his or her account he can download his own
files.

My Question is:

How can I show the process of upload and download of files to and from the
database respectivelly?

I hered something about caching that First I have to cach data from database
after that I can download it from the web site itself not from the database.

also when I tried to use the following function it does not work:

My.Computer.Networing.Download("","")

because it needs parameter string contain the protocaol http: and the URL of
the file that I don,t have it in my web site?

any help or any redirection regarding this issue will be complletlly
appreicated

regard's

Husam

Jan 7 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Husam" <Hu***@discussions.microsoft.comwrote in message
news:FF**********************************@microsof t.com...

Why don't you just keep it simple by using a Listbox or something?

Upload for file xyx.txt started at a certain date and time.
Upload for file xyz.txt ended at a certain date and time.

The client application knows when each has started and ended.

Jan 7 '08 #2

P: n/a
On Jan 7, 6:43 am, Husam <Hu...@discussions.microsoft.comwrote:
Hi EveryBody:

I'm working with project in my company by using ASP.Net 2.0 that allow the
users to upload and download files to web site in the internet as backup. The
user will first upload his or her own files in the website that will save the
data immediatlly into database.

and when the user sign in into his or her account he can download his own
files.

My Question is:

How can I show the process of upload and download of files to and from the
database respectivelly?

I hered something about caching that First I have to cach data from database
after that I can download it from the web site itself not from the database.

also when I tried to use the following function it does not work:

My.Computer.Networing.Download("","")

because it needs parameter string contain the protocaol http: and the URL of
the file that I don,t have it in my web site?

any help or any redirection regarding this issue will be complletlly
appreicated

regard's

Husam
If you are blobbing the data into the database, the "normal" way is to
have a blank download page that retrieves the binary data from the
database, sets it's MIME content type, and does a binary write to the
page. I believe that then the internet browser will display the
download progress via the progress bar at the bottom of the browser
window. For other downloads, where you just link to the physical file,
the browser should open the download window and show it's progress
there. There shouldn't be any progress code of your own.

Thanks,

Seth Rowe
Jan 7 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.