Click here to Skip to main content
15,894,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I want to store application uploaded images store on another drive? IS it possible?
now i am using the following Code which was working properly.
<itemtemplate>

<img id="Img1" alt="" runat="server" src="../Images/view_button1.gif" />


Now i want to change this href path from application to another drive.
Is It Possible?
Posted
Updated 2-Jan-15 18:33pm
v2
Comments
DamithSL 3-Jan-15 0:53am    
can you access your new image location from your browser?
Member 11221185 3-Jan-15 1:37am    
Yes i can access. Now that image want to stored on another drive.

1 solution

Yes it's possible.if you maintain separate drive (on another server),it will even increase your application performance.

You can even use cloud drives where you can upload the images and can refer those images in your application.
 
Share this answer
 
v2
Comments
Member 11221185 3-Jan-15 1:40am    
Thanks sir.
But will you be give me such example. or href='../Images/Emp Docs/<%#Eval("Salary_URL")%>' I am using this path so how can i set another path using IP address or any other way?
Tejas Vaishnav 3-Jan-15 1:58am    
@Arjunan, can you please explain how application performance is increase if i place all my assets (images,logo etc) to separate drive?
Arjsrya 3-Jan-15 2:13am    
you are creating an application like facebook where you are dealing with million of images in a day.You are giving a features like News feed,handling all friend requests,Post messages on wall,Timeline,Dealing with all user's notifications.

If you do everything in a single server,Performance will affect right?If you store images,Videos on another server or another machine,definitely it will increase the scalibility of the performance.No one is hosting everything in a single machine.
Tejas Vaishnav 3-Jan-15 4:20am    
If you are hosting all the assets in different server then definitely scalability and performance is increased, i agree for that. But you are talking about storing it in different drive, like my application/website is hosted from C:\ drive and i am storing assets on d:\ drive on same server, then nothing will happens related to performance. if you goes for another separate assets server then its great thing to improve performance.
Member 11221185 3-Jan-15 2:16am    
@Arjunan & @Tejas Please help me for same issue because i am facing Drive full problem when i uploading documents of employee's. So i just want to it will stored on another drive then application will work smoothly.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900