Search Results

Search: Posts Made By: karcher
2,736
Posted By karcher
Found an answer
Nevermind, I found an answer. I do this:

# run ftp as a backgrond process and test the return value
ftp -n $HOST -T $CHILDTIME <<-[]>> $LOG 2>&1 &
user "$USER" "$PASSWORD"
...
2,736
Posted By karcher
scripting for hung ftp in Solaris
I am looking for a way to timeout a ftp script in pre Solaris 2.8 (i.e. I cannot use the -T option to ftp).

Does anyone have a way of doing this? I was thinking maybe a subprocess and sleep...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy