Socket download file

From UBot Studio
Jump to: navigation, search

This command is a Socket Command. This commands allows you to download a file using the url provided.

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