upload files to my website, but I won't to save it to the same folder where my website is on any given server. I also want to read these files with code.How do I get the directory of the local folder in which my website files are?
I created a website using VS2010. When I run the website using built-in web server, everything works fine. The website recognizes javascript and aurigma uploader. When I publish the website to local folder and tried to access using IIS 5.1 on local pc, the java scipt files did not work. I was getting yellow triangle sign at the bottom of the page indicating the object is expected. I tried to look online but i could not find any answer. I have included jquery and javascript file in the header section of master
I have a asp.net website in the IIS which is available on internet as www.xyz.com now I have been asked to prepare another website which will be accessed via www.xyz.com/abc.
For this, do I need to create a virtual directory under the website folder XYZ in IIS? or is there any other way to achieve this.
I have requirement to copy or move file from webserver app folder to local file system folder (user selected). How is it possible in ASP.Net.
On my page i have textbox and browse button and user clicks browse button to select folder and there is Copy/Move button and when clicked the files under webserver folder should be move to the user selected folder. The webserver folder path is available to application.
In above link you clearly describe (How to display directory folder structure).
The path only works when the folder insight the project.
When I put folder outside the project it didn't work. What type of changes I need to made to acces the folder outside the poject. & How can I show other details of files which are including in folders Like. Last Modified Created Date, Modified Date etc..
I want to create a folder to store some web controls, so the site structure doesn't have a zillion files in the root.
Except that if I create an ordinary folder, that folder is also visible on the web site. MSDN said you cannot put it in App_Code, and it doesn't really make sense to put it in other special folder like App_Data or App_Theme.
I want to delete a folder in asp.netTo create the folder Directory.CreateDirectory(Path.Combine(Server.MapPath("~/Docs/"), idtxt.Text)); But how I can delete it?
As virutal directory points to physical path of the application, so if the IIS root directory is C:inetpubwwwroot and the application is stored at D:websites, than we need to create a virtual directory but if the application content is placed at C:inetpubwwwroot, then why still need to create virtual directory.
I have a root directory in which I have many sub directories. Each of those subdirectories has its own project, webconfig.ini file, etc. I added a Theme directory to each of the projects in the subfolders. This worked correctly until recently when my webhost changed something with my websites because of a malisious attack on them. I don't know what they changed (nor will they tell me) but it no longer picks up the themes in the sub-folders rather it use the theme directory in the main root. How can I tell my app to use the theme directory in the same directory that it lives in rather than using the one from the parent directory?
Im trying out the Hudson Continuous Integration. After the build is executed i want to copy the content of the ReleaseBuild to another website on the server.This should be possible i guess but i cant seem figure it out.I know this can be done in nAnt and msbuild but i need to make Hudson do it, eg plugin or something.
I have a file structure setup by project number on my local drive. I have a database with the projectnumber, projectname, client, etc. I set up grid view to display the projectname, projectnumber and client. I need the projectname to be a hyperlink and once its clicked it should open the project folder on the local dirve. i need some code to bind my projectnumber to a hyprelink string of some nature that looks like F:/Projects/{ProjectNuber}
I want to have a PHP login form on my website. When the user enters a username and password and clicks submit, they should be directed to a remote website logged in (therefore skipping the login form on the remote site).
As mentioned in the title, the remote site is built using ASP.NET.
I've tried to search for a solution this but really not finding.
Is it possible for a webpage to popup a open folder dialog, ask the user to select a folder, then show the contents of that folder in a list(or something) in the webpage. It won't write to the files, only read them. The webpage is hosted remotely.
I have a dll which is in the bin folder (version 1.0.6125.0 ) and in GAC version of the dll is 3.5.0.0. Both the assemblies are strongly named microsoft dll's .
Now I want the dotnet CLR to search in the GAC instead of in local bin folder.. I know the solution to the problem would be to delete the dll from the bin directory and automatically application will search for dll in GAC, but in my case, I cannot delete the .dll file in bin directory, since we do not have control over the PRODUCTION servers.
I get the following error
The type 'System.Web.UI.ScriptManager' is ambiguous: it could come from assembly C:inetpubwwwrootAppNAMEinMyDll.DLL or from assembly 'C:WINNTassemblyGAC_MSILMyDLL3.5.0.0__31bf3856ad364e35MyDll.DLL'. Please specify the assembly explicitly in the type name.
I have a code to downolad a particular file that is stored at a particular location on the server...
for example i have a file untitled.bmp in the C: drive of my server and i download this to my localhost using the particular code...
protected void Button1_Click(object sender, EventArgs e) { string filepath = (@"C:untitled.bmp"); // Create New instance of FileInfo class to get the properties of the file being downloaded
[Code]....
now my problem is how do i download a folder with multiple files in it.. is there a way???
for example i have a folder named recovery in C: drive which contains two files untitled.bmp and test.txt.