Answered
CFFTP error after 8.0.1 upgrade - LISTDIR
Here's the affected code:
---------------
<cfftp action="OPEN" username="ommitted" transfermode="auto" password="ommitted" connection="ftpconn" server="ommitted" stoponerror="no">
<cfftp action="LISTDIR" connection="ftpconn" name="dirlisting" stoponerror="yes" directory="/" timeout="120" retrycount="3">
----------------
It worked fine in CF8, however when I upgraded to 8.0.1 it fails every time.
I have attempted to research the topic and have only found vague references to JVM 1.6 causing the issue, or increasing the JVM heap size. Perhaps the problem is related to the number of files in the directory? There are, at any given time, 20k+ files in the directory.
I have also attempted to move the timeout / retry to the "open" tag instead, and I've tried a few other things. I'm currently attempting to remove files in the directory and retrying in an effort to get it to work. However, if this does work it is a short-term fix as the file count will grow again in short order.
Any ideas?
---------------
<cfftp action="OPEN" username="ommitted" transfermode="auto" password="ommitted" connection="ftpconn" server="ommitted" stoponerror="no">
<cfftp action="LISTDIR" connection="ftpconn" name="dirlisting" stoponerror="yes" directory="/" timeout="120" retrycount="3">
----------------
It worked fine in CF8, however when I upgraded to 8.0.1 it fails every time.
I have attempted to research the topic and have only found vague references to JVM 1.6 causing the issue, or increasing the JVM heap size. Perhaps the problem is related to the number of files in the directory? There are, at any given time, 20k+ files in the directory.
I have also attempted to move the timeout / retry to the "open" tag instead, and I've tried a few other things. I'm currently attempting to remove files in the directory and retrying in an effort to get it to work. However, if this does work it is a short-term fix as the file count will grow again in short order.
Any ideas?
