|
Packit |
15a96c |
.TH ASCII-XFR 1 "$Date: 2006-10-28 14:35:59 $" "" "Linux Users Manual"
|
|
Packit |
15a96c |
.SH NAME
|
|
Packit |
15a96c |
ascii\-xfr \- upload/download files using the ASCII protocol
|
|
Packit |
15a96c |
.SH SYNOPSIS
|
|
Packit |
15a96c |
.B ascii\-xfr
|
|
Packit |
15a96c |
.B \-s|\-r
|
|
Packit |
15a96c |
.RB [ \-ednv ]
|
|
Packit |
15a96c |
.RB [ \-l
|
|
Packit |
15a96c |
.IR linedelay ]
|
|
Packit |
15a96c |
.RB [ \-c
|
|
Packit |
15a96c |
.IR characterdelay ]
|
|
Packit |
15a96c |
.I filename
|
|
Packit |
15a96c |
.SH DESCRIPTION
|
|
Packit |
15a96c |
.B Ascii-xfr
|
|
Packit |
15a96c |
Transfers files in ASCII mode. This means no flow control, no
|
|
Packit |
15a96c |
checksumming and no file-name negotiation. It should \fIonly\fP
|
|
Packit |
15a96c |
be used if the remote system doesn't understand anything else.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
The ASCII protocol transfers files line-by-line. The EOL
|
|
Packit |
15a96c |
(End-Of-Line) character is transmitted as CRLF. When
|
|
Packit |
15a96c |
receiving, the CR character is stripped from the incoming file.
|
|
Packit |
15a96c |
The Control-Z (ASCII 26) character signals End-Of-File, if option \-e
|
|
Packit |
15a96c |
is specified (unless you change it to Control-D (ASCII 4) with \-d).
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
\fBAscii-xfr\fP reads from \fIstdin\fP when receiving, and
|
|
Packit |
15a96c |
sends data on \fIstdout\fP when sending. Some form of
|
|
Packit |
15a96c |
input or output redirection to the modem device is
|
|
Packit |
15a96c |
thus needed when downloading or uploading, respectively.
|
|
Packit |
15a96c |
.SH OPTIONS
|
|
Packit |
15a96c |
.IP \fB\-s\fP
|
|
Packit |
15a96c |
Send a file.
|
|
Packit |
15a96c |
.IP \fB\-r\fP
|
|
Packit |
15a96c |
Receive a file. One of \fB\-s\fP or \fB\-r\fP \fImust\fP
|
|
Packit |
15a96c |
be present.
|
|
Packit |
15a96c |
.IP \fB\-e\fP
|
|
Packit |
15a96c |
Send the End-Of-File character (Control-Z, ASCII 26 by default) when
|
|
Packit |
15a96c |
uploading has finished.
|
|
Packit |
15a96c |
.IP \fB\-d\fP
|
|
Packit |
15a96c |
Use the Control-D (ASCII 4) as End-Of-File character.
|
|
Packit |
15a96c |
.IP \fB\-n\fP
|
|
Packit |
15a96c |
Do not translate CR to CRLF and vice versa.
|
|
Packit |
15a96c |
.IP \fB\-v\fP
|
|
Packit |
15a96c |
Verbose: show transfer statistics on the stderr output.
|
|
Packit |
15a96c |
.IP "\fB\-l\fP \fImilliseconds\fP"
|
|
Packit |
15a96c |
When transmitting, pause for this delay after each line.
|
|
Packit |
15a96c |
.IP "\fB\-c\fP \fImilliseconds\fP"
|
|
Packit |
15a96c |
When transmitting, pause for this delay after each character.
|
|
Packit |
15a96c |
.IP \fIfile\fP
|
|
Packit |
15a96c |
Name of the file to send or receive. When receiving, any existing
|
|
Packit |
15a96c |
file by this name will be truncated.
|
|
Packit |
15a96c |
.SH USAGE WITH MINICOM
|
|
Packit |
15a96c |
If you want to call this program from \fBminicom(1)\fP, start minicom
|
|
Packit |
15a96c |
and go to the \fBO\fPptions menu. Select \fIFile transfer protocols\fP.
|
|
Packit |
15a96c |
Add the following lines, for example as protocols \fBI\fP and \fBJ\fP.
|
|
Packit |
15a96c |
.sp 1
|
|
Packit |
15a96c |
.nf
|
|
Packit |
15a96c |
I Ascii /usr/bin/ascii\-xfr \-sv Y U N Y
|
|
Packit |
15a96c |
J Ascii /usr/bin/ascii\-xfr \-rv Y D N Y
|
|
Packit |
15a96c |
.fi
|
|
Packit |
15a96c |
.SH AUTHOR
|
|
Packit |
15a96c |
Miquel van Smoorenburg, miquels@cistron.nl
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
Jukka Lahtinen, walker@netsonic.fi
|
|
Packit |
15a96c |
.SH "SEE ALSO"
|
|
Packit |
15a96c |
minicom(1)
|