I'll just share an observation and perhaps a help for Dan and others: when
doing FTP, while there are lots of tools to do the transfer (including CF
Studio itself), one feature I always leveraged when I was doing that was to
use a tool (like CuteFTP, or others) where you can set the interface to
display the remote and local file directories at once. 

Further, most of those also have a means to flag any files that are not
equivalent (ignoring time stamps). That was often invaluable for
detecting/preventing errors just like this one Dan describes. (Also helps
you catch when you forgot to upload something.) You couldn't help noticing
when there was a problem, as it stuck out in color or something. 

Even if one prefers their current FTP tool, still another to consider is
something like BeyondCompare (http://www.scootersoftware.com/). There's a
generous free trial (counts days used, not days since installation), and
it's only $30 to buy. More than just for local/FTP comparison, it can be
used to compare any directory to another (or a file to another). Yes, there
are many alternatives. No need for us to list all our favorites.  Just
suggesting that they can help solve this FTP file synchronization dilemma as
well. (Indeed, there are tools whose only job is to keep a local and a
remote directory synchronized, if indeed that's what one wants. If you need
manual control, though, I'm proposing that these are nice tools in the
toolbelt.)

BTW, the beyondCompare site even has a couple of technotes devoted
specifically to challenges of synching with FTP sites:

http://www.scootersoftware.com/support.php?c=kb_ftpdifferent.php
http://www.scootersoftware.com/support.php?c=kb_crc.php

HTH

Charlie Arehart
CTO, New Atlanta Communications, makers of BlueDragon
(678) 256-5395 [EMAIL PROTECTED]
www.newatlanta.com/bluedragon/

 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dan
> Sent: Friday, May 20, 2005 3:36 PM
> To: [email protected]
> Subject: RE: [plum] Context validation error for tag cfcase
> 
> ::: Further investigation reveals the *real* problem :::
> 
> Adam's discovery that the custom tag file was in fact missing 
> a large body of code got me thinking: how could that have 
> happedend? Was it in fact the lockup/reboot I experienced 
> this week or something else? And why was the app working for 
> me locally but not remotely?
> 
> So I went back and started looking at file sizes between my 
> local dev server and the remote dev server and FOUND A DIFFERENCE.
> 
> The custom tag file, ValidateInput.cfm is 11kb on my local 
> machine and is 3kb on the staging server.  How could this be? 
> I had simply FTP'd the entire folder last night.
> 
> Well last night around 6-to-9 PM when I was uploading the 
> project files I was experiencing noticeable, and often 
> extreme, slow transfer rates.  I had contacted the system 
> admin at the staging server but he didn't know why the rates 
> were slow.
> 
> Well this morning the sys admin reported to me " There seems 
> to have been an "Internet-wide" outage/slowdown earlier, 
> possibly caused by a Sprint fiber cut two days ago and them 
> trying to get back up to speed. "
> 
> All of a sudden it made sense, there must have been a problem 
> during my FTP process and I was unaware of it because the FTP 
> request did finish.
> 
> And then when I tested the site this morning and got the 
> error that only occurred there and not locally my first, and 
> only, thought was that there must be something different in 
> the two environments.  I had assumed that the files were the 
> same when in fact they weren't.
> 
> And so that old adage about what it means to assume... comes 
> back to bite me.  It almost makes me laugh remembering a 
> Microsoft Tech Support document that listed as Step 1: is the 
> computer plugged in? Step 2: Can you verify there is power to 
> the outlet? 
> 
> And so, yes, I have learned something today about being 
> careful about what I assume to be the case, and how to do 
> some basic checks, as obvious as they may seem, before crying 
> the sky is falling.
> 
> My apologies and respectfully to all,
> 
> 
> Dan Kaufman
> 
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Adam Churvis
> Sent: Friday, May 20, 2005 2:21 PM
> To: [email protected]
> Subject: Re: [plum] Context validation error for tag cfcase
> 
> Dan,
> 
> You have removed almost all of the code from within your 
> ValidateInput custom tag -- that's why it doesn't work anymore.
> 
> As I have begged and pleaded with you many times so far, 
> *PLEASE* institute a source code control application -- 
> preferrably Visual SourceSafe from Microsoft.  Source code 
> control is a necessary tool for every programmer so that you 
> can discover, eliminate, and recover from such problems on 
> your own.  It's what we used to discover your problem in 
> about eight seconds.
> 
> Please don't take this the wrong way, but we simply can't 
> afford to support developers free of charge with such 
> intensity when they won't support themselves with tools that 
> are necessary to the trade.  This is unfair to us as the ones 
> who foot the support bill, and it's unfair to others on this 
> list who are inundated with unnecessary problem posts.
> 
> Note the word "unnecessary"; we are more than happy to 
> support bona fide problems with using Plum as it is 
> supported, and when developers are taking the necessary steps 
> using the necessary tools to try to solve their own problems.
> 
> Respectfully,
> 
> Adam Phillip Churvis
> Member of Team Macromedia
> http://www.ProductivityEnhancement.com
> 
> Download Plum and other cool development tools, and get 
> advanced intensive Master-level training:
> 
> * C# & ASP.NET for ColdFusion Developers
> * ColdFusion MX Master Class
> * Advanced Development with CFMX and SQL Server 2000
> 
> ----- Original Message -----
> From: "Adam Churvis" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, May 20, 2005 1:46 PM
> Subject: Re: [plum] Context validation error for tag cfcase
> 
> 
> > Dan,
> >
> > Please follow my instructions *EXACTLY* without doing 
> "something that's
> just
> > like it" or "the exact equivalent" or anything different in 
> any way from
> > exactly what I'm instructing you to do:
> >
> > 1) FTP back down to your machine the custom tag from the 
> server that is
> > throwing the exception.  Be very mindful of the exact 
> location to which
> you
> > FTP'ed it on your machine.
> >
> > 2) Do *NOT* open this tag.
> >
> > 3) Email this tag as an attachment to 
> [EMAIL PROTECTED]
> >
> > Respectfully,
> >
> > Adam Phillip Churvis
> > Member of Team Macromedia
> > http://www.ProductivityEnhancement.com
> >
> > Download Plum and other cool development tools,
> > and get advanced intensive Master-level training:
> >
> > * C# & ASP.NET for ColdFusion Developers
> > * ColdFusion MX Master Class
> > * Advanced Development with CFMX and SQL Server 2000
> >
> > ----- Original Message ----- 
> > From: "Dan" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Friday, May 20, 2005 10:19 AM
> > Subject: [plum] Context validation error for tag cfcase
> >
> >
> > I have moved my Plum project "BCC" from my localhost dev 
> server to my
> remote
> > staging server.
> >
> >
> >
> > I am getting the following error when running /login/loginform.cfm
> >
> >
> >
> >
> >
> > Context validation error for tag cfcase.
> >
> >
> >
> > The start tag must have a matching end tag. An explicit end 
> tag can be
> > provided by adding </cfcase>. If the body of the tag is 
> empty you can use
> > the shortcut <cfcase .../>.
> >
> >
> >
> >
> >
> >
> >
> > The error occurred in 
> C:\websites\bccdev\customtags\ValidateInput.cfm:
> line
> > 79
> >
> >
> > 77 :
> > 78 :                   <!--- Integer --->
> > 79 :                   <cfcase value="integer">
> >
> >
> >
> >
> >
> > Does anyone know what could be different in my staging 
> server environment
> > that might be causing this error?  Believe me, I have not 
> opened the file
> > ValidateInput.cfm, so I'm confident this error is not a result of my
> messing
> > with the Plum framework.
> >
> >
> >
> >
> >
> > Thanks,
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Dan Kaufman
> >
> >
> >
> >
> >
> >
> >
> > An Elephant Never Forgets
> >
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > 
> **********************************************************************
> > You can subscribe to and unsubscribe from lists, and you can change
> > your subscriptions between normal and digest modes here:
> >
> > 
> http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
> > 
> **********************************************************************
> >
> 
> 
> **********************************************************************
> You can subscribe to and unsubscribe from lists, and you can change
> your subscriptions between normal and digest modes here:
> 
> http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
> **********************************************************************
> 
> 
> 
> **********************************************************************
> You can subscribe to and unsubscribe from lists, and you can change
> your subscriptions between normal and digest modes here:
> 
> http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
> **********************************************************************
> 


**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:

http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************

Reply via email to