Hoping someone can help or at least suggest probable directions for research.
I have an FTP process that when run manually runs correctly, but when jobbed off from a program that is executed from cron fails without error.
my /netrc is:
ftp fserv user password
macdef init
lcd user2
type binary
prompt off
cd chci
mput *.chci
bye
<<Blank line>>
fserv is if course set up in the host file.
I'm wondering if it may have something to do with the standard verbose messages. Also the job that runs off cron completes normally. It's job is to create the files. Then it calls the program that includes the FTP procedure. everything works but the FTP.
If I start it manually everything works fine. This is getting really frustating as I can't begin to imagine what difference may be when FTP runs in the background.
Any help would be appreciated. Gamesman
jhughes@barbhosp.com
MT(ASCP), MCP, CIW, CNA
I have an FTP process that when run manually runs correctly, but when jobbed off from a program that is executed from cron fails without error.
my /netrc is:
ftp fserv user password
macdef init
lcd user2
type binary
prompt off
cd chci
mput *.chci
bye
<<Blank line>>
fserv is if course set up in the host file.
I'm wondering if it may have something to do with the standard verbose messages. Also the job that runs off cron completes normally. It's job is to create the files. Then it calls the program that includes the FTP procedure. everything works but the FTP.
If I start it manually everything works fine. This is getting really frustating as I can't begin to imagine what difference may be when FTP runs in the background.
Any help would be appreciated. Gamesman
jhughes@barbhosp.com
MT(ASCP), MCP, CIW, CNA