Cfftp and file's lastModifed question

Using cfftp, is there another way to get a file's
LastModified DT stamp other that using action="listDir"?
I have a scheduled job that hits an ftp server every minute.
The file I'm trying to check is in a folder with a handful of files
that are all constantly updating, and my code intermittently bails
on the "listDIr". My guess is one of the files are being updated at
the moment I'm doing a "listDir", and ColdFusion can't read the
directory and bails.
Thanks for reading,
JB

Using cfftp, is there another way to get a file's LastModified
DT stamp other that using action="listDir"?...The problem is
listDir does more than I need (i.e., gets meta data for everything
in the ftp directory). I just need the modifed DT stamp for one
file. But I can't figure out any other way to get it than to list
the whole directory and parse through that.
I, too, might need such a functionality. Here is something I
found. Download the
free
version of edtFTPj. It is a ZIP file. Extract it. Copy the JAR
file, edtftpj-1.5.2.JAR, to Coldfusion's lib directory (e.g.
c:\cfusionmx7\lib on my machine). Restart Coldfusion, to update it
with the new JAR file.
The code below assumes the following:
FTP server: ftp.juliebread.com
username: BKBK
password: kbkb072
File whose 'last modified date' you need:
ftp://ftp.juliebread.com/testdir1/testdir2/report.xml
For more information, go to the
edtFTPj
website. There you will find information about
the
edtftpj API and, in particular, about the
FTPClient
class.

Similar Messages

  • Grey screen and file icon with question mark appearing at startup on old model macbook

    We own  a very old model macbook and the startup screen appears as grey and an icon appears in the shape of a file with a question mark in the middle and the startup does not proceed from there. Any help would be much appreciated.
    Thanks,
    Athula

    Some things to check/try in no particular order:
    https://support.apple.com/kb/TS1440
    http://support.apple.com/kb/ts2570
    https://discussions.apple.com/docs/DOC-5282

  • Database Toolkit Sub query Syntax and file path expectation question.

    I need some assistance from those of you smarter than I. 
    I have two database files (not two tables in the same database file) one represents information delivered from an external interface, and the other is used by the internal interface associated with the processing half of my application.  Data is received (i.e. fields are populated)  from the external interface to one database file and that data is then copied to another database file where the information will be processed by the internal interface. This is being done because I am worried about  file access issues that might occur if two different interfaces (external & internal) try to access the same file at the same time (without dealing with semaphores). I am not too worried about the sanctity of the data since each record supplied from the external interface should not effect any of the data being used by the internal interface.  So the first question is , am I being to primitive in my thinking assuming that I would run into file access issues if I were to just use two tables in the same database file for the same purpose ?
    My second question is related to my current implementation where I have two separate database files representing the external and internal interface data. Currently when a new set of data is entered into the External Interface Database file, an alert is issued, and another task copies the data from that file into Internal Interface Database, then the data is deleted from the External Interface Database file. My question is related to the syntax that I am using to provide the described functionality. I am currently using a INSERT with a subquery to the External Interface Database file i.e. INSERT INTO InternalDB FROM  ExternalDB.ExternalTable WHERE Order =  '06306049'; .
    My question is when I run this query with both database files in same directory I get an error stating that the ODBC driver can not find the ExternalDB.ExternalTable in the Parent Directory of the subdirectory where the files are actually located. The system DSN is set up correctly for the ExternalDB, and if I move it to the parent directory the query works correctly, my question is why would I have to put the two database files in seperate directories for this to work and is there a way to avoid this ?
    Thanks..
    Brad W

    Thanks for responding Brian -
    The message I get is Error Code -2147467259
    Conn Execute.vi->InsertIntoFrom.vi<ERR>Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC Microsoft Access Driver] Could not find file 'C:\Project\APDSS\DataBase\ExternalInterface.mdb'. in Conn Execute.vi->InsertIntoFrom.vi
    When my query looks like
    INSERT INTO InternalInterface SELECT Field1, Field2 FROM ExternalInterface.ExternalTable WHERE Id = '065649-101-750';

  • I have a white intel i mac and when i boot up a file with a question mark shows up

    i installed wnow leopard and then attempted to use boot camp to install windows (thats a whole other story though) after i got windows on it and then got it back to the mac side i found i could not get back to the windows side so i attemted to delete the windows partition and recreate my full mac partition (thats not as easy as i thought it would be, anyway i ended up with a partition that said it was the alloted mac partition space and another one, that apperead smaller in disk utility, that said it was 160 gb (my total disk size) while i was trying to fix that i hit the power strip switch with my foot and the whole thing shut down when it booted back up the only thing on the screen was a file with a question mark on it, i think it is just booting from the misconfigured parition but im not sure ive tried inserting my snow leopard and xp system disks but it doesnt seem to be booting from them.

    At startup hold down the Option/Alt key t bring up the One time Boot Selection, Startup Manager, screen and then select the OS X install DVD. Give it about 30+ second for the DVD drive to read and display the OS X install DVD.
    Then use Disk Utility to Repartition the drive as one partition and then try installing OS X.
    Could be you simply killed that drive with all the new installs of OS X and then Windows and then using Disk Utility to erase the Windows partition. If that is the case you'll need to replace the drive before you'll be able to reinstall any OS on it.
    In any event Never use Disk Utility to erase a Windows install. Use the Boot Camp Assistant a second tim to Remove Windows and the partition it is installed on.

  • MacBook Pro flashes file folder with question mark and startup manager will not run

    My son's MacBook Pro won't boot (gets the flashing file folder with question mark).  When I try to open startup manager (holding "option" key during boot does not do it).  Other posts suggest inserting the install disk, but I am pretty sure that for Lion, there was no disk, it was just off the website through the App Store.  Any further suggestions?

    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • Time Machine and File Vault question

    I just completed a clean install of OS x mavericks and then used my time machine back up to restore the mac.
    The whole process was confusing for many reasons and I just want to get some clarification/verification on my next actions.
    When I enter time machine preferences and click select disk. It gives me two choices. One in the group Back Up Disks and One in available disks. The confusing I have is that it is the same external hd. So which should I pick if I want to keep my original time machine backups?
    The other question I have is, this whole journey started with me wanting to turn on file vault. I am using a late 2012 Mac Mini updated to Mavericks came with Mountain Lion.
    Should I be able to use both an encrypted time machine (external hd) and file vault?
    Thanks for the help.

    The difference is that do yo want to combine the backus you made before with the previous backups (group Back Up Disks) or start a whole new backup (available disks). Either option will retain the previous backups unless you overtly delete them. I would select that later to start a new set of backups.
    See the following for using FileaFault with Time Machine
    http://apple.stackexchange.com/questions/46833/with-file-vault-on-are-time-machi ne-backups-encrypted
    http://kb.mit.edu/confluence/display/istcontrib/Enable+FileVault+(whole+disk+enc ryption)+on+Time+Machine+backup+drives+on+OS+X+10.9

  • Hi I installed a new hard drive in my Mac mini osx lion an when I turn it on I get a flashing file with a question mark. I tried holding command and R keys when turning it on but the recovery fails to work. Does any one know how I can get it to recover?

    Hi I installed a new hard drive in my Mac mini osx lion an when I turn it on I get a flashing file with a question mark. I tried holding command and R keys when turning it on but the recovery fails to work. I can hold the option key at start up and choose my network, then Internet recovery shows up with an arrow pointing up. When I click on the arrow Internet recovery fails and all I get is a globe with a triangle on it with an exclamation mark on it, and under that it says
    apple.com/support
          -6002F
    Does any one know how I can fix this without a recovery disc? Thanks

    I just want to add to this, in case someone else searches for this error on Apple Support (google doesnt cover apple support.. how clever is that?)
    I had the same error. And i had a Computer that had worked, with a SSD drive and 16GB upgrade done by the owner himself.
    I tried swapping with a Mechinal Harddrive, no luck.
    Kept the Mechanical drive in, and tried with some other Ram, it worked..
    So for me this error and after reading the other responses can be boiled down to a Harddrive problem or Ram issue.
    It was Ram for me..

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • Hi can anyone help with a mac that had magnet put on it. I turned it on and then off but a white screen appears with a file with a question mark on it?

    Hi can anyone help with a mac that had magnet put on it. I turned it on and then off but a white screen appears with a file with a question mark on it?

    File icon with ? mark on it means it can't read from the hard drive. The hard drive is now wiped or bad. If just wiped then you will need to reinstall your operating system, OS X. If bad you will need to replace the drive.
    Start with booting the computer from the OS X install DVD that came with your system. If the Mac came with Lion Pre-Installed then you use the Lion internet recovery system to reinstall (Hold down Command+r keys or Command+Option+r keys to boot the computer from over the internet to the Lion recovery HD system).
    Good Luck.

  • I powered up my macbook and there is a file folder with question mark on the screen flashing.  What does that mean?

    Powered up Mac book and screen showing file folder with question mark flashing? 

    A flashing question mark appears when you start your Mac
    Hope that solves your issue.

  • I've got a 15" white macbook which I bought about 2 years ago. It froze the other day and wouldn't respond so I shut it down. When I turn it on now it comes up with a flashing file with a question mark on it. How can I fix it?

    I've got a 15" white macbook which I bought about 2 years ago. It froze the other day and wouldn't respond so I shut it down. When I turn it on now it comes up with a flashing file with a question mark on it. How can I fix it? I've tried a few things i've seen online but the futhest ive got is to put the start up disk in when you makes it go to a grey screen with an apple logo and the spinning wheel which then stops spinning. Can anybody help?

    That folder with the question mark icon means that the MacBook can't find the boot directory. That can either mean it can't find the hard drive or the Operating System data on the hard drive is somehow corrupted.
    Put your install DVD into the optical drive and reboot. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option key until the Install Disk shows up). That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Just press the Return key on your keyboard once.It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. When it comes up is your Hard Drive in the list on the left?
    If it is then click on the Mac OS partition of your hard drive in the left handlist. Then select the First Aid Tab and run Repair Disk. The Repair Disk button won't be available until you've clicked on the Mac OS partition on your hard drive. If that repairs any problems run it again until the green OK appears and then run Repair Permissions.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

  • When I start MacBook Pro13 shows gray Screen and flashing file Image with question mark

    When I start MacBook Pro13 shows gray Screen and flashing file Image with question mark , it's brand new I just receive it from Apple Store .

    Startup Manager to select Startup disk.
    http://support.apple.com/kb/HT1310
    Repair Disk
    Steps 2 through 8
    http://support.apple.com/kb/PH5836

  • HT3964 I just opened up my MacBook Pro after a few days of not using it and it was frozen. I turned it off and back on and all I see is a white screen, there was a file with a question mark flashing for a bit but I can't do anything, please help me!!

    I just opened up my MacBook Pro after a few days of not using it and it was frozen. I turned it off and back on and all I see is a white screen, there was a file with a question mark flashing for a bit but I can't do anything, please help me!!

    Jerricayoung,
    you have a 13-inch Mid 2012 MacBook Pro. It’s modern enough that it supports booting into Recovery mode. To do so, hold down a Command key and the R key as you start up. It should eventually show a Mac OS X Utilities menu. Select Disk Utility from that menu; when the Disk Utility window appears, select the bootable volume from the left-hand side of the window. (It’s typically called “Macintosh HD”.) When the volume is selected, some buttons will appear on the right-hand side. If it’s not greyed out, press the Verify Disk button; if it is greyed out, or if it reports on errors that it found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu; that will restart your MacBook Pro in its normal mode. With luck, that will be enough to get you to your normal login screen, rather than the white screen.

  • My MacBook Air, once pressed the power button, comes up with a file containing a question mark. I have tried re-starting it but this logo continues to appear and will not go. I cannot log onto my mac. Any suggestions as to what this is please?

    My MacBook Air, once pressed the power button, comes up with a file containing a question mark. I have tried re-starting it but this logo continues to appear and will not go. I cannot log onto my mac. Any suggestions as to what this is please?

    You need to reinstall OS X:
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • New user and disgusting features - solveable questions?

    Hello all there
    I am a new iPod owner, migrated from a hateful 2 year old (now completely broken due to hate) MP3 player, and despite there are some interesting features, I have found some others that are making me considering asking my money back.
    Luckily I have no problems regarding USB or other things as a lot of you have experienced, I put the CD first of all and installed everything. No problems installing anything and the device was happily detected as an extraible unit which I liked very much (my previous player appeared as a "thing" instead as a drive)
    Its sound is pretty good, I like the sound I get. It's pretty customizable in terms of menus, and some other things like simplicity, despite there are things like the touchpads that I will never like and this is no exception, but this one works finer than any I have tested.
    What I don't have liked up to date, and I own it for 2 days (it's november 2nd), are some ugly or very ugly (should I say very very ugly? :D) features it lacks or it's designed to lack of. I like music very much and so I want it to be played the best way a player can provide. I also want players to be simple as a plastic duck mechanism, and somehow this player fills the bill, but not in these cases I want to expose and ask.
    1) 10 GB already copied and no album/artist/genre displayed
    Of all my media library, consisting of a folder with subfolders and files inside these subfolders (and no 'simple icon' for any program), where I do the things I want, like extracting songs from my CDs and turning them into MP3 files inside folders with the name "Band - Album", I chose folders for a size of 10 GB and, via explorer, copied & pasted on the root of the new drive, the iPod.
    No album/artist/genre/simple thing was found when I ejected the drive and started to browse.
    I must say, it froze twice before and after the copy. Luckily I knew, from reading the manual, how to make it work again. I expect things to freeze, despite it only shows bad programming from the company.
    But I saw the library as before I put it on for the first time. And there are 10 GB of MP3 files.
    My first question I asked to myself was: should I use the iTunes? I answered myself: I can't be bothered to be slaved to use a program with a player. That's one of the things I hated from my old player. And this one appears to be a removable drive. Good. But there are 10 GB of MP3 files and I can't play any of these albums.
    Somehow I used the iTunes and it started to do things. Like copying a whole folder with my albums (ALL OF THEM!!!!) to the player, or so it seemed to me. Well, first of all I don't want a program to copy everything it wants by simply saying it "This is my media folder where I decide what to be played here" (something like importing library was selected or pushed, I can't remember). I aborted it quickly as I saw the bar. FFS, to have a structured folder of my media doesn't mean I want ALL OF IT inside my player!!! How on earth you want me to select among 3,500 songs if you display them all to me in a complete raw list!!! Anyway, in the process it seemed to copy 3 albums before I stopped (needless to say, these albums were already in the player!!!). 2 were "sorted" and one was "unsorted", I mean, in the correct song order. The "unsorted" was alphabetically done according to WHATEVER so the order was never pure.
    I saw folders like Contacts, Notes and so on (what do we do us that don't use Outlook or Outlook Express and want to use these features? "Brilliant" one, designers... ¬_¬ Luckily I don't care about them) so I tried creating an 'Albums' folder and putting albums inside. Same success.
    So I asked myself again: are there ID3 tags needed always? The answer is simple: no. Because among these albums there are albums with and without tags. All of them unseen.
    My questions thus are these regarding the unavailability issues:
    Q1,1: how can I make these albums visible to the iPod?
    Q1,2:

    ... beautiful feature to truncate posts...
    It continues here.
    ... Q1,2: from now on, and for this player, am I a slave to iTunes?
    Q1,3: will anybody make a simple program for linux for using these devices? Luckily I have found some tools for Mandrake. But I would appreciate things were less complicated or companies take a look at this market.
    Q1,4: will anybodoy make, at once, a choice in a menu that allows the user to NOT TO SORT THE PLAYER BY THE ID3 TAGS??? My classical sort was and is in my 'puters to sort media by folders consisting of "Name of artist - Name of album", be it single, double, triple or quadruple, and inside, files with or without tags. For more than 1 CD albums I use the same folder, with songs named "CD# song_# song title". In these cases there are no tags because the stupid song# tag forces things that uses it to sort albums according to it. In albums like "Gov't Mule - Live... With A Little Help From Our Friends (collectors edition - 4 discs)" I ended up, in my old player, with first playing the first song of each CD, then after these 4 first songs, their 2nd 4 songs, then the 3rd ones... So I wiped the ID tags and finally it was sorted well, so I was happy. Is it so hard to ask for an option like "Do not read ID tags"????????
    2) Live albums
    I am a fanatic of live albums. I love to listen to them more than any studio album. I have single, double, triple and quadruple live albums I could listen to for hours, and from start to finish, and enjoy them all.
    I love to hear the public cheering and screaming, singing the songs, etc etc due to excitement the live albums give. My old MP3 CD player made, and a lot of car MP3 CD players make, a 2-3 seconds pause between songs. As for studio albums, but not for all of them (see Marillion's "Misplaced Childhood") show no problems, but for us that want continuity for albums like live ones, it is a disappointment.
    This player puts pauses between songs.
    Ok, less than 1 second pause, but I hate pauses. The feeling of the album is broken. There are silences where they shouldn't be. I ended up so excited I had to stop playing it.
    Q2,1: can I correct it from the control panel of the iPod or the iTunes? If not, will it be corrected on future updates?
    3) The sorting mania
    From some time I have seen players sort the albums in numerous ways: by genre, album name alone, artist name, year, etc. etc. etc. So let's suppose I want to make my list, WITHOUT HAVING TO MAKE A FIXED PLAYLIST JUST BECAUSE THESE ARE THE SONGS I WANT TO LISTEN FOR TODAY OR FOR 3 DAYS AND WHO KNOWS WHAT WILL I LISTEN TO NEXT WEEK, of some albums from some different artists. Some of them are simply called "Live" (for example, Golden Earring, Johnny Winter, Foghat, but I don't want to listen to Johnny Winter).
    By having sorted it by album name, they would appear as "Live". Which one belongs to who? If I go via Artist, I would have to jump as a frog from artist to artist and then browse their album list. If I go from Genre, I simply dunno because it is so mad I don't want to test it.
    Q3,1: If they are sorted my way (full list of albums named in my case "Artist - album 1", "Artist - album 2", but you can sort it the way you want to), I only have to move up and down and click on "Add me this one". Is it possible or must I go the crazy way?
    The package is beautiful. The player is also beautiful. Maybe I am a weird user because my demands are not expected. But I am a player user and I have my preferences. Nobody seems to care about people that want no complication. I am seriously thinking about getting my money back any way I can. I am asking friends if they can be interested in getting it because I am so extremely disappointed for an € 319 player I want my money back.
    Please, people that makes MP3 players, make things easier. Or just think about us and ask us what they would be. There is people that doesn't want any other sort than a simple album list. And that th

Maybe you are looking for

  • Is there a way to lock the yoga 2 pro in tablet mode? and in vertical?

    It is beyond irritating. I can't seem to get it to stay in tablet mode and it switches from tablet to laptop to tent. and rotates even when I put the rotation lock on (from swiping the settings in from the right)

  • Pages do not load correctly in Win8

    From time to time, when I go to a webpage, it will not load correctly. It will look as if the CSS file has not loaded. Gmail won't load at all; it gets stuck at the loading bar. I'm using Firefox 18, Windows 8 x64. The problem also happened with 17.

  • Validate date in coldfusion or javascript???

    Hi, I had a form that contains date field and user enters date as 06/09/2009,but when user enters date in the date field the date field has to be validate to the last day of that month. For example if i enters 06/09/2009 then it has to validate for t

  • Playing portions of a QT movie with Director

    By using loopBounds I thought I could have a user click on a button which would begin looping an interval in a QT movie which had been cited in a loopBounds statement. Is that correct? If so, why doesn't the following statement placed at the beginnin

  • Automatically creating fields when distilling Word document

    I have a large number of Word documents that are periodically published in pdf format. These documents contain several fields requiring user input. Is there a way I can tell Acrobat to automatically convert a Word field into a pdf field? Using the fo