Save Downloaded File

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command is part of the Browser Command. Save Downloaded File downloads files that have been downloaded to the browser. The command allows you to desi...")
 
Line 1: Line 1:
 
This command is part of the [[Browser Commands|Browser Command]]. Save Downloaded File downloads files that have been downloaded to the browser. The command allows you to designate where you would like to save the file to what you would like to call the file.
 
This command is part of the [[Browser Commands|Browser Command]]. Save Downloaded File downloads files that have been downloaded to the browser. The command allows you to designate where you would like to save the file to what you would like to call the file.
 +
 +
'''File To Save To:''' The file path where the downloaded file will be save to. The file path must include a file name and extension (such as C:\Users\Desktop\Miscellaneous\myfile.wav)
 +
 +
  
 
== Example ==
 
== Example ==

Revision as of 19:57, 23 April 2013

This command is part of the Browser Command. Save Downloaded File downloads files that have been downloaded to the browser. The command allows you to designate where you would like to save the file to what you would like to call the file.

File To Save To: The file path where the downloaded file will be save to. The file path must include a file name and extension (such as C:\Users\Desktop\Miscellaneous\myfile.wav)


Example

navigate("http://www.thinkbroadband.com/download.html", "Wait")
wait(5)
click(<href="http://ipv4.download.thinkbroadband.com/5MB.zip">, "Left Click", "No")
save downloaded file("{$special folder("Desktop")}/5MB.zip")

Running the script will click the link labeled "80" next to "IPv4 Port:", which downloads the file to the browser. The save downloaded file command then saves the file to the chosen location.

File:Savedownloadedfile.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox