How to resolve this cfhttp issue

Hi i had site url like this
http://test.com/123/files
and in files folder we have like 10-15 text files like test1.txt,test2.txt,test3.txt...etc
i am using this code to check files exists in server and if file exits then display this user with below code
<cfhttp method="get" url="http://test.com/123/files/test1txt"  />
    <cfset header = cfhttp.header /> 
     <cfif listContainsNoCase(header, "200 OK")>
        <cflocation url="http://test.com/123/files/test1.txt">       
    <cfelse>   
        <cfset request.proginfo.pagemessage="The  file  was not found."/>       
        <cflocation url="stest.cfm"> 
    </cfif>
I have a problem with this , if even my files are there in server i am getting message that file not exits but the file is there in sever and this happens some times and sometimes i am not seeing any error.
Is there any better way to do this as i am using coldfusion8 now.
Thanks

Plz try with
<cfif #cfhttp.statusCode# eq "200 OK">
Proceed
<cflese>
Error

Similar Messages

  • How to resolve this installation issue: checking Oracle home path for space

    Hi everyone
    I am quite new to Oracle. I have been trying to install Oracle 11g on XP and have encountered this issue:
    Checking Oracle Home path for spaces...
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The Oracle Home you have specified contains spaces ( ) in the path.
    Recommendation: You must choose an Oracle Home path that doesn't contain any spaces.
    ========================================================
    How can I solve this problem?
    Could you please let me know.
    Tx
    Yel

    Hi yel;
    Checking Oracle Home path for spaces...
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The Oracle Home you have specified contains spaces ( ) in the path.
    Recommendation: You must choose an Oracle Home path that doesn't contain any spaces.
    ========================================================
    How can I solve this problem?
    Could you please let me know.Please use folder name as ORACLE not ORACLE 10g or ORACLE_10g or ORACLE10 g etc
    Hope it helps
    Regard
    Helios

  • How to resolve this issue??

    I have given box / borders for cells in the table in smartforms. in main window.
    Now when i print with HPlaser the output comes fine.
    But when i use Epson - The borders almost print 5 to 6 times bigger & looks to ugly and even the data is not shown. Meaning the data is overshadowed by the borders of the Cells.
    Tried to reduce the <b>width</b> in the BOX option of TABLE in smartforms. By default it is 15.00 TW.  did not work.
    EPSON is what they want to use.
    Please let me know how to resolve this issue.
    Regards,
    Siva

    Hi Siva,
    Ask them to provide the Diamension of what paper type they
    are using for EPSON, becoz U might have kept paper size
    as A4 and there they might be using INCH12 or some other size
    of paper( not Sure ).So if u can have the Exact paper format that
    they are going to use , u can design ur form in that paper format
    and then check.
    Regards
    Avi.....

  • I've problem with Game Center . I can't sign in Game Center on my iPad . I tap on the Game Center icon but the page is blank. I tried go to setting, my Apple ID appear but the page keep on loading and  nothing pop up. How to resolve this issue?

    I've problem with Game Center . I can't sign in Game Center on my iPad . I tap on the Game Center icon but the page is blank. I tried go to setting, my Apple ID appear but the page keep on loading and  nothing pop up. How to resolve this issue?

    Hi, bamboo64. 
    Try closing all open applications in multitasking and power cycling the device.  Once this is done test the results.  If the issue persists, I have included a couple troubleshooting articles that I would recommend going through. 
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Troubleshoot issues on an iPhone, iPad, or iPod touch
    If you haven't been able to connect to the iTunes Store:
    Make sure your date, time, and time zone are correct in Settings > General > Date & Time.
    Note: Time Zone may list another city in your time zone.
    Make sure that your iOS software is up to date by tapping Settings > General > Software Update (iOS 5 or later) or connecting your iOS device to iTunes and clicking Check for Update on your device's Summary page.
    Check and verify that you're in range of a Wi-Fi router or base station. If you're on a device with cellular service, make sure that cellular data is turned on from Settings > General > Cellular.
    Note: If connected to cellular data, larger items may not download. You may need to connect to Wi-Fi to download apps, videos, and podcasts.
    Make sure that you have an active Internet connection. You can check the user guide for your device for help with connecting to the Internet.
    Make sure that other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    Try resetting (turning off and then on again) your Wi-Fi router.
    If the issue persists, try troubleshooting your Wi-Fi networks and connections.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Cheers,
    Jason H. 

  • Hi! I have a MacBook and I am trying to delete files from Microsoft Word. Somehow I cannot simply throw them in the trash. Does anyone know how to resolve this issue?

    Hi! I have a MacBook and I am trying to delete files from Microsoft Word. Somehow I cannot simply throw them in the trash. Does anyone know how to resolve this issue?

    Why not? Are there error messages? Where are the files located? Why are you deleting MicroSoft Word files?

  • HT1689 I just upgraded to iTunes 11 and now I get a "itunes cannot connect with this ........ Could not allocate a resource. Happens with both ipad and iPhone. Any thoughts on how to resolve this issue?

    I just upgraded to iTunes 11 and now I get a "itunes cannot connect with this ........ Could not allocate a resource. Happens with both ipad and iPhone. Any thoughts on how to resolve this issue?

    Same for me with Iphone 5 and IOS 7 on mac pro. Install ITunes 11.1 and after reboot nothing work. Work only with Mac Pro in safe mode.
    I have uninstalled Wi-fi-sync1.0 app from MacPro and Itunes sync well with iphone.

  • HT201328 There's an icon symbol of a lock with an arrow circleing it how can I find out what this is and just how to resolve this issue?

    I turned the iPhone on to find out that there's a lock with a circle with an arrow arroubd it! Can any one out there give me any advise on just how to resolve this issue?

    Please check your duplicate post for answers already provided.
    https://discussions.apple.com/message/24278034#24278034

  • I have installed windows 8 on my mac book pro with bootcamp 4 and the issue is whenever i open windows 8 , It hangs after 15 minutes and does not work . How to resolve this issue?

    I have installed windows 8 on my mac book pro with bootcamp 4 and the issue is whenever i open windows 8 , It hangs after 15 minutes and does not work . How to resolve this issue? Is it compatibility issue ?

    Please also see Boot Camp: Set the default operating system.

  • I cant update ios software to my ipod touch..it is interrupting while downloading...how to resolve this issue?

    i cant update ios software to my ipod touch..it is interrupting while downloading...how to resolve this issue?

    Did you check your security software settings? iTunes for Windows: Troubleshooting security software issues
    iTunes has to be able to contact Apple during the  process.

  • Grid valueAT  is out of range  how to resolve this issue.

    hi
    i am created one forumula in that i am used 5 fileds values but one filed value is 0 that reason i am getting this error *grid valueAT  is out of range*  how to resolve this issue.

    Hi ,
    Can you please explain bit further
    What king of formula you wrote ?
    Where do you wanna place it ?
    The value zero is it null value if it is yes go to file-> options ->reporting tab -> check convert null value
    If it is not the expected answer let me know the issue in detail.
    Regards,
    Neo.

  • TS1702 pre installed Maps software is not showing directions as it was showing previously , how to resolve this issue

    A pre installed software , Maps , not showing direction between two locations , as it was showing previously , it can't be removed even , since pre installed , plz help how to resolve this issue , regards

    Not all features are available in all countries.  This article explains:
    http://www.apple.com/ios/feature-availability/

  • When i type the wesite in the address bar and hit ENTER, it seems to be not working for me; anybody knows how to resolve this issue?

    When i type the wesite in the address bar and hit ENTER, it seems to be not working for me; anybody knows how to resolve this issue? i have to click on the green arrow button to continue.

    Do you have that problem when running in the Firefox SafeMode?<br/> ''A troubleshooting mode.''<br />
    You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut. Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut to open it again.''
    If not, see this: <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Not able to acess app store .. Tried every thing with ... Dns change .. Time chage.... Reset... Location services .suggest me how to resolve this issue

    Not able to acess app store .. Tried every thing with ... Dns change .. Time chage.... Reset... Location services .suggest me how to resolve this issue

    Hi aditya123,
    If you are having difficulty connecting to the App store from your iPhone, you may want to try the steps in this article -
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Specifically -
    Troubleshoot issues on an iPhone, iPad, or iPod touch
    If you haven't been able to connect to the iTunes Store:
    Make sure your date, time, and time zone are correct in Settings > General > Date & Time.
    Note: Time Zone may list another city in your time zone.
    Make sure that your iOS software is up to date by tapping Settings > General > Software Update (iOS 5 or later) or connecting your iOS device to iTunes and clicking Check for Update on your device's Summary page.
    Check and verify that you're in range of a Wi-Fi router or base station. If you're on a device with cellular service, make sure that cellular data is turned on from Settings > General > Cellular.
    Note: If connected to cellular data, larger items may not download. You may need to connect to Wi-Fi to download apps, videos, and podcasts.
    Make sure that you have an active Internet connection. You can check the user guide for your device for help with connecting to the Internet.
    Make sure that other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    Try resetting (turning off and then on again) your Wi-Fi router.
    If the issue persists, try troubleshooting your Wi-Fi networks and connections.
    It looks like you have already done many of these, but there are a few more to check out.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • HT1766 After IOS 7.0.4 Updation My ipad 4 started to turn off frequently and i cannot use the ipad morethan 5 minutes, how to resolve this issue.

    After IOS 7.0.4 Updation My ipad 4 started to turn off frequently and i cannot use the ipad morethan 5 minutes, how to resolve this issue.

    Try reset all settings
    Settings>General>Reset>Reset All Settings
    Note: Data will not be affected but settings will be reset.

  • My ipad's screen has gone completely blank. I can't see anything. Have attempted to update and restore it, but to no avail. Does anyone have an idea on how to resolve this issue?

    My ipad's screen has gone completely blank. I can't see anything. Have attempted to update and restore it, but to no avail. Does anyone have an idea on how to resolve this issue?

    Try Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

Maybe you are looking for

  • Reversal of Asset accounting document in different fiscal years

    Hello All, i have one query where the user has scrapped the assets through T code ABAVN in the month Dec 2009 with doc date of Nov 30th 2009. Now he realised that the posting was wrong and he wants to reverse it in 1st of Jan 2010. Now system is givi

  • Problem with Graphics and JPanel...

    I would like to draw a rectangle on a JPanel. Here is my code: JPanel panel = new JPanel(); Graphics g = panel.getGraphics(); g.drawRect(20,20,20,20); When I run my program, I have a NullPointerException... Do you any suggestions to fix the problem??

  • Blue Screen and data lost after rescue n recovery during F11 operation

    when I start my T61 Laptop, i get complete blue screen with no addition error window. Pl. suggest solution to this problem. Moderator edit: problem added to subject line for clarity.  Message Edited by Agotthelf on 21-07-2009 10:40 AM

  • Merging clips after splitting

    Hello, I have a video which has been filmed horizontally and moved vertically within the same piece of filming. I have split the video into three parts in order to rotate a section of the video to make it all look horizontal. This is in iMovie Projec

  • Security sync issue with a newly create group

    We have created some groups like A to D . in that for C we are not able to refresh the security . we have added 2 users only. later we have deleted the group and created the same. even then also we are not able to find the group or not able to do ref