Enclosing subcommand parameters

 

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

To enclose a single quotation mark within a parameter, enter it either as two consecutive single quotation mark ('') in a parameter that is enclosed by a single quotation mark, or 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, 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, 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, choose one mark symbol as the delimiter. For example:
    "ABC'12""345"  or  'ABC'12"345'    results in   ABC'12"345

 

Parent topic:

File Transfer Protocol client syntax conventions
Related reference
GET (Copy a File from a Remote System to the Local System) 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