Differences

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

2008-06-18 2009-01-15
exclude and include are not used with -delete (martin) put uses windows wildcard (martin)
Line 283: Line 283:
  put <file> [ [ <file2> ... ] <directory>/[ <newname> ] ]   put <file> [ [ <file2> ... ] <directory>/[ <newname> ] ]
-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. The last parameter specifies target remote directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Destination directory must end with slash. Filename can be replaced with [[file_mask|wildcard]] to select multiple files. To upload more files to current working directory use ''./'' as the last parameter.+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. The last parameter specifies target remote directory and optionally [[operation_mask|operation mask]] to store file(s) under different name. Destination directory must end with slash. Filename can be replaced with Windows wildcard ((Windows wildcard supports ''*'' and ''?'' only. It does not support all the features of [[file_mask|file masks]].)) to select multiple files. To upload more files to current working directory use ''./'' as the last parameter.
Use [[script_commands#option|option]] command to set [[transfer_settings|transfer options]]. Use [[script_commands#option|option]] command to set [[transfer_settings|transfer options]].