PCTCT and question lastModifed of the file

PCTCT using, is there another way to get the stamp LastModified DT one file other than the action = "listDir"?

I have a scheduled task that hits an ftp server every minute. The file I'm checking is in a folder with a handful of files which are updated constantly, and my code bails out intermittently over the "listDIr". My guess is one of the files are being updated at the moment I do a "listDir", and ColdFusion is unable to read the directory and bundles.

Thanks for reading,
JB

Alexander, first off thank you so much for all the time that you spent with me on this issue. Where I can send you your drink of choice? (I'm not kidding)

The system that I inherited is "mature" enough and has been implemented by the ancients to not take advantage of the file management or application.cfm CF session, so the tip w/session of cflock will probably not work.

Thanks for the 2 code pieces to get the modified DT stamp. However, the reason for which I need to check the updated stamp DT would save bandwidth before grabbing the file in the first place (because I hit their ftp server every minute - maybe I didn't explain that the ILO).

In any case, I tried to apply the idea of jdeline (to put a try/catch around the part "listdir" and keep trying). I basically put in place in the trials to continue trying until he got a "listdir" return success. I noticed that if he missed, it would always get in the second test (to my surprise and relief). So, this is the method I'm going with. So a big thank you to you two!

I call it good so I can finally with another work! Really, thanks again for your time and patience and ideas!

JB

Tags: ColdFusion

Similar Questions

  • I have microsoft fix Center, there a {codec crashes fix} I used it and it has disabled the files I need, can someone tell me how reinable these files to help!

    I have microsoft fix Center, there a {codec crashes fix} I used it and it has disabled the files I need, can someone tell me how reinable these files, help please!

    Hi Shawnmehringer,

    Thanks for posting in the Microsoft Community.

    It would be useful that you can answer these questions to help you further.

    1. have you installed Microsoft Fixit Center on your system?

    2 are. what codec fix you referring?

    3. which files are disabled and you try to activate again?

    If the problem is related to Microsoft Fixit center, you can ask your question on the Forums of Microsoft Fixit to get help.

    Microsoft Fix it Center Forums

    If you need help to resolve any issues related to Windows, please reply and we will be happy to help you.

  • I use LR 6.5 on an iMAC. Files RAF Fuji originally, I imported from an SD card worked and exported in the form of PSD and then after saving the files on an external hard drive RAF erased from Lightroom. I now want to import some RAF b HD files

    I use LR 6.5 on an iMAC. Files RAF Fuji originally, I imported from an SD card worked and exported in the form of PSD and then after saving the files on an external hard drive RAF erased from Lightroom. I now have to import some RAF of the HD files but LR shows them as dazed out and said that they have already been imported when I hover over the thumbnail. I have this problem when importing files in the same HD Canon CR2, and who have been treated exactly the same. Anyone got a clue as to why this is happening? Thanks, Phil

    Hi Phil,

    If Lightroom then reads these as duplicate files, it shows that they are already present in your Lightroom Catalog.

    You can search by file name and check if the image is present in your library.

    Kind regards

    Claes

  • I am unable to change the links page of the site and unable to see the file manager

    I have my site earlier designed by a guy, now he is not in contact, but I am unable to change the links page of the site and unable to see the file manager, even if I opened a session in Panel. admin help, please

    catalyst for business he did

    Did you get the site built through Muse?

    If this is the case then under settings, there will be an option to enable editing for content you will need to check.

    If this isn't the case, then the person who built the site you put authorized role which has no access to certain things, you can see that if you can go into the settings and roles and change it OR contact this person to give access you.

  • I have problem with Muse files when you work at home with my laptop and when I open the files again in my work with my IMac.

    I have problem with Muse files when you work at home with my laptop and when I open the files again in my work with my IMac.

    I do: when I am uncomfortable with the laptop I save the files on the laptop, then on my external hard drive. Then, when I'm at work, I opened the drive, but the Muse says every time, that so many links in the 'active' is missing. And it takes a lot of time to get all the missing link. Like today I had to open a file of Muse from the external hard drive, and there are about 100 links that are missing.

    How can I solve this problem

    the best thing if you are a user of creative cloud is to store the files in a folder in your account of cloud instead of transferring the files from one computer to another.

    If you are not a Subscriber cc then Dropbox or iCloud will work as well.

  • storage, reading and writing data to the file

    Hello world

    I am new to the Labview and his community.  Asked me to acquire data on the measurement of the pressure using Labview.  I could build the code and got it working, but when I look at my data that has been collected, there no stopping point.  I just spent a lot of time looking at the data in the place where it begins and where it ends.  The question I ask is how to create a code to read the pressure, storage, in memory until there finishes, collect data and then to write in a .csv file.

    I use the NI USB-6009 case and hook upwards to ai0 and ai4.  See the attached code so uncertain.

    I want to record 100 data points and the system stops after these collection.

    Thank you

    John H.

    You have a certain time which means your VI will continue to run until you press your button to stop the loop.

    The DAQ Assistant is already set to 100 samples.

    Just delete the while loop!

  • Media player lost all music (but not music videos) and does not load the files in

    Player was working fine, then night emptied all music files and now will load all of the files, but will play them if you transfer to an unsavable playlist

    Hello

    Thanks for posting your query in the Microsoft community!

    I understand that Windows media player has lost all the music. I will try to help you with this question.

    Try these methods and check whether it is resolved:

    Method 1:

    Check the settings of the library in windows media player. Steps to follow:

    i. open Windows media player

    II. click on organize

    III. Select Options, select the Library tab

    IV. in the title of the newsletters of automatic support for files

    v. Select only adds the missing information

    Method 2:

    Rebuild the media database and check if that helps. Follow these steps to rebuild the database:

    i. Click Start, in the search box, type in %LOCALAPPDATA%\Microsoft\Media Player

    II. remove the Media player folder

    III. to restart the computer, the Media player folder will be automatically recreated. Check whether the problem is resolved.

    This problem occurs because the Windows Media Player library database is corrupted.

    Method 3: To resolve this problem, delete the Windows Media Player database. To do this, follow these steps:

    1. exit Windows Media Player.

    2. click on start, run, type %LOCALAPPDATA%\Microsoft\Media Player, and then click OK.

    3. Select all the files in the folder and then click on Delete on the file menu.

    Note you don't have to remove the folders that are in this folder.

    4. restart Windows Media Player.

    Note Windows Media Player automatically rebuilds the database.

    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:

    1. exit Windows Media Player.

    2. click on start, run, type % LOCALAPPDATA%\Microsoft, and then click OK.

    3. Select the Media Player folder, and then click on Delete on the file menu.

    4. restart Windows Media Player.

    Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.

    We can't wait to hear back on your part.

  • I can search for a file "xyz" and find everything BUT the file I want. This happens even when I know that the file exists.

    I try to search for a file... choose any file name... like 'cat' but get everthing that doesn't even look like a cat.  I can get a list of files of a thousand, but anything containing same cat in the filename OR in the file. No idea what I am doing wrong?

    John

    Hello

    "Maybe" there is something in the search Index that is causing a problem or try the advanced options
    Search.

    Windows Search does not work or research are slower
    http://support.Microsoft.com/GP/windows_search

    Troubleshooting Windows Vista search & indexing errors
    http://www.WinVistaClub.com/T24.html

    Reconstruction of the Index in Windows Vista
    http://www.howtogeek.com/HOWTO/Windows-Vista/rebuilding-the-search-index-in-Windows-Vista/
    How to enable or disable the search Index in Vista
    http://www.Vistax64.com/tutorials/69564-index-enable-disable.html
    Improve Windows searches using the index: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/improve-Windows-searches-using-the-index-frequently-asked-questions

    ================================

    Tips for finding files
    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-finding-files

    How to use advanced search in Vista Options
    http://www.Vistax64.com/tutorials/75451-advanced-search.html

    How to restore the page button on the Start Menu after installing Vista SP1
    http://www.Vistax64.com/tutorials/145787-Search-start-menu-button-restore-after-SP1.html

    How to restore the context Menu item search after installing Vista SP1
    http://www.Vistax64.com/tutorials/134065-search-context-menu-item-restore-after-Vista-SP1.html

    How to create a shortcut on the desktop search in Vista
    http://www.Vistax64.com/tutorials/126499-search-desktop-shortcut.html

    ----------------------------------------------------------

    Win Key F opens advanced search

    Searching in Windows Vista, part 1
    http://Windows.Microsoft.com/en-us/Windows-Vista/searching-in-Windows-Vista-part-1-secrets-of-the-search-box

    Part 2
    http://Windows.Microsoft.com/en-us/Windows-Vista/searching-in-Windows-Vista-part-2-Start-menu-and-control-panel-search-tips

    Part 3
    http://Windows.Microsoft.com/en-us/Windows-Vista/searching-in-Windows-Vista-part-3-using-advanced-search-for-those-hard-to-find-files

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Trying to simply open a .html file using file:// on Linux - it is adding an extra slash and do not find the file

    Ideally, I would like to be able to launch Firefox from my Linux command line and just open a file html on my hard drive. Not knowing the exact syntax and do not receive a love on my first attempts, instead, I launched Firefox and typed file://path/to/myfile.html in the address bar. However, instead of seeking to "path/to/myfile.html" Firefox is adding an extra slash and declare that it does not find ' / path/to/myfile.html'. I tried a few variations but seem not to be able to work around this problem.

    Any suggesstions?

    The file: Protocol takes 3 slashes after the colon for some reason any.

    Is your shell allow you to right click on the file and open it in Firefox? That would be the quick and dirty way to discover the path that prefer Firefox.

  • Satellite Pro L10: Question about saving the files on a CD

    Please can someone tell me how I can save a typed document (produced in Word or similar) on the CD? I don't have a floppy drive on my satellite pro L10 portable. Have 'saved' music using the immediate recording before, but now need to record your actual work on the hard disk for transport to a pc with access to a printer.

    When I tried it told me incorrect function, contact administrator (that's me!) I tried CD - R and CD - RW discs and neither would not let me save the file on it. would be grateful for any advice regarding this.

    Thank you

    Hi Roy,

    First of all, you will ned to ensure that you have enabled logging on oprical drive you. For this a right-click on the CD-ROM in my computer icon and then selecting "properties-> recording. Make sure that "Enable CD writing on this drive" is checked.

    Once you have done the above, you can simply drag the documents that you want to copy on the CD-ROM icon in my computer.

    Note that the burning process does not happen immediately. Windows caches the files to be placed on your hard drive first and then you can burn all documents cached only once.

    Alternatively, you may find that some third-party software has been bundled with your portable computer, which performs a similar function the standard Windows CD burn software.

    Kind regards

  • How can I make use of TC partitions and make sure that the file analysis is on the right partition?  I do not see the partitions that I have done in the Finder, but I can drag and drop the files in the folder 'Data' unique under Finder/Shared/TC.

    MacBook Air, OSX 10.10.3, 128 GB; 2 TB Time Capsule ME177LL/A.

    Final objective: use Time Capsule as a Time Machine for my MacBook Air and as a storage solution for large files that I don't want permanently on my MacBook Air.

    So far, I've implemented the TC and set up Time Machine on the TC.  I was able to create 2 partitions on the TC using disk utility then that TM was a backup and the disk was recognizable in disk utility.

    Under Finder/shared, I see the TimeCapsule 'airport', and when I click on it it is a file called "Data".  I was expecting to see my two partitions here.  Under 'Features' is a ' Zissou31 MacBook Air (3)"sparsebundle file and I can also create folders here and drag and drop files on the TC here.  I can see the partitions in disk utility, but how do I see/use the partitions I created in the Finder?

    I fear that this may not be set up correctly and I'm either losing on an entire partition I created or these files dragged/dropped may be at risk of overwriting of TimeMachine.  How can I make sure that the file analysis is on the appropriate partition?

    I disabled TimeMachine and go back to see if I could 'point' to one of the partitions, but the "Data" folder is the only thing that TimeMachine seen.  How do I point time Machine for one of the partitions?

    Thank you!

    In addition, in disk utility, I can see one of the partitions TC is related to the time Machine, indicated by the icon Time Machine green bottom left, but two partitions seem to fall under "Zissou31 of the MacBook Air (3) .sparsebundle.

  • Strain gauge: calibrate, relaxation and to write to the file

    Hello

    I'm new to labVIEW please bare with me.  My title says I'm trying to do.  I want to capture data from strain gauge using a trigger and write data to a file.  However, I also want to be able to calibrate the strain gauges.

    My attached program reads the data correctly with relaxation and stores it in a file, but it does not calibrate properly.  If I run the program several times and press the button "calibrate" each time, finally get gauges calibrated after two or three iterations.

    Is it possible to change the program so that the gauges are calibrated and then data can be triggered and written to the file?

    I'm using LabVIEW 8.6 and NI-DAQmx 8.8.

    A screenshot of the front panel is also attached.

    So I thought about it, but I'm not completely sure why it works.  I didn't remove the loop condition around the calibration block and the program works beautifully.  All I have to do is wait about 20 seconds before I hit the trigger for the calibration to be completed, and my gauges will be calibrated when I pull the trigger.

    This program works very well for this application.  However, it is difficult to change because all parameters are constant in the block diagram.

  • Windows xp, I deleted a user and now I lost the files; How can I get it back?

    I got 2 user accounts. However, never used the 2nd - or so I thought - so I removed it.  When I deleted this user, the file with the same name on the other account also disappeared!  I tried restoring and that did not work.  I knew that one of the names in the file deleted from an excel file and done a search that search in hidden files - nothing.  Help please (Yes that I should have backed up before I deleted - I saved the office but not this file.  sigh:(Merci pour votre aide)

    Hi christinecarrington,

    You can use any third-party application to recover data lost by using your favorite search engine.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • research program box and can not find the file on my computer

    I went to click Start, type cmd, no program and file search box, where to type sfc/scannow to.

    You really should start with your problem rather than how to apply a patch you read.
     
    SFC
    Check the alteration of the file by clicking on Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
     
    sfc/scannow
     
    For the results of the SFC
    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
     
    findstr/c: "[SR] cannot" %windir%\logs\cbs\cbs.log|more "
     
    It will be able to see which files are corrupted.
     
    To see if there
     
    findstr/c: "[SR] repair" %windir%\logs\cbs\cbs.log|more

     
    There are often false positives for small text files that Windows uses like settings.ini and desktop.ini. Ignore these.

  • I created a video with music to publish on DVD and it says that the file is missing and he tells me to go back into movie maker and find it - not sure

    I'm the Director, I created a video with music and when I go to publish on a dvd, the error message says that the file is missing please help

    OK you have imported the various source files into Movie Maker...
    Photos, Video / Audio clips.

    Are all these files still saved on your hard drive? The
    Only project files the path to the files that is they don't
    moved, deleted or are not available in other program
    cannot continue.

Maybe you are looking for

  • why no WI - DI do have laptops?

    why there is no laptop model which has the WI - DI inside feature?

  • Indexing of a table with multiple indexes

    Hi all I just used the detector of Ridge VI on table 1 d with a threshold.  I now have an array of index I need to round to use as a real index.  My question is, with this index corresponding to the points picture, how, I take the peak values To give

  • Acer aspire Advanced page unlocked V3-372

    Hello! I hate the BIOS of the laptop, they are far too limited... Since I bought this machine, I should have a complete control over it. I need to access advanced hidden on my bios settings, but I can't since its hidden... More importantly, I need to

  • Group residential vs network?

    What is the difference between using HomeGroup versus network and what are the advantages/disadvantages of each?P.S. I currenty have two computers using Windows 7 and the other using Vista Home Premium.The HP VISTA computer will soon get Win 7 HP as

  • view object

    Hi allI useConnected to Oracle Database 11g Express Edition Release 11.2.0.2.0I use the Oracle HR schemaI'm learning view idebugprogramnode2.The "BOLD" part, I'm not able to understand.Please help me understang "BOLD" part.CREATE EMPLOYEE_TYPE TYPE I