473,405 Members | 2,187 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,405 software developers and data experts.

How to save in Sql Server or Filesystem?

Hi My friends,

I need to Know what should i do to save pdf file it's size about 300 kb.

Should i save it as BLOB in sql or as Fileserver?

ps. 9999 file mazximum per year .

Please i need your help as i want to start design my program asap.

Thanks
Jan 21 '11 #1
3 1287
ck9663
2,878 Expert 2GB
Save it on a folder accessible by the SQL Server and save the folder and file name to your table instead.

Happy Coding!!!

~~ CK
Jan 21 '11 #2
Thanks ck9663 for your fast respond.

but how can i access this file through network using UNC Credential ?
like shared folder but no one can access it unless using user name & password passing them through my code .
Jan 21 '11 #3
Rabbit
12,516 Expert Mod 8TB
Just set up the permissions on the folder and give them a link. No need to reauthenticate when you can just let the existing permissions take care of it.
Jan 21 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ashwani | last post by:
After creating database in SQL Server , it generates .mdf , .ndf datafiles . Generally if we get those datafiles then we can create the database with tables/data on another machine by using those...
5
by: KathyB | last post by:
If someone could just explain this to me...I just don't get it! I have an aspx page where I retrieve several session variables and use xmlDocument to transform xml file with xsl file into an...
4
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml...
0
by: mortb | last post by:
My problem is with a XML file that resides on my windows 2003 web server. I have this user control which I include on every page in my applicaiton. The control makes it possible for the users to...
4
by: jmhmaine | last post by:
The following code works when Option Strict is off: Dim thumbSize As New Size thumbSize = CType(NewthumbSize(g.Width, g.Height, 100), System.Drawing.Size) Dim imgThumbOutput As New Bitmap(g,...
2
by: Ada | last post by:
First of all, I thought this might be a directory security issue but it's not. I was able to upload the file to the directory via HTTP. Here's the situation. I have a JPG file on my server....
2
by: Jeff | last post by:
Hey asp.net 2.0 The code below saves the "helloworld.jpeg" file to: C:\Documents and Settings\Jeff\My Documents\Visual Studio 2005\WebSites\BN\webForms\Profile HttpPostedFile file =...
3
Simon27
by: Simon27 | last post by:
I found a tutorial to make a PHP poll for my website from the site here. I just wanted to know if it was safe to use PHP to write to a text file on the server. I think I remember once hearing...
3
by: avnireut | last post by:
I can't save a picture, and i dont know the reson. here is the code: Dim img As New Bitmap(Server.MapPath("409.gif")) Dim height As Integer = Int(img.Height) Dim Width As...
3
by: Fons | last post by:
My script acts on a file (approx. 100k) offered by the user. Actually, it acts on a variable that should have the contents of that file in it. I could try to let users upload that file and then...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.