Files transferred over shell protocol: Difference between revisions

Content deleted Content added
m Protocol messages: style, fmt.
Line 15:
 
Fish commands are all defined, shell equivalents may vary.
Fish commands always have priority: the server is expected to execute a fish command if it understands it. If it does not, however, it can try andto execute a shell command.
When there is no special server program, Unix shell ignores the fish command as a comment and executes the equivalent shell command(s).
 
Server replies are multi-line, but always end with
 
### xyz<&lt;optional text>
 
line. <code>###</code> is a prefix to mark this line, <code>xyz</code> is the return code.
Return codes are a superset to those used in [[ftpFTP]].
The codes 000 and 001 are special, their meaning depends on presence of server output before the end line.