Reputation: 12847
I am downloading a file using curl on shell script:
do shell script "curl -f http://example.com/file -o ~/Desktop/file.doc"
Is there a way to detect/catch if the file download is completed?
Upvotes: 1
Views: 516
Reputation: 285079
do shell script
works synchronously.
The next code line is executed when the download is completed.
Upvotes: 1