Enclose subcommand parameters

You can use either a single quotation mark (') or quotation marks (") to enclose parameters from this topic.

You can use either a single quotation mark (') or quotation marks (") to enclose subcommand parameters. To enclose a single quotation mark within a parameter, you must enter it either as two consecutive single quotation mark ('') in a parameter that is enclosed by a single quotation mark, or you must enter it as a single quotation mark in a parameter that is enclosed by quotation marks (").

Similarly, if a quotation mark (") is to be contained within a parameter, you must enter it in one of these ways:

You can use the apostrophe or quotation marks as follows:

  1. If the apostrophe or quotation marks within the parameter are the same as the starting and ending delimiter, you must repeat the mark within the parameter. For example:
    'ABCD'12345'
       results in   ABCD'12345
    "ABCD""12345"
       results in   ABCD"12345
  2. If the starting and ending marks are not the same as the mark within the parameter, you do not repeat the mark. For example:
    "ABCD'12345"
       results in  ABCD'12345
    'ABCD"12345'
       results in  ABCD"12345
  3. If both the apostrophe and quotation marks are within the parameter, you must choose one mark symbol as the delimiter. For example:
    "ABC'12""345"  or  'ABC'12"345'
       results in   ABC'12"345
Related reference
PUT (Copy a File Member from the Local System to a File on a Remote System)
File names for client-transfer subcommands
Naming files for transfer