Architecture :: File Upload To DB Server From Webserver
Dec 2, 2010
I have this scenario. I have an application running in a webserver (in DMZ). End users upload documents to the webserver. right now all the documents get stored in the webserver itself. I would like to store all the docs in the database server.
What is the best way to store the documents, move it from webserver to db server after they uplocaded or directly upload to the db server ?.
And, if I have to upload directly to the db server could someone help me how to mangae the connection to the db server and credentials..?
View 3 Replies
Similar Messages:
Sep 28, 2010
How does file upload work on a web farm? does the file you upload replicate on all the servers ?
View 6 Replies
Feb 4, 2010
I have a scenario which I am looking at where large files which are about 30-40 MB are being FTPed to a server. I am looking at creating a .net screen with the FTP control to upload the file to a Unix server. I need to know how much of a performance hit it is to work with such large files, is it a feasible option in this scenario? I might have to create a .net component for the same and call from ASP application. Is it doable?
View 3 Replies
Oct 11, 2010
I have an asp.net application running on a web farm that allows users to upload files and download them later via link to that file. Currently, I use Windows DFS to replicate the local IIS directory where the files are stored across the web farm servers. However, as this solution does not scale out, I want to implement a more scalable solution by partitioning the documents. Specifically, say I set up multiple file storage servers (Fs1, Fs2, Fs3, etc.) on the network. Further, let's say I change my upload page to save the uploaded file to one of the file storage servers on the local LAN (based on some logic). I assume so far I am safe with ASP.NET doing this much assuming I have the correct permission for the ASP.NET process ID. The question I have is withregards to download links. When a user gets served a download link to their document (e.g. http://www.testco.com/data/doc1.txt) is there a way for me to "intercept" that HTTP request and underneath the coversserve the doc1.txt from the file storage server (e.g. Fs2) it resides
View 5 Replies
Mar 22, 2010
The Dumps data are in the Excel file. Now I want o upload the data to sql server 2005(which are in web server) from client pc (from browser). What will be the best way to do so?
I can know how to upload data from excel to sql server 2005 if both are in the same computer.
View 5 Replies
Apr 1, 2010
I'm planning to make an ASP.NET webserver that provides all kinds of functions, like an API. There will be quite alot functions that can easily be grouped (datasystem, userAccount, fileSystem, and so on). I can make multiple services (asmx files) into a single webserver, and let the clients connect to whatever service(s) they need. However, I'm not sure if it's a wise thing to do... Pack everything into 1 big service(1 asmx file), or split up into many smaller services? How about:
- performance/memory on the server (a client that connets with 1 or 6 services)
- Maximum connections (we will use a Windows XP Server edition computer)
There will be about ~30 computers using it. In a worst case scenario, they each computer could make use of 6 services at the same time, if I decide to split it up. A single client could make use of the fileSystem, account, dataSystem and several other things at the same time.
View 6 Replies
Feb 24, 2010
I am developing a webapplication in ASP.NET 2.0 and MySQL 5.0 Now I want to upload this application to My WebServer (The windows web hosting space which I have purchased).
But I am not much familiar with MySQL, and I Don't Know how can I Upload the database on web server. This database contains approx 14 Tables and 95 Stored procedures. Recently I have developed some small web applications in asp.net with access database, at that time uploading was simple(just upload the access file to App_Data folder) But I don't know how i can do this with MySQL.
View 1 Replies
May 29, 2010
How do I upload Image/Photo from my Iphone to webserver. At web server I am using ASP.net c#.
On Iphone i have image displayed on UIImage Control and that image I am getting from database from BLOB datatype column.
how do I save that image bytes to application folder and then send image file to webserver.
View 1 Replies
Feb 4, 2010
I have a question what's the best way to accomplish the following task:
- I have an ASP.NET application with SQL server database (hosted externally at any provider)
- There are a few dedicated client computers anywhere in the world and these client computers shall run a periodic automatic process to upload some data into the database of the webserver. So there is NO user in front of those computers to open a browser and run any kind of upload manually. (These automatic processes are not part of my question, they can be windows services or simply running applications on the desktop.)
My initial idea was to use FTP for this purpose, means: Those perodic processes on the specific clients create files and put these files via FTP in any defined folder of the web server.
But what follows then? Is it possible to have any eternally running process on the web server to process those uploaded files in the FTP folder and write their content into the database? As far as I understood until now an ASP.NET application has sessions and an application process but a session shuts down as soon as the associated client doesn't send a request for some time and even the application process shuts down when no user at all sends a request for a specific time. Isn't it? So in other words: When no user sends any requests via HTTP my application on the webserver is simply not running and therefore cannot process the FTP-uploaded files. (Or can I keep the application "artificially" alive to run a peridic lookup for new files ???)
The other option I had in mind is to program a piece of software running as a windows service which could pick up the FTP-uploaded files and process them. But I have to consider that possibly the hosting company does not allow to install any service programs on their servers aside from the ASP.NET application. So this is probably not a real option.
And now my third idea is to develop an ASP.NET web service which runs on the same web server as the ASP.NET application. The specific clients mentioned above would connect to this web service via HTTP, upload the data and the web service would immediately process the data and write them into the database.
At the moment only the last option seems to be the "most natural" (and perhaps even the only possible ?) way to me. Are there any other options and methods for my purpose? And if so, what is the recommended way?
View 6 Replies
Jul 28, 2010
I need to be able to create and manage users and what sites they can access in IIS. For instance, I dont want user A touching user B's site.
I do not want to enable users to log in to the webserver via remote desktop.
View 5 Replies
Jan 13, 2010
I am using the async file upload control to upload to a image file. I want the user to upload only jpg files. And for that I am checking the uploadedfile content type in server side, after the upload complets. I wanna check this, before upload starts. There is one javascript method
function startUpload(sender, args){}
but how to access the content type of the file selected by user.
View 5 Replies
Mar 25, 2010
I have to copy a file from client machine to server folder without use file upload control.
i tried with WebClient().Like this
Dim onbjweb As New WebClient()
onbjweb.UploadFile(Server.MapPath(serverpath), "POST", LocalFilePath).
Its working fine in localhost.When its deployed in server its not working.
View 2 Replies
Feb 7, 2011
How can I retrieve file information (size of file) before it is uploaded to the webserver?
I would like to create a multi file upload. I have it working in JQuery but I would like to know the size of the files to set a limition by summing up the total the file sizes together.
View 1 Replies
Jan 30, 2010
How do I upload a file on the web server and save the link of the file in a database?
View 3 Replies
Aug 9, 2010
is it possible to automatically populate a file upload control's file for automated testing and server stress. I have one upload control (that simply brings up the browse and selects the file) and a button that uploads the selected fileupload control's file. Is it possible to give the file upload control a file pather "C:myImage.jpg" and submit the file by pressing the upload butto:
document.getElementById("fileUpload").value = "C:myImage.jpg";
document.getElementById("btnUpload").click();
View 5 Replies
Oct 2, 2010
I need to upload a file (xml, pdf, etc) from the user's PC, but I need to write it directly to a file server. I cannot use FileUpload because there is no way to direct its initial upload to anything but the web server. So, how do I use the HTML INPUT to upload the file from the user's PC directly to a file server located at a different URL than the web server the web page is being hosted on?
View 2 Replies
Oct 26, 2010
If i want to create a web site that take your picture and share it for your friends, what the best way to save the picture files on server? What the way is safer for the picture files? What the way has the best performance?
View 9 Replies
Nov 16, 2010
what is wrong with this line of code?
uploadFile.PostedFile.SaveAs("\ddg3584GraphicsWater lilies.jpg")
View 2 Replies
Feb 8, 2011
how to upload and save files to oracle database, and view file using C# .net and can upload one or more files in one webform.
View 1 Replies
Aug 6, 2010
I want to upload files to the web servers from the client machines.
Can i upload a file on a network share folder using file upload control?
I would like to create a share folder on a file server sitting next to the web server. If i upload the file from the network share folder instead of uploading it from the client machine does it make any difference?
Will the file be stored in a temporary location before copying to the final destination? Where will be the file stored in this case of uploading it from share folder?
View 1 Replies
Aug 12, 2010
i want to ask how to upload my files outside the server (for security issue) i use teleric Rad UploadFiles (ASP.net web application)..the problem that i cannot specify the required path outside the server using the method
server.map("~..") to go outside the server i get this
exception Cannot use a leading .. to exit above the top directory.
is there any way to determine a path outside the server
View 4 Replies
Mar 17, 2010
I installed demo activeX on my web application which at the end try to upload file on server using PUT method. I'm using Windows 7.
There I get an error 404 File Not Found.
know what I should fix to make this working.
View 1 Replies
Jun 21, 2010
i'm trying to do something weird. I have two sites, one that allows me to handle some information and administrate it (site 1). I have another site that is for querying information only (site 2). I need to upload files in site 1, but i need to save it in site 2, to leave it available to download in site 2.
View 4 Replies
Mar 11, 2011
here code which you have used and is working to upload file using file upload control and them download with open/saveas/cancel dialog.
View 3 Replies
Sep 15, 2010
I'd like to know how to allow user to upload file to the server in mvc 2 application. I haven't seen a very clear tutorial for this, at least not on this website. There is a movie database tutorial but that is simply a list of movies not actual files. What is the simplest method for uploading files, be they images or movies?
View 13 Replies