Socket download file

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
 
<pre>http://ubotstudio.com/blog/wp-content/uploads/2013/09/Spin.png</pre>
 
<pre>http://ubotstudio.com/blog/wp-content/uploads/2013/09/Spin.png</pre>
  
'''File:''' Refers tot he filepath of the location the file will be downloaded to, complete with the file name and file extension.
+
'''File:''' Refers to the filepath of the location the file will be downloaded to, complete with the file name and file extension.
  
 
<pre>C:\Users\JohnDoe\Pictures\newpicture.jpg</pre>
 
<pre>C:\Users\JohnDoe\Pictures\newpicture.jpg</pre>

Revision as of 23:53, 30 September 2014

This command is a Socket Command. This commands allows you to download a file using the cookies in the socket container.

The command works within the socket container command.

Url: Refers to the url the file will be downloaded from

http://ubotstudio.com/blog/wp-content/uploads/2013/09/Spin.png

File: Refers to the filepath of the location the file will be downloaded to, complete with the file name and file extension.

C:\Users\JohnDoe\Pictures\newpicture.jpg


Example


plugin command("SocketCommands.dll", "socket container") {
    plugin command("SocketCommands.dll", "socket download file", "http://ubotstudio.com/blog/wp-content/uploads/2013/09/Spin.png", "C:\\Users\\JohnDoe\\Pictures\\newpicture.jpg")
}


Running the command will download the file to the designated location. The process is extremely quick and there will be no changes in the browser to indicate that the file has been downloaded.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox