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
