Couldn't you just send everything as binary?

On Tue, Jan 20, 2009 at 3:22 PM, m b <[email protected]> wrote:

>  Appreciate the replies, as always.  I give this list huge kudos.  I'm
> primarily a lurker but I pick up more useful information here than anywhere
> else.
>
> I didn't want to bore you with too much detail about this job, but if
> you've ever heard of Sterling Commerce's product called NDM Connect Direct -
> that's where I'm ending up with this.
>
> We have one single client out of hundreds, one client who insists on using
> this NDM application to send/receive files.  I absolutely loathe this
> product.  But anyway, internal users drop a file(s) in a specific internal
> folder.  File(s) gets replicated to a box in a DMZ & trigger file created.
> Batch process running on NDM box watches for trigger file, sees it,
> initiates NDM transfer job.  That's all fine & good.
>
> Recently, problem comes to me - most of the files we send are ascii, and
> they're transferring perfectly.  However, some spreadsheets we're sending
> are getting hanked up, can we please send those binary.  Sigh...  OK, sure.
> So what I'm attempting to do is on the job that replicates the files out to
> the DMZ box, do something like copy *.xls > destination folder 2, copy *.* >
> destination folder 1.  (I'm sure I'll end up having to sort more file types
> but that would be simple to add once this binary/ascii thing is up &
> working).  But then on the NDM box, have it recognize whenever one of those
> folders has a new file(s) in it and then run the appropriate ascii or binary
> transmit job.
>
> Did I mention I absolutely loathe this NDM application?
>
>
>
> ----- Original Message -----
> *From:* Kennedy, Jim <[email protected]>
> *To:* NT System Admin Issues <[email protected]>
> *Sent:* Tuesday, January 20, 2009 12:58 PM
> *Subject:* RE: Batch file task
>
>  What actions do you need to do? Robocopy will watch folders and run
> forever…if you just need to do a copy of the contents or changes to those
> folders it will work for you.
>
>
>
>
>
>
>
> *From:* m b [mailto:[email protected]]
> *Sent:* Tuesday, January 20, 2009 1:45 PM
> *To:* NT System Admin Issues
> *Subject:* Batch file task
>
>
>
> I need to create a section of a batch file that will determine whether a
> folder has had files added to it or not, and then perform one of two
> actions.  I was thinking of doing a dir > filename, to get something like
> dirlist.txt & oldlist.txt and doing a file compare on the two text files,
> but the "fc" command doesn't seem to give me any output I can use within the
> batch file.  I was hoping it would give me something in "errorlevel", but it
> doesn't.
>
>
>
> In the end, I'll have a batch file that runs constantly, and each loop it
> will look at a couple of folders.  If there's something in folder 1, it will
> perform action 1, and if there's something in folder 2, it will perform
> action 2.
>
>
>
>
>
> Thanks in advance
>
>
>
> Mark
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to