Are you using the directoryPath arg when creating new file obs? Here is an
example from the docs:
<cfscript>
stParams = structNew();
stParams.directoryPath = server.cfa.information.mediastorepath;
stParams.directoryURL = "/allaire/spectra/system/mediastore/";
</cfscript>
<cfa_contentObject
datasource="#attributes.dataSource#"
stObject="#stImage.file#"
stParams = "#stParams#"
method="upload">
You could change directoryPath:
stParams.directoryPath = "c:\all\your\base\are\belong\to\us";
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Allaire
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Nate Smith [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 09, 2001 3:25 PM
> To: Spectra-Talk
> Subject: Bypassing the mediastore directory?
>
>
> Hey all,
>
> I'm a Spectra newbie and I have a question that hopefully is not too
> difficult to answer. I have a client that is going to be posting numerous
> types of content which will include images. Since I have varying objects
> that use these images and I don't want to lump all these images in one
> directory (the default mediastore directory) otherwise, choosing an image
> from the list of uploaded images would be cumbersome. Instead I'd like to
> keep article images in an article upload directory and content images in a
> content upload directory etc..
>
> So here's the question: What is the easiest method of redirecting the
> directoryPath and directoryUrl variables in the default image and file
> handlers? Or should I write my own upload and picker handlers for a custom
> file object where the object typeid cfswitches the directoryPath and
> directoryUrl?
>
> I hope I've stated my question clearly.
>
> Thanks for any help you can offer.
>
> -
> Nate Smith,
> Lead Developer
> [EMAIL PROTECTED]
> www.doceus.com
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.