Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dsm666

  1. dsm666

    Add wild cards to text

    So awesome used the last command and it worked perfectly. Thank you so much!
  2. dsm666

    Add wild cards to text

    We are moving to a new version of web washer and I need to add * to the begining and at the end of our white list. the list just contains URL's. example instead of cisco.com it should be *cisco.com* Thanks in advance.
  3. dsm666

    FTP from a list using mls command

    here is the output after the changes your suggested: 02/16/10-14:43:48 - Begin Connected to pfgdsmftp004.principalusa.corp.principal.com. 220 Microsoft FTP Service 331 Password required for tdftptst. 230 User tdftptst logged in. 250 CWD command successful. 200 PORT command successful. 150...
  4. dsm666

    FTP from a list using mls command

    Thanks so much for doing that. the part that doesn't work is the last part ftp -nv ftp.abccompany.com < todo.lst for some reason ftp can't handle < todo.lst Here is the code: #!/bin/ksh set -x exec >> $HOME/log/import_log.log 2>&1 STARTTIME=`date +"%D-%T"` echo $STARTTIME - Begin cd...
  5. dsm666

    FTP from a list using mls command

    I ran into a script that does exactly what I am looking for; except the last part which recalls the todo.lst. My question is how do I recall the todo.lst to actually start the transfer. Everything works up until the quit command below. here is the code and Thank you #!/bin/sh clear # change...
  6. dsm666

    IIS FTP server dropping the connection during the data port negotiatio

    This is an intermittent problem, where the client gets error 426: Connection closed; transfer aborted. The command opens a data connection to perform an action, but that action is canceled, and the data connection is closed. I have 2 IIS servers behind a load balancer. I thought the load...
  7. dsm666

    How to monitor sendmail, not the daemon itself

    I shouldn't have put that last paragraph in there. The issue is we can't receive any emails generated by any of our scripts. I checked the sendmail process and it was running: root 11547 1 0 Jan 13 ? 0:04 /usr/lib/sendmail -bd -q15m smmsp 11549 1 0 Jan 13 ...
  8. dsm666

    How to monitor sendmail, not the daemon itself

    The issue I am having is the mailserver keeps going down, and no emails are being sent. We have monitors watching the sendmail daemon process, but that doesn't necessarily mean that the mailserver is working. The problem also is we can send emails, but it blocks all inbound traffic. We could...
  9. dsm666

    retrieving data based on business date, ie 3rd business date

    excluding weekends. I will just use crontab to look for files from the 6th through the 11th of every month. thanks for checking into it...
  10. dsm666

    retrieving data based on business date, ie 3rd business date

    is there a way to retrieve files based on business date, ie 5th business date or 2nd business date etc. Basically I will envoke the ftp once I know how to calculate the busines date. If someone could help I would really appreciate it. thanks
  11. dsm666

    FTP grep issue

    I am so sorry to drag this on like this, but I was able to find all the emails in my junk mail. thanks to all for your input. It's much appreciated. God Bless!
  12. dsm666

    FTP grep issue

    Hi Columb this is what I see when adding your code: + grep -q ^500 /ceunix_test/ceunix/log/preprocess.log grep: illegal option -- q Usage: grep -hblcnsviw pattern file . . . + grep -q ^5[0-9][0-9] /ceunix_test/ceunix/log/preprocess.log grep: illegal option -- q Usage: grep -hblcnsviw pattern...
  13. dsm666

    FTP grep issue

    also here is the output from the log file: + + wc -l + grep ^550 /ceunix_test/ceunix/log/preprocess.29314 xfrcnt1= 2 + + wc -l + grep ^5[0-9][0-9] /ceunix_test/ceunix/log/preprocess.29314 xfrcnt2= 2 + [[ 2 -ne 0 ]] + mailx -s ftp 550 error H478BBBX pgi_pm.pcs myemailaddress...
  14. dsm666

    FTP grep issue

    This is what I get when I ran that: grep "^5[0-9][0-9]" log/preprocess.29314 550 pgi_pm.UPD: Cannot create a file when that file already exists. 550 pgi_pm.UPD: The system cannot find the file specified.
  15. dsm666

    FTP grep issue

    I copied the information from this thread http://www.tek-tips.com/viewthread.cfm?qid=964119#post to reconstruct my ftp script; however I am not getting any emails when the 550 error occurs. I checked sendmail and it's working fine: ftplog=$HOME/log/preprocess.$$ ftp -nv...

Part and Inventory Search

Back
Top