|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
File converting/sending helpvb.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 Hello Bonzol,
Look up .NET's implementation of Base64 encoding. -Boo Show quoteHide quote > 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 schrieb:
Show quoteHide quote > vb.net 2003 VB If you convert to string, you will loose binary information as a string> > 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 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 schrieb:
Show quoteHide quote > vb.net 2003 VB If you convert to string, you will loose binary information as a string> > 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 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
Bug in Datagrids
XML to save some settings Multiple child forms - updating the right one overflow detection without try-catch Finding a control on a form with a text reference filter dataTable/datagridview to show top 1 row for duplicate IDs? Date as Null Are you a C# Developer in Buckinghamshire? DirectX and Sound Ftp Client Help |
|||||||||||||||||||||||