473,395 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

File converting/sending help

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

Sep 28 '06 #1
3 1144
Hello Bonzol,

Look up .NET's implementation of Base64 encoding.

-Boo
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

Sep 28 '06 #2

Bonzol schrieb:
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

Sep 28 '06 #3

Bonzol schrieb:
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

Sep 28 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Paul Lamonby | last post by:
Hi, I am sending a file from the server as an email attachment. The file is being attached no problem and sending the email, but I get an error when I try to open it saying it is corrupt....
7
by: Brian Sabolik | last post by:
I'm not sure if I've broken any Object Oriented rules or not, but ... I have projects in 2 different solutions that need to use each other's methods. Therefore I may have an "update" method in...
4
by: kalio80 | last post by:
Hi everyone I posted an enquiry earlier about using c++ code to convert text files between linux & widows. I ended up with this code: #include <iostream> #include <fstream> using namespace...
6
by: Glenn Owens | last post by:
OK I'm on a steep learning curve with XML et.al. and need some advice. I'm writing a B2B front door for a new application. I have multiple data suppliers all sending various formats of flat...
0
by: gauravkhanna | last post by:
Hi All I need some help for the below problem: Scenario We need to send large binary files (audio file of about 10 MB or so) from the client machine (.Net Windows based application, located...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
6
by: Divya | last post by:
Hi, I have a web page which generates a CSV file based on some user input. When this file is downloaded by the user, the file is being automatically converted to .xls. Any idea how I can prevent...
10
by: David | last post by:
I have googled to no avail on getting specifically what I'm looking for. I have found plenty of full blown apps that implement some type of file transfer but what I'm specifcally looking for is an...
5
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a .Net web service that converts the MODCA files to tif or png file format. This web service runs on a 2003 server. This web service first copies the MODCA file to be converted to a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.