I have this path for an image in an existant Sharepoint website:
http://website.domain.ca/sites/DynamicsAx/_layouts/EP/images/logo_new.gif
I have deployed the same website to another Sharepoint server/website but I need to reupload the image "logo_new.gif" manually but for the life of me, I can't find where it was uploaded in the first place.
All the pages refer to it as "/sites/DynamicsAx/_layouts/EP/images/logo_new.gif" so all I'd need is to upload it in the new website and it should work.
But where exactly ? I've looked at every lists and collections on "website.domain.ca" and can't find any mention of it. Could not find a physical directory for it either on the SP server.
Any ideas ?
Thanks!
I have just rechecked.
The layouts folder is located on the webserver itsself under the path:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE
So, if you deployed your site on a different server you have to import the contents from there by hand to the new server.
Source:
Layouts directory in SharePoint 2007
How to Access Sharepoint 2007/2010/2013 _layouts folder
Kind regards
//EDIT:
For Sharepoint related questions, you can always hop over to http://sharepoint.stackexchange.com
Related
I have project to upload image and view image on asp.net. everything work as i expected. i can upload image and saved to my folder then saved the folder to database, then from database i can show or view the image.
Unfortunately, after publishing to IIS and run the web UNDER IIS , image that i uploaded won't saved to folder and also the image that contains on my folder can't be viewed when running web under IIIS.
I tried to search in stackoverflow how to solve it and everyone said it's about permission i have tried option to set the security permission but nothing works
Folder settings:
Subfolder settings:
I suspect it could be perhaps a wrong path as your app is installed under the default web site... I often suggest to alwyAs start from the exact thing that happens to avoid guessing about issues.
Edit: the folder structure is really strange. It seems I have the default web site, created an application root under this web site but your main ScraBoy app volder is still under this folder ??? I believe I installed app one level below what you intended
Imagine that a user uploads a file called "myAssignment.docx" to Moodle to complete the submission of an assignment. Where would the folder containing "myAssignment.docx" be? Is it in the moodledata folder outside the public web directory or somewhere else? I am trying to locate that folder because I want to monitor its growth to determine when I should upgrade my web hosting service to provide more storage space for files that students upload to the server.
https://docs.moodle.org/dev/File_API_internals#File_storage_on_disk
The simple answer is inside:
$CFG->dataroot.'/filedir'
It is stored in /repository directory from Ver 3.62.
You may have subdirectories. Check which one is used for the purpose.
I have two web application in my solution. One of them is for managing the system and another is for clients.
I should publish them one by one in separated places (of course on a machine but in separated addresses for Example http://manager.com and http://clients.com)
My question here is that, can clients web application access the files that the other manager web application has (in its physical directory)? If not how can I approach this problem?
see this design to get more details for this problem :
Thanks!
What I usually do in a scenario like this, is store the files in a folder in the application that does the writing. Then I use IIS to create a virtual directory in the other application that points to the folder containing the files in the first application.
So in your case, you could have a folder "Files" in the manager.com website. Let's say the folder has this full path: D:\Websites\manager.com\Files You can then create a virtual directory in the clients.com website pointing to that path.
This has the advantage that you can code everything as if the folder exists in both applications.
If your applications placed on one machine - certainly can.
You should do only one thing - give permission to folder with files (Or permission to DB with files) to user that run your web application on web server (Usually IIS if you use MVC < 5)
It seems from your comment that you want to share uploaded files between multiple web project. You can store them in a common folder outside your web project folder.
For example, create a folder in
"C:\Temp\" say "SharedFiles".
The manager web application that receives the file from user (through upload) can store the files in this folder. The client web application can refer this location for file while reading.
You may have to give permission to the user (IIS_IUSRS) to access this folder.
While doing a migration of tridion 5.2 to Tridion 2011 SP1 HR1, we noticed that there isn't a upload folder in the Tridion 2011 content manager directory.
The upload folder of Tridion 5.2 used to contain all files that where uploaded as a multimedia component, even before they where stored in Tridion.
Since our image crop-tool used this directory, is there a way of making this folder available in Tridion 2011?
The upload directory is still used, but for security reasons it was moved outside of the web application (C:\Temp by default I believe).
You can configure it, though -- it's the Tridion.UploadDirectory element in System.config.
To find the MIME type based on the data of the file see the following post:
Using .NET, how can you find the mime type of a file based on the file signature not the extension
But depending on what you want to do with the file before it is created within the repository there might be much more elegant solutions, e.g. the event system.
I am developing asp.net mvc web application in VS2008.In my project,users will upload their files.So that,we created a one folder and made virtual directory in IIS for it.That is just simple folder to store the files.But that folder path is not same with our application path and it is a separate folder.
For eg : upload folder path is "http://localhost/uploadfolder" and our application path is "http://localhost/TestApplication
I use Server.MapPath("~/uploadfolder") to get that upload virtual directory path but it returns like "http://localhost/TestApplication/uploadfolder" and I got error message "Upload directory not found". I also tried like Server.MapPath("http://localhost/uploadfolder") but still can't to upload.
My question is how can I point to that path from my application? How can I upload the files? I haven't hosted yet my application in IIS and I run it from Visual Studio.Please guide me the right way.I really appreciate your answer.