CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.classifieds_starter_kit Tags:
Item Type: NewsGroup Date Entered: 11/25/2007 7:41:12 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
sonyerik
Asp.Net User
Upload folder with sub-folders11/25/2007 7:41:12 AM

0/0

Hello

As you all know, you can choose from storing photos of the items in the database or in the upload folder. I am using upload folder.

I think it would be much better if when you upload photos for an add, a new sub-folder is created within the main upload folder, gives it an unique name automatically (auto-numbering or uses user name as a name of the folder) and stores all the photos from one user in this dedicated sub-folder. 

Normally, when people upload photos for the add, they are auto-numbered and three different sizes of the same photo are stored one after another.

It is ok but when the users change the photos or upload more photos later, all the photos get mixed. So that is my idea that all the photos from the same user, no matter if they are uploaded all at once or not, are stored in certain user's folder.

I hope it makes sens and please, if any body has implemented it already or has a clue how to achieve it, I would be appreciated a lot.

Thanks for any help

 

ashmetry
Asp.Net User
Re: Upload folder with sub-folders11/26/2007 4:47:24 AM

0/0

I implemented that exactly the way you describe it, I have a folder with the name of the user that contains all the photos for that user.

Its not that hard to implement.

What do u need to know.

 


-Ash
Web:   www.love2trade.com
Blog:   blog.love2trade.com

Please remember to click "Mark as Answer" on this post if it helped you.
sonyerik
Asp.Net User
Re: Upload folder with sub-folders11/26/2007 8:56:48 AM

0/0

I just need to know how to implement it :-)

Sorry but I am still learning ASP and VB. What places do you need to change the code? Could you please share the code?

I would be appreciate if you wrote some more about it. 

Cheers

ashmetry
Asp.Net User
Re: Upload folder with sub-folders11/27/2007 7:00:32 PM

0/0

In BLL\Photos.cs (vb)

the method GetFilePath returns the local path where the files will be saved. You can change that to return the path as a subdirectory of Profile.Username.

 


-Ash
Web:   www.love2trade.com
Blog:   blog.love2trade.com

Please remember to click "Mark as Answer" on this post if it helped you.
sonyerik
Asp.Net User
Re: Upload folder with sub-folders12/31/2007 3:22:52 AM

0/0

I keep trying to figure it out with the subfolders but it still does not work for me. Would you be so kind and share your BLL\Photos.vb (cs) file please.

I will be grateful for any help. Thank you.

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
How to Do Everything with Dreamweaver 8 Authors: Michael Meadhra, Pages: 448, Published: 2005
PHP Solutions, Dynamic Web Design Made Easy: Dynamic Web Design Made Easy Authors: David Powers, SpringerLink (Online service, Pages: 0, Published: 2006
Key Skills in Information Technology Levels 2 and 3: Levels 2 and 3 Authors: P M Heathcote, R. P. Richards, Pages: 224, Published: 2004
Getting Started on Your Genealogy Website: A Guide from Www.genalogyhosting.com Authors: Thornton And Marty Gale, Thornton Gale, Marty Gale, Pages: 488, Published: 2008
Creating Web Sites: The Missing Manual Authors: Matthew MacDonald, Pages: 548, Published: 2005
The Internet Encyclopedia: A - F Authors: Hossein Bidgoli, Pages: 880, Published: 2004
How to Do Everything with Second Life Authors: Richard Mansfield, Pages: 268, Published: 2007
People and Computers XVIII: Design for Life : Proceedings of HCI 2004 Authors: Sally Fincher, Pages: 382, Published: 2004
DotNetNuke For Dummies Authors: Lorraine Young, Philip Beadle, Scott Willhite, Chris Paterra, Pages: 408, Published: 2007
How to Do Everything with Your IMac Authors: Todd Stauffer, Pages: 512, Published: 2004

Web:
Upload folder (and subfolders) - PHP Upload folder (and subfolders). Get answers to your questions in our PHP forum.
Upload folder with sub-folders - ASP.NET Forums Upload folder with sub-folders. Last post 12-30-2007 10:22 PM by sonyerik. 4 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Issues with creating subfolders in upload folder? Problems ... Issues with creating subfolders in upload folder? Problems safe_mode and open_basedir restrictions? Page: 1. Homepage » Forum Index » activeCollab 0.7.1 ...
Hydrogenaudio Forums > how to upload folders and subfolders to ipod I got so many folders (about 150) and each folder may have 1 or more subfolder or may have mp3's. How will ipod know where to find all these ...
FileZilla Forums • View topic - Does the client support merging ... If you upload a folder (say a folder containing all the updated files - including ones in subfolders - for a new Wordpress release) and ...
My Docs Online Transporter - upload folders and files Upload Method 1 — Simply drag and drop files or folders onto the correct folder in ... files or folders for upload to My Docs Online (including subfolders) ...
Member's Galleries, Sub Folders? - PhotoPost Community I would like my members to be able to create their own Sub-Folders (categories? ..... Can it Upload folders? Augustino, Before You Buy, 3, March 21st, ...
WordPress › Support » Sub-folders for static pages Most pages are static and are in sub-folders, eg juicing in \juice ... get updated OUT of wp and upload them separately to site (with nav links to them in ...
Download etiveFTP 3.0 - etiveFTP component can Upload/Download ... Jul 12, 2007 ... etiveFTP component can Upload/Download Files/Folders and Sub-Folders from/to the Web Server using Auto Resuming option. ...
Uploading Folders to a .Net site | Tech Off | Channel 9 Initially I thought the simplest way would be to simply upload the target folder and subfolders, structure intact on to the server, then on the server walk ...

Videos:
Nokia N95 con nuevo firmware (20.0.0.015) Pequeño video para mostrar algunos cambios con el nuevo firmware del N95. Review Parte 1: http://www.youtube.com/watch?v=iP2w-ta99dk Review Parte 2...
Adding Website Font to Visual Site Designer :: CoffeeCup Website Font This tutorial will show you how to add a Flash™ font created in CoffeeCup Website Font to a Webpage created in CoffeeCup Visual Site Designer. Saving...
File Structure and Naming A web site is more than just a bunch of pretty pages you see in a browser. To make the most of your web site you have to start with the underlying or...
How To Watermark Your Videos With XML on Windows Movie Maker http://www.movielcd.com How To Watermark Your Videos With XML on Windows Movie Maker, Ok now we have our movie file but its rather large but dont w...
How To Edit and Save a Movie In Windows Movie Maker http://www.movielcd.com Ok now we have our movie file but its rather large but dont worry too much about that as when we edit the file will get s...
How To Edit Cut a Movie Or Video Clip http://www.movielcd.com In this video i will show you how to edit and cut out the parts of the movie you don`t want. Ok now we have our movie file b...
How To Overlay The Water Mark In a Video http://www.movielcd.com Overlaying The Water Mark In The Video about that as when we edit the file will get smaller as for the movie file will uplo...
How To Record Sound In Hypercam and Camtasia Studio 5 http://www.movielcd.com How To Record Sound In Hypercam and Camtasia Studio 5 Ok now we have our movie file but its rather large but dont worry too...
Keywords Tags For Youtube and Other Video Sharing Sites http://www.movielcd.com Keywords Tags For Youtube and Other Video Sharing Sites. Ok now we have our movie file but its rather large but dont worry t...
How To Select Screen Area To Record In Camtasia Studio 5 http://www.movielcd.com How To Select Screen Area To Record In Camtasia Studio 5 Ok now we have our movie file but its rather large but dont worry t...




Search This Site:










checking to see if a scroll bar exists

bugs in asp.net version 1.1

simple question i think

file download - filename splitting on space character!

xslt grouping with looping takes forever to generate..

get file size from web file

using sqlserver database query in gridview or detailsview

setting a textbox in asp.net to date format

should i even bother moving to asp.net?

form validation

convert

postback problem

form submission, postback, general confusion

static variables without global.asax

parameter binding

asp.net tab script?

session

business layer and presentation layer

searching word doc

email alias using system.web.mail?

string variable containing one doublequote

to reference or not to reference?

how to start a window service from aspx page then invoke one of its method

output cache

programmatic asp.net 2.0

web.mail

vs.net version question?

dataset in a function

loop

interesting behavior when displaying error pages

  Privacy | Contact Us
All Times Are GMT