The title says it all, but I will detail.
-you are on ColdFusion 8
-and using the CFFTP tag with action=”listdir”
-and the remote FTP folder is on a UNIX system
CFFTP will not list the files and folders having last modification date 29 February.

Why this happens?

Apparently, because of a bug in the FTP client used by ColdFusion. The FTP client is Apache Commons NET – FTPClient, and according to this article:

The Unix ftp server returns the date in the format “MMM d HH:mm”. No year info is supplied.
This caused problems, of course, since Feb 29 is not a valid day in the default year 1970.

When was this discovered?

According to this thread on Adobe Forum, it was first reported on 29 February 2008:

CFFTP from one Red Hat AS 4 server to another Red Hat AS 4 server is not retrieving files with modification dates of February 29 2008. The files simply don’t show up in the listing. They do show up in every other FTP and SFTP program I’ve tried, including command-line FTP from the system trying to CFFTP and from other systems on the network. It appears to only be affecting CFFTP TO a unix/linux system.

When was this bug fixed?

Today, 26 April 2012, the bug is still present. As one users points out:

It happened again in 2012!
On windows 2003 server with CF 8
Come on Adobe. Neglected this one for 4 years cost me 5 hours of work today.

One can argue that it is not a ColdFusion bug, it’s an Apache FTPClient bug. But when this bug is affecting the correct function of ColdFusion, then an action is necessary. Moreover, when behind ColdFusion is a company the size of Adobe, there’s really no excuse for not fixing it for more than 4 years.

Flex 4.5: the certification

Written on 18 October 2011, 03:45pm

Tagged with: , , ,

A few days ago I passed the exam for becoming Adobe Certified Expert in Flex 4.5. Now I want to share my experience about the exam.

1. A little background

Because most of my working experience is in ColdFusion and PHP, I approached Flex more like a hobby. I wanted to have a better grip of the RIA concept and event-driven architecture. I started to use it also in real life, but it’s only 3 months ago when I started the preparation for the exam.
I read two Flex 4 books (both published in November 2010):

  1. “Learning Flex 4: Getting Up to Speed with Rich Internet Application Design and Development” by Alaric Cole, Elijah Robison [#]
  2. “Flex 4 in Action” Tariq Ahmed, Dan Orlando, John C. Bland II, and Joel Hooks[#]

While the first one provided a quick-and-easy approach to Flex, the second one came to consolidate my overall Flex knowledge. I recommend them both, preferably in the same order.
Aside from the books above, the Livedocs where always the reference. The problem was that I had to switch from ActionScript documentation, to Flex 4.5, to AIR, and even data services livedocs. Making sure that I am always reading the latest version was a concern, as Google sometimes shows first the old resources (AS 2, Flex 3, etc).

2. Preparing for the exam

After reading and reviewing the two books above (I keep Google Docs notes :)), I bought the Attest 3 exam engine. I learned a surprisingly lot more from there, especially in the AIR and design patterns sections, barely covered in the books. The links to the Livedocs were quite helpful, even though they were pointing to the Flex 3 version and I had to manually switch to the latest Flex version. My test results started from about 70%, and got up as the questions started to repeat (they say the total number of questions is 200+).