I've found a solution to the problem. I use wget now, with the ftp --glob=on option. This needs no tty to function and bypasses the problem. On Thu, 2003-07-24 at 12:33, H M Kunzmann wrote: > I have a cron job set to run that runs an ftp script. > > When I run the ftp.sh file from the prompt, it works perfectly, but the > cron job failes with the following error message: > > >Password:Login failed. > >No control connection for command: Inappropriate ioctl for device > > I think this happens because there is no tty to bind the ftp session to? > > How do I get around this ? > > Ciao > Herbert -- Herbert Michael Kunzmann Binary Chaos Magician
Attachment:
signature.asc
Description: This is a digitally signed message part