473,383 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Upload some file and put it into database

Hello.
I'm developing some application which needs to upload some file to server
and put it into database BLOB field.
Also I want to provide this feature without saving the upload file to the
server, I want upload and directly insert it to the database.
Can anybody help me and tell how can I do this?

Thank you.
Nov 18 '05 #1
2 1671
See :
http://support.microsoft.com/default...b;EN-US;309158

The HttpPostedfile class should likely expose the uploaded file as a stream.

Make sure also you carefully checked the other solution (IMO most often
files are stored outside of the database).

Patrice

--

"Dave" <da*********@hotmail.com> a écrit dans le message de
news:u$**************@tk2msftngp13.phx.gbl...
Hello.
I'm developing some application which needs to upload some file to server
and put it into database BLOB field.
Also I want to provide this feature without saving the upload file to the
server, I want upload and directly insert it to the database.
Can anybody help me and tell how can I do this?

Thank you.

Nov 18 '05 #2
This article explains the process of uploading files directly into SQL
Server and getting them back out again:
http://steve.orr.net/content/asp200307so_f.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Dave" <da*********@hotmail.com> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...
Hello.
I'm developing some application which needs to upload some file to server
and put it into database BLOB field.
Also I want to provide this feature without saving the upload file to the
server, I want upload and directly insert it to the database.
Can anybody help me and tell how can I do this?

Thank you.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Thomas Brooks | last post by:
Hi there.... I have an ASP routine that I'm writing which updates an Access database with a user name, the file name, etc. all done through parameter processing and SQL functions. I do not...
4
by: weiwei | last post by:
Hi All I want to upload either image or word document into either access or SQL server database so far I am doing some small testings and what I can do is upload the file from first page and...
5
by: Grace | last post by:
Hello, I want to upload the file by webpage to SQL Server. When I upload the small file, it is work. But, when I upload big file(ex. 40~50 MB), it isn't work; the Browser displays the...
3
by: No one | last post by:
I need to upload two files, one at a time. The only file control I can find uses the <input type="file" />, so the handling code has to go in the HTML side and not the code behind. I would much...
5
by: Seok Bee | last post by:
Dear Experts, I currently trying to use the FileUpload control from asp.net 2.0 to upload files. The uploading of the file I would like to store it in the Access Database. Unfortunately, I've no...
1
by: NinJA999 | last post by:
I have the following code to handle file uploads. There is a database called "media". The errors I keep getting will follow the code. The upload data gets into the database fine; it seems to be...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
43
by: bonneylake | last post by:
Hey Everyone, Well this is my first time asking a question on here so please forgive me if i post my question in the wrong section. What i am trying to do is upload multiple files like gmail...
8
johngault
by: johngault | last post by:
I've been working with this PHP page for several days now and I'm stumped. The page is supposed to allow the user to upload up to six images for their profile. When the user adds an image it (the...
4
by: MoroccoIT | last post by:
Greetings - I saw somewhat similar code (pls see link below) that does mupltiple files upload. It works fine, but I wanted to populate the database with the same files that are uploaded to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.