How can I write the output stored in pv to a txt file and then send that file vi

How can I write the output stored in pv to a txt file and then send that file via Commnad line Execution to a specified path on the server

OriginalPostID-194282

OriginalPostID-194282

  Discussion posts and replies are publicly visible