File converting/sending help

  • Thread starter Thread starter Bonzol
  • Start date Start date
B

Bonzol

vb.net 2003 VB

Hey there, I have a program that uses remote connections and it can
send strings to the clients and from clients to server.

Now we need to send files this way, is there anyway to convert files
such as images,, exes,, anything? to a string and send it? then
recomplie it as a file again? or to convert it to binary?

Or does anyone have any other suggestion for sending and recieving
files?
(would preffer to convert to string though)

thanx in advanced
 
Bonzol said:
vb.net 2003 VB

Hey there, I have a program that uses remote connections and it can
send strings to the clients and from clients to server.

Now we need to send files this way, is there anyway to convert files
such as images,, exes,, anything? to a string and send it? then
recomplie it as a file again? or to convert it to binary?

Or does anyone have any other suggestion for sending and recieving
files?
(would preffer to convert to string though)

thanx in advanced


If you convert to string, you will loose binary information as a string
needs to be decoded (like in ASCII or UNICODE) and will not be able to
hold all the informations of a exe file...

As far as I know, there is no way to send files via remote, you need to
implement something like FTP or MIPS to do this.

Daniel
 
Bonzol said:
vb.net 2003 VB

Hey there, I have a program that uses remote connections and it can
send strings to the clients and from clients to server.

Now we need to send files this way, is there anyway to convert files
such as images,, exes,, anything? to a string and send it? then
recomplie it as a file again? or to convert it to binary?

Or does anyone have any other suggestion for sending and recieving
files?
(would preffer to convert to string though)

thanx in advanced


If you convert to string, you will loose binary information as a string
needs to be decoded (like in ASCII or UNICODE) and will not be able to
hold all the informations of a exe file...

As far as I know, there is no way to send files via remote, you need to
implement something like FTP or MIPS to do this.

Daniel
 
Back
Top