sending image to dedicated server


my client obtained an avatar image from steam. I want to send this avatar image (texture 2d) to a dedicated server so i can store it on the server file system. The problem is, while i’m making a RPC from client a server, all datatypes (structures, integers strings) get sent correctly…but when i try to send this avatar image (texture 2d) it doesn’t… how is this possible and how can i fix this
? it seems like it should be a rather simple task, but i can’t seem to found a solution.