How to save a text into a specific folder of computer(in document) by default, when the user clicks yes(for,Do you want to save the file?) to save a file into his computer? If the folder doesnot exist create and save the textfile?
i want to export an excel from my web application and want to save it on Web Server, but i am not able to save it on web server, i am able to do it on my local machine, but on web server it's not working.
How to save Ajax Editor content as an HTML file to a disk?
Let's say I have an Ajax Editor which allows user to type or paste in long message or writting. Once he clicks on "submit" button, an HTML file will be created and save to a disk. I am working on asp.net 3.5, ajax version 3.5 (from codeplex, work well).
New project requires that the server space be displayed and what the total content is of a folder. Where can i find information on how to do this? can someone provide a small sample or links to information i can review.
how to download a file , from sql server 2005 to local disk.
using asp.net and c# as my code behind, when i click on gridview column, a pop up windows should appear asking fr the path to save in local disk, when name is entered and save button is clicked, that particular file should get saved in disk.
I would like to ask some help from you guys on how do i do this problem. I'm using asp.net and my problem is on getting the list of filename inside the folder. Is there a function on this? I tried this on console apps there's a function like GetFileName. Hope somebody could help me on this.
I have a file uploader I would like to be able to have a folder added to the folder path on upload based on a textbox.text "MapPath("~/Uploads/" + Path.GetFileName(e.filename))"
I have Dim folder as String = textbox.text how do I add folder to MapPath("~/Uploads/"
it currently checks for .xml files how can I add more .doc .gif etc
Dim savePath As String = MapPath("~/Uploads/" + Path.GetFileName(e.filename)) 'Validation for file extension If Path.GetExtension(e.filename).Contains(".xml") Then Return End If
I am developing audio related project for that i have stored movie names with mp3 file paths in database I am displaying movie names in grid view after clicking on movie name related mp3 file paths will be display in details view i am unable to play that files in details view how to do this ? Here i am storing original mp3 files in one folder in solution explorer and paths in database
i need to save multiple documents stored in SQL server as Image type to disk.
What i want to do is "backup" all files in a table (column) to disk, zip them and Response.TransmitFile(FilePath) to client.
I could use C# ot VB but that would require a lot of connections to database or a lot of server memory and i don't want that, becauze there are a lot of files to be saved Since SQL can write files to disk i was thinking about saving those files to disk directly from sql. Something like when u're doing a backup
I ve a script for downloading a file. but that file is getting downloaded into docs/download folder by default. How can i change this so that the user can download it to a specific location or directory.. current script is as follows :