.Nd OpenSSH secure file transfer
.Sh SYNOPSIS
.Nm sftp
.Op Fl 46aCfpqrv
.Op Fl 46aCfNpqrv
.Op Fl B Ar buffer_size
.Op Fl b Ar batchfile
.Op Fl c Ar cipher
.El
.It Fl P Ar port
Specifies the port to connect to on the remote host.
.It Fl N
Disables quiet mode, e.g. to override the implicit quiet mode set by the
.Fl b
flag.
.It Fl p
Preserves modification times, access times, and modes from the
original files transferred.
infile = stdin;
while ((ch = getopt(argc, argv,
"1246afhpqrvCc:D:i:l:o:s:S:b:B:F:J:P:R:")) != -1) {
"1246afhNpqrvCc:D:i:l:o:s:S:b:B:F:J:P:R:")) != -1) {
switch (ch) {
/* Passed through to ssh(1) */
case '4':
case 'f':
global_fflag = 1;
break;
case 'N':
quiet = 0;
case 'p':
global_pflag = 1;