remoting for file transfer

  • Thread starter Thread starter Gomez
  • Start date Start date
G

Gomez

Can I use remoting for file transfer?
If so is there any limitation on the files being transferred?
Regards
Gomez
 
Gomez,

You ^could^ but I don't know that it's a good idea. Basically, you are
going to have to load the contents of the file into a byte array in memory
and then transmit it. I would use WCF instead and a streaming method (along
with an encoding that won't convert to text).
 
Gomez said:
Can I use remoting for file transfer?
Yes.

If so is there any limitation on the files being transferred?

You will need to have the entire file in memory.

And I think you need to take a step back.

Remoting is only creating overhead and restrictions
for you. You are not utilizing any of the advantages
of remoting. Remoting is not the right choice. There
are much better protocols available like HTTP and
plain socket.

Arne
 
Nicholas said:
You ^could^ but I don't know that it's a good idea. Basically, you are
going to have to load the contents of the file into a byte array in memory
and then transmit it. I would use WCF instead and a streaming method (along
with an encoding that won't convert to text).

I can not see the point in WCF either.

Plain socket or simple HTTP is both easy and efficient for
moving a file.

Arne
 
Back
Top