scripting

not sure if i'm placing this in the right location

but i need help guys

i need to create a script that will constantly check a sftp site for new files and if found will copy those files to a local directory and send a email

anyone know how to get started on this.

I'm a network admin.

not too big on the scripting unless for networking or system admin stuff.

i cant use vbscripts

i need something that will go over ssh

send me a email if anyone have any ideas

[531 byte] By [atlscripter] at [2007-11-25 22:50:51]
# 1

I would suggest starting with a google search on "automate scp". You will need to become familiar with cron & ssh-keygen.

Than as you get stuck ask for help. I could write it about 10 minutes but I would need to way more than I want to about exactly what you are transfering.

error at 2007-7-5 17:06:18 > top of Java-index,General,Sun Networking Services and Protocols...
# 2
Wouldn't it be easier to rsync your sftp server with your local box?#! /usr/bin/kshwhile :dorsync ......sleep 60doneMark
mdhmi at 2007-7-5 17:06:18 > top of Java-index,General,Sun Networking Services and Protocols...