What kind of path would I use to save a file (.pdf) on another server/network drive?
Say I have rights to a network drive 'optamail1' and a folder there called datasheets. I can access this folder from "Run" using \optamail1datasheets, however, this kind of path will not work in my application. Has anyone tried doing this before?
here i want to save a file to remote server where my file will be in client system...here i don't want to use file uploader control.In my application we have one function which will save word document to client systems temperory folder and that document again I want to save to server.
I am having the string which contains filepath.using that filepath, i have to store the file in server. how to do.I don't want to pick the file using file upload control. Instead of that, i am giving the filepath directly in string in server side.how to store the file in server using the file path?
I have an XML file that generated by a Codebehind (.cs) of an .aspx page. And everytime it must be generated automatically and must be saved on Server. It works on my local machine, but how can I do it on Server (host)?n local I managed it like:xmlDoc.Save(Server.MapPath("~")+filename);
I'm trying to send an image from Flash to a C# script to save it to the server filesystem. I have the flash end done, I just need help converting the C# script to save the image as a file rather than display it. Currently it only displays the image, but when you right click-save as it try to make you save it as a aspx file. Here is the C#:
I have only worked with PHP and this is my first ASP.NET project?
My code is not being allowed to save an xml file in a folder on my server. Why is this?
you can see the error page here.. http://www.deutsch-english.org/
It seems to say something about not being authenticated and adding users to the config file. However this code has nothing to do with any users or groups, I just want it to always have permission to save files on the server. The code is purely internal, more like the core innerworkings of the site, it has nothing to do with users. I don't want to have to authenticate it, it shouldn't need authenticating, I just want it to work.
I have file excel and one database 'TestDatabase' provide by Sql server 2000 . That database contain table 'TestTable' inculde :ID, Notice. Now, i want save file excel to column 'Notice' . How i do that?
I need to know the best way to have a user click a link that will download a file that is out on the server and save it to a specific location on their computer. The file is a custom template for Microsoft Outlook signature. Thus, it has to be in a certain folder and this folder will have a different location if the user has Windows 7 vs Windows XP.
I wrote a ASP.NET page that captures the user that is logged in and use WebClient.DownloadFile to download the file. However, I am getting an access is denied error. Apparently my server doesn't have access to write to the user's folder. My questions are.
1. How do I solve this and make it so that my server can write to the user's PC?
2. Is there a better way to roll out a custom Outlook template that the entire company should use?
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?
I am writing an application to allow applicants to submit a completed application. There are two files: one they will view (with more color and formatting efforts etc) and a plain one for print. I want them to click on the Submit Final button in the pretty formatted one, and then I will upload the plain one on the server as the final submission.
Both will be dynamically created file pulling data from database at that moment. How do I save a dynamically created file on server?
I have a file on the server that users will have the possibility to download to thieir computer. For example the filepath could look like below. How would it be possible to save this to the desktop or C: etc.. ?
What I am doing seems to be saving the Excel file in a text format. All I am trying to do is save the Excel file (xls) on my web server. Below is the code that "fetches" it now but doesn't save it in the proper format.
I am executing the following T-SQL code, which runs successfuly according to message I see at end of its execution, but the file c:cptest.txt is never created. I have checked for this file and it doesn't exist. what is the issue here?
I'm trying to write code that will allow a user to click a button and be prompted to save an image file that resides on the web server. I'm using the following code, but I get an error that says "Error: Could not complete the operation due to error c00ce514.".
I have verified that the file exists. Is there another method for prompting users to save a file to their local machine?
i'm developing a system with asp.net, there i generate a powerpoint presentaion in the server machine, i need to generate it there and save it in the clients machine, how can i achieve this? how to access the clients machine and save the generated file there?
I'm serving images through an httphandler and when the user goes to save the image via the right click save file browser, full URL of the image is displayed instead of only the file name. How do I rewrite or change this image url to make it more user friendly?[URL]
Or do I need to create my own image save/export menu and chop off that file name when saving?
i have place some .txt files in my web application root directory. now i want to open a popup on button click with save button so that client can save this file on his/her PC. also can we auto set the path??? mean client jst press save button and file automatically stored his "D:\Foldersample.txt".
I have code to export the grid to excel . i have taken it from [URL] now i want to save excel file directly without asking user to save it or open it at client side. i want to save it on server folder. how to do that .