vi has two different modes. One is Command Mode, the other is Text Entry Mode:
doswrite -a <sourcefilename> <destfilename>
The file that you selected will be copied onto the floppy disk.
The -a argument is used to convert the newline characters
into the <CR><linefeed> combinations that the IBM-PC expects.
If you wish to upload files from a floppy into your home directory, use the
dosread command in the same manner. The -a argument then serves
to convert <CR><linefeed> sequences back to newline characters. If
the file is a binary file, then don't use the -a switch.