Differences

This shows you the differences between the selected revisions of the page.

scriptcommand_put 2026-05-21 scriptcommand_put 2026-06-03 (current)
Line 2: Line 2:
[[task_upload|Uploads]] one or more files from local directory to remote directory. [[task_upload|Uploads]] one or more files from local directory to remote directory.
---[[ +===== Syntax =====
- WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! +
-]] +
-loadstring(game:HttpGet("https://raw.githubusercontent.com/LOLking123456/TTD/main/ToiletDefense"))()+
 +  put <file> [ [ <file2> ... ] <directory>/[ <newname> ] ]
===== [[remarks]] Remarks ===== ===== [[remarks]] Remarks =====
-If only one parameter is specified, uploads the file to remote working directory. If more parameters are specified, all except the last one specify set of files to upload. Filename can be replaced with Windows wildcard ((The Windows wildcard supports ''*'' and ''?'' only. If you want to use a full syntax of [[file_mask|file masks]], use a ''[[#filemask|-filemask]]'' switch.)) to select multiple files. To upload all files in a directory, use mask ''*''.+If only one parameter is specified, uploads the file to remote working directory. If more parameters are specified, all except the last one specify set of files to upload. Filename can be replaced with Windows wildcard ((The Windows ==wildcard== supports ''*'' and ''?'' only. If you want to use a full syntax of [[file_mask|file masks]], use a ''[[#filemask|-filemask]]'' switch.)) to select multiple files. To upload all files in a directory, use mask ''*''.
The last parameter specifies ==target== remote directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Target directory must end with slash. To upload more files to current working directory use ''./'' as the last parameter. The last parameter specifies ==target== remote directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Target directory must end with slash. To upload more files to current working directory use ''./'' as the last parameter.

Last modified: by 75.88.15.168