Re: help

2014-07-17 Thread Maureen

As I told you four days ago:
Instead of a physical path like C:\magedirector\imagename.ext  you
need a url like http://domainname.com/imagedirectory/imagename.ext

You use the physical path to determine if the file exists, but you
need the url to display it.

On Thu, Jul 17, 2014 at 10:37 PM, Matthew Smith  wrote:
>
> Anyone?
>
>> On Jul 15, 2014, at 1:59, Matthew Smith  wrote:
>>
>> Does anyone know what path I should use?  Stuck...
>>
>>> On Jul 13, 2014, at 10:40, Matthew Smith  wrote:
>>>
>>> what path should i use?
>>>
>>>
 On Sun, Jul 13, 2014 at 10:11 AM, Dave Watts  wrote:

 > Yes, this code is broken. You have a logic error.  The code inside the
 > CFCATCH will only execute of the code in the CFTRY fails.  The syntax
 > on the CFCATCH tag is wrong as you have no type declared, and the code
 > on the first line inside the CFCATCH is the same as what you just
 > tried.  So if it fails on the TRY it will fail inside the CFCATCH.

 This is all very accurate except for one portion. CFCATCH doesn't
 require a type. It's generally recommended that you specify a type,
 but in the absence of that attribute it'll simply catch any exception
 thrown by the CFTRY.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.


>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358898
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: help

2014-07-17 Thread Matthew Smith

Anyone?

> On Jul 15, 2014, at 1:59, Matthew Smith  wrote:
> 
> Does anyone know what path I should use?  Stuck...
> 
>> On Jul 13, 2014, at 10:40, Matthew Smith  wrote:
>> 
>> what path should i use?
>> 
>> 
>>> On Sun, Jul 13, 2014 at 10:11 AM, Dave Watts  wrote:
>>> 
>>> > Yes, this code is broken. You have a logic error.  The code inside the
>>> > CFCATCH will only execute of the code in the CFTRY fails.  The syntax
>>> > on the CFCATCH tag is wrong as you have no type declared, and the code
>>> > on the first line inside the CFCATCH is the same as what you just
>>> > tried.  So if it fails on the TRY it will fail inside the CFCATCH.
>>> 
>>> This is all very accurate except for one portion. CFCATCH doesn't
>>> require a type. It's generally recommended that you specify a type,
>>> but in the absence of that attribute it'll simply catch any exception
>>> thrown by the CFTRY.
>>> 
>>> Dave Watts, CTO, Fig Leaf Software
>>> 1-202-527-9569
>>> http://www.figleaf.com/
>>> http://training.figleaf.com/
>>> 
>>> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
>>> GSA Schedule, and provides the highest caliber vendor-authorized
>>> instruction at our training centers, online, or onsite.
>>> 
>>> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358897
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Replicate cache across multiple CF servers

2014-07-17 Thread Russ Michaels

take a look at this
http://ehcache.org/documentation/integrations/coldfusion



On Thu, Jul 17, 2014 at 10:10 PM, Uday Patel 
wrote:

>
> Hi All,
>
> Need help with replicating cache across clustered CF8 servers.
>
> I have an application running on single server and i was caching some
> commonly used data in Application scope. There is a logic tied in my
> caching object such that when data changes the cache is rebuild.
>
> Now we are moving to clustered server environment with 3 three servers. If
> the cached data changes I need to replicate them across other servers. I
> want the other servers to go to database and get new data. How can I
> achieve this.
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358896
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Replicate cache across multiple CF servers

2014-07-17 Thread Uday Patel

Hi All,

Need help with replicating cache across clustered CF8 servers.

I have an application running on single server and i was caching some commonly 
used data in Application scope. There is a logic tied in my caching object such 
that when data changes the cache is rebuild.

Now we are moving to clustered server environment with 3 three servers. If the 
cached data changes I need to replicate them across other servers. I want the 
other servers to go to database and get new data. How can I achieve this. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358895
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Encrypt/Decrypt Files

2014-07-17 Thread Richard Colman

Thank you. Good start.

There is the question of the best way to keep track of keys for various, 
different files; or use the same key for all files without exposing it.

As you can see, I am very much a security novice when it comes to this 
stuff.

On 7/17/2014 2:18 PM, John M Bliss wrote:
> Check out https://wikidocs.adobe.com/wiki/display/coldfusionen/EncryptBinary
> including example at bottom.
>
>
> On Thu, Jul 17, 2014 at 4:10 PM, Bryan Stevenson <
> br...@electricedgesystems.com> wrote:
>


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358894
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Encrypt/Decrypt Files

2014-07-17 Thread Richard Colman

Just to clarify, the problem is not in the transmission, which can be 
accomplished by FTPs, etc.

Once the file resides on the shared FTP server, it needs to be encrypted 
to maintain security.

So, I think the flow is:  (1) transmit plain file up to server, and (2) 
encrypt on the server. Reverse the flow to download.

TNX.

-- Rick

On 7/17/2014 2:10 PM, Bryan Stevenson wrote:
> Hey Rick,
>
> You can use more secure forms of FTP as opposed to getting that
> draconian - just a thought ;-)
>
> I haven't done any file encryption in a while, so I'll bow out on that
> detail - but yes it is doable.
>
> Cheers
>
> *Bryan Stevenson*B.Comm.
> President & CEO
> Electric Edge Systems Group Inc. - makers of FACTS^(TM)
> phone: 250.480.0642
> cell: 250.920.8830
> e-mail: br...@electricedgesystems.com 
> web: www.electricedgesystems.com 
> and www.fisheryfacts.com 
>
> 
>
> Please consider the environment before printing this e-mail
>
> -CONFIDENTIALITY--
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358893
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Encrypt/Decrypt Files

2014-07-17 Thread John M Bliss

Check out https://wikidocs.adobe.com/wiki/display/coldfusionen/EncryptBinary
including example at bottom.


On Thu, Jul 17, 2014 at 4:10 PM, Bryan Stevenson <
br...@electricedgesystems.com> wrote:

>
> Hey Rick,
>
> You can use more secure forms of FTP as opposed to getting that
> draconian - just a thought ;-)
>
> I haven't done any file encryption in a while, so I'll bow out on that
> detail - but yes it is doable.
>
> Cheers
>
> *Bryan Stevenson*B.Comm.
> President & CEO
> Electric Edge Systems Group Inc. - makers of FACTS^(TM)
> phone: 250.480.0642
> cell: 250.920.8830
> e-mail: br...@electricedgesystems.com  br...@electricedgesystems.com>
> web: www.electricedgesystems.com 
> and www.fisheryfacts.com 
>
> 
>
> Please consider the environment before printing this e-mail
>
> -CONFIDENTIALITY--
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358892
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Encrypt/Decrypt Files

2014-07-17 Thread Bryan Stevenson

Hey Rick,

You can use more secure forms of FTP as opposed to getting that 
draconian - just a thought ;-)

I haven't done any file encryption in a while, so I'll bow out on that 
detail - but yes it is doable.

Cheers

*Bryan Stevenson*B.Comm.
President & CEO
Electric Edge Systems Group Inc. - makers of FACTS^(TM)
phone: 250.480.0642
cell: 250.920.8830
e-mail: br...@electricedgesystems.com 
web: www.electricedgesystems.com  
and www.fisheryfacts.com 



Please consider the environment before printing this e-mail

-CONFIDENTIALITY--
This message, including any attachments, is confidential and may contain 
information that is privileged or exempt from disclosure. It is intended 
only for the person to whom it is addressed unless expressly authorized 
otherwise by the sender. If you are not an authorized recipient, please 
notify the sender immediately and permanently destroy all copies of this 
message and attachments.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358891
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Encrypt/Decrypt Files

2014-07-17 Thread Richard Colman

There are lots of examples on using these functions on strings.

However, is it possible to use these functions to encrypt/decrypt entire 
files (not .cfm code files), for example, to maintain security in an FTP 
server, etc.

TNX for any pointers.

-- Rick

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358890
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm