I have a script (really 2) that ftps a file to another
server.
If I run the script manually(as a normal user so it
isn't permissions,I think) it processes fine.
I then put it into cron and it fails. Sometimes I get
nothing in my log and sometimes I get 'EPSV': command
not understood.
Here is my command and the file it executes.
command:
#!/bin/sh
ftp -n < /opt/mace/ftp_thedb.sh
file (ftp_thedb.sh )to execute:
open xx.xx.xx.xx
quote user ftpuser
quote pass ueserpass
binary
lcd /backup_dir
put lits2*
quit
What am I missing????????? It's driving me to
drink(thank goodness )
But it is a little crazy also.
This is moving a file from a z/linux server to a
windows box.
thanks
Mace
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390