Hello everyone,
I have been bothered by this for a while.
I have a cfm page that is doing a process of extracting data
and ftp to locationA. I have this running for about two years. Then
there came the need to do the same process and ftp to locationB. I
did not want to repeat the process, so I added ftp locationB at the
end of the program, to use the same data file
The process runs well all the time when I only had
LocationA. The problem is locationB ftp server sometimes would
close and not to let me connect. this would stall the whole process
(I gues it was a rollback feature in cold fusion?), including the
steps of ftp to locationA, even though locationA's connection was
fine and open.
Is there a way in Cold fusion pages to abandon a step that
fails? In this case, I can put the code to ftp locationB in a
template. If this template fail, go on to the the next line in the
main page and not to quit the whole thing? I have seen this in
other programming languages which have the "abort" function.
Thanks in advance,