SSH Reference Manual
SFTPEDITLINEMODE 
Use this parameter to control the handling of Guardian edit lines that are too long when a file transfer is made to a 
Guardian edit file on the NonStop server. 
Parameter Syntax 
SFTPEDITLINEMODE none | cut | wrap 
Arguments 
 none 
No special handling is done. A long line is treated as an error. 
 cut 
The long line will be cut to ensure a maximum line length of 239 characters. 
 wrap 
The long line will be wrapped, i.e. the first part of the line will be written in 239 character chunks until less than 
240 characters are left, which will be written last. 
Default 
The default value is none. 
Considerations 
•  The setting of this parameter is only relevant if parameter SFTPEDITLINESTARTDECIMALINCR
 is set to a 
number between 0 and 99999999. 
•  This parameter is only considered when a Guardian edit file is written, i.e. either if a remote sftp client issues a 
put command to the SSH2 server on NonStop specifying a Guardian destination file with code 101 or if a sftp 
client on a NonStop server issues a get command specifying a local Guardian destination file with file code 101.  
•  If a get command is executed by a sftp client on the NonStop server, then the parameter must be set in the 
environment of the sftp client (as PARAM for SFTP running in the Guardian environment or as environment 
variable for SFTPOSS running in the OSS environment). 
•  The parameter SFTPEDITLINEMODE defines the default behavior when Guardian edit files are created. The 
handling of lines that are too long can be altered by issuing the command ASLINEMODE at the NonStop SFTP 
client prompt. The ASLINEMODE command takes one of the values none, cut and wrap as parameter. 
See also 
SFTPEDITLINENUMBERDECIMALINCR, SFTPEDITLINESTARTDECIMALINCR
SFTPEDITLINENUMBERDECIMALINCR 
Use this parameter to define the decimal increment used to calculate the next Guardian edit line number when a file 
transfer is made to a Guardian edit file on the NonStop™ server. 
Parameter Syntax 
SFTPEDITLINENUMBERDECIMALINCR <number> 
Arguments 
 <number> 
The value is 1000 times the increment. See documentation for Guardian procedure call INCREMENTEDIT. 
Default 
HP NonStop SSH Reference Manual  Configuring and Running SSH2 • 109 










