Lingo Dictionary > D-F > downloadNetThing |
![]() ![]() ![]() |
downloadNetThing
Syntax
downloadNetThing
URL
,
localFile
Description
Command; copies a file from the Internet to a file on the local disk, while the current movie continues playing. Use netDone
to find out whether downloading is finished.
![]() |
|
![]() |
|
Director movies in authoring mode and projectors support the downLoadNetThing
command, but the Shockwave player does not. This protects users from unintentionally copying files from the Internet.
Although many network operations can be active at one time, running more than four concurrent operations usually slows down performance unacceptably.
Neither the Director movie's cache size nor the setting for the Check Documents option affects the behavior of the downloadNetThing
command.
Executing any network Lingo operations concurrently with a Shockwave Audio (SWA) stream can cause interruptions in the playback of the SWA stream.
Note: Director for Java does not support the downloadNetThing command.
Example
These statements download an external cast member from a URL to the Director application folder and then make that file the external cast member named Cast of Thousands:
downLoadNetThing("http://www.cbDeMille.com/Thousands.cst", the \ applicationPath&"Thousands.Cst") castLib("Cast of Thousands").fileName = the applicationPath&"Thousands.Cst"
See also
importFileInto, netDone(), preloadNetThing()
![]() ![]() ![]() |