View Single Post
  #2 (permalink)  
Old September 12th, 2007, 08:25 PM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

It certainly can. Read your file into a stream which you can then convert into a byte array. Pass this byte array to a method on the remote class and then change the bytes back into a file stream on the remote system. You could also consider using the gzip compression to optimize the call across the wire.

-Peter