Jump to content
Macro Express Forums

sweileman

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by sweileman

  1. Hi, I'm hoping someone can get me point in the right direction on this request. I'm wondering if it's possible to have a timeout on a MCM? Something like if the user hasn't selected an A or B choice after 10 seconds then default to choice B and execute. Sounds simple enough but I can't seem to get it to work with the usual REPORT, DELAY, loop options. 

     

    Thanks for any help you can provide.

  2. Did you log the result for each command? IE are you sure the connect and change directory commands are working properly? For instance I get the text below. What do you see?

     

    230 User Cory logged in.

    250 CWD command successful.

     

    Also once you have the list you will need to split it. I suggest creating string variables for Carriage Return and Line Feed and splitting on them combined into a new array. Then you can simply go thru each element of the array for your GET command.

    Ok...thanks for your advice. That got me headed in the right direction. I was logging the results but I was relying on error messages which didn't show up. When I checked the results I found that I wasn't actually logging in; once I took care of that the rest started to fall into place. Also, your other suggestions about splitting on Carriage Return and Line Feed solved the next issue I was scratching my head about.

     

    Thanks to everyone for your time and helping hand!

     

    Steve

  3. I'm getting stubbed before I even get out of the gate. :blink:

     

    I connect to my FTP server, change to the appropriate directory, no errors so far, but when I save my file directory list to a variable, then check the contents of the variable (using a simple display box) all it holds is, "The handle is invalid".

     

    Any thoughts or suggestions?

  4. I wonder if someone could help me with an issue using FTP directory list? I've connected to my FTP server and changed to a specific directory. What I'd like to do is GET all the zipped files in the directory but I can't seem to work this through. Anyone care to give me a gentle nudge in the right direction?

     

    Thanks,

    Steve

  5. I recommend that you convert your start and end measurements into seconds (for simplicity, use the beginning of the current year or month as your zero point if you don't need to handle overflows), do the subtraction and reconvert into your desired output format.

     

    Thanks for your suggestion. That got me started in the right direction although I was hoping for built in function to speed things up. Still it's working so thanks!

  6. I've searched through the forum and didn't see anything regarding this subject but forgive me if I'm duplicating a question here.

     

    I have a rather long process that runs and finishes with sending an email. I capture the time of both the start and end of the process. What I'd like to do is calculate and include in the email the elapse time of the entire process, but I can't seem to see 'the forest for the trees'.

     

    Any thoughts or suggestions?

     

    Thanks in advance for any help you can provide.

×
×
  • Create New...