Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
ftp shell
Name: mehul Date: January 6, 2003 at 11:43:25 Pacific OS: solaris CPU/Ram: sun5.8
Comment:
Hi Gurus, I need some help I am trying to write a script for ftping 2 tar files which are huge in size in same server in background so that ftp for 2 tar files starts simultaneously 1.main.sh 2.file1.sh 3.file2.sh
from main.sh i am calling { file1.sh & file2.sh & }
it gets stuck in file1.sh and file2.sh is not ececuting.
is something i am doing wrong , appreciate your help
Name: WilliamRobertson Date: January 30, 2003 at 05:13:09 Pacific
Reply:
Can't see anything wrong, though the last command in the list doesn't need to be in background, and the \{\} brackets aren't necessary in your example. You could also add 'wait' if you want to have the script wait for all background processes to complete before continuing.
If you create a dummy script that you know will always succeed (e.g. just contains 'sleep 10' or some such), can you call that twice simultaneously in background using the same method?
Summary: Hi there, Need help Do anyone of you have some sample FTP shell script that can email to me. I need it urgently to do some CRON uploading and downloading. Thank alot! ...
Summary: How do i skip the user login when i try to do a ftp in shell script? if i do the ftp at the command prompt, i will hit on the carriage return when the login is prompted. a normal ftp script would loo...
Summary: Niru , i dont know any options is there in ftp to solve u r requirement but programatically i mean thru c if u open the pipe and then execute an ftp shell script thru the pipe and set an alarm for ...