It would probably work better if you would use scp to copy the file. If you just want a part of the file, you can write out a range of lines or a block.
For example, in vim
:200,400w fragment
will write the lines from 200-400 to a file called fragment. Vim has a shell escape, ":!", so after that you could copy the file "fragment" to your local machine using the scp command.
|