Socket download file

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "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 [[so...")
 
Line 2: Line 2:
  
 
The command works within the [[socket container]] command.
 
The command works within the [[socket container]] command.
 +
 +
'''Url:''' Refers to the url the file will be downloaded from
 +
 +
<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.
 +
 +
<pre>C:\Users\JohnDoe\Pictures\newpicture.jpg</pre>
 +
 +
 +
 +
== Example ==
 +
 +
<pre>
 +
 +
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")
 +
}
 +
 +
</pre>
 +
 +
 +
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.

Revision as of 17:32, 30 October 2013

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 tot he 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