Hi, I have problems with ftp. Sometimes when my shellscript is started the ftp hangs and the timeout does not work either. There are no error messages in /var/log/messages and /var/log/warn. The script calls the ftp like this: (cd /dir1 prompt mget * ) | ftp ftp-proxy Does anyone have an idea ? Bye Holger -- Sent through Global Message Exchange - http://www.gmx.net
On Thu, Nov 11, 1999 at 08:33:01AM +0100, Holger Schmidt wrote:
Hi,
I have problems with ftp. Sometimes when my shellscript is started the ftp hangs and the timeout does not work either. There are no error messages in /var/log/messages and /var/log/warn.
The script calls the ftp like this: (cd /dir1 prompt mget * ) | ftp ftp-proxy
Does anyone have an idea ?
Why not try it like this: #!/bin/sh cd /dir1 ftp -niv ftp-proxy << END user name pass prompt mget * bye END and see what happens. -- Brad Shelton On Line Exchange http://online-isp.com
participants (2)
-
Brad Shelton
-
Holger Schmidt