Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I would like to know how to send a entire text file with data in it using C programming...
Posted
Comments
Frankie-C 2-Mar-15 4:12am    
Send how? Using a pigeon?
venkat28vk 2-Mar-15 4:14am    
I want to send a complete text file from C to Android.. Do you have any idea of how you can achieve it.
Kornfeld Eliyahu Peter 2-Mar-15 5:44am    
Email it!

1 solution

This isn't a question we can really answer: it's going to depend to a large extent on what kind of physical interface you have between the two systems, and what software is running on both.

Android (for example) doesn't support FTP without additional software - I use FTP Server[^] and FileZilla, but FTP from C is also possible using libcurl.
But there are so many different ways to connect two devices, and they all require different methods to communicate across them that any answer we did give would almost certainly be inappropriate to exactly what you want to do - and only you know teh details of that.

So sit down, work out what communications interfaces you have available, and see how each of those fits into your task parameters. Then ask a more specific question (if you need to) based on that, and giving us plenty of information!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900