I have Farcry 6.2 on Railo 3.3.1 on Ubuntu

I uploaded a file and it went into
    /farcry/projects/intranet/securefiles/dmfile/

After I approved it it moved to
    /files/dmfile/





On 5 October 2011 12:42, Blair McKenzie <[email protected]> wrote:

> Sorry, never seen anything like that. Could be a Railo thing, we haven't
> tested as much on it.
>
> Blair
>
>
> On Wed, Oct 5, 2011 at 3:16 PM, Michael Sharman <[email protected]> wrote:
>
>> Ah it's not that farcry isn't moving the file, it is. But...it's
>> writing 2 versions of the same file every time you upload a new one.
>> Then one of those is being moved to the /files/dmfile/ folder upon
>> approval. But that still means you have a copy of the file in /
>> securefiles/dmfile/
>>
>> Is that correct behaviour?
>>
>> Michael
>>
>> On Oct 5, 2:35 pm, Michael Sharman <[email protected]> wrote:
>> > Yeah that's what I thought. But approving the file doesn't seem to
>> > move it.
>> >
>> > I'll keep playing and see how I go.
>> >
>> > Railo 3.2+
>> > FarCry 6.1+
>> >
>> > On Oct 5, 12:11 pm, Blair McKenzie <[email protected]> wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > A few versions ago file management was updated in a couple of ways:
>> > > * files attached to draft objects get stored securely and moved to
>> public on
>> > > approval
>> > > * download links to public files now redirect to the static file
>> instead of
>> > > tying up CF threads streaming them
>> >
>> > > Blair
>> > > On 05/10/2011 11:58 AM, "Michael Sharman" <[email protected]> wrote:
>> >
>> > > > Hi,
>> >
>> > > > I'm trying to upload files in a custom content type using the "file"
>> > > > formtool but I don't want them secured, I want to serve them
>> directly
>> > > > from the webroot. The "core" dmFile.cfc has filename set as
>> > > > ftSecure=false, and it inserts into the database as /dmfile/
>> > > > myfilename.pdf however FarCry is saving the file under /securefiles/
>> > > > dmfile/myfilename.pdf. Even stranger is that sometimes it actually
>> > > > puts the file under /files/dmfile/myfilename.pdf
>> >
>> > > > So the database has /dmfile, but the file is saved under either /
>> > > > securefiles/dmfile or /files/dmfile
>> >
>> > > > Can anyone shed some light here? Basically it seems farcry is saving
>> > > > the correct path in the database (as per the ftDestination property)
>> > > > but saving on the filesystem in different places. And also, is it
>> > > > possible the ftDestination isn't a relative path from the webroot? I
>> > > > say this because it seems like ftDestination is appended to either
>> "/
>> > > > files" or "/securefiles".
>> >
>> > > > Ideas?
>> >
>> > > > --
>> > > > You received this message cos you are subscribed to "farcry-dev"
>> Google
>> > > group.
>> > > > To post, email: [email protected]
>> > > > To unsubscribe, email: [email protected]
>> > > > For more options:http://groups.google.com/group/farcry-dev
>> > > > --------------------------------
>> > > > Follow us on Twitter:http://twitter.com/farcry
>>
>> --
>> You received this message cos you are subscribed to "farcry-dev" Google
>> group.
>> To post, email: [email protected]
>> To unsubscribe, email: [email protected]
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>>
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
>



-- 

*AJ Mercer*
<webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
community="Open" /> <http://webonix.org>
http://twitter.com/webonix
Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to