[PLUG] Post to FTP server from soft real-time C program

Wayne E. Van Loon Sr. wevl at pacifier.com
Wed Jul 17 17:08:06 UTC 2013


A customer wants some data out of one of my optimization / control 
systems. They would like me to post it to a FTP server that will be 
added to the LAN.

My machine is Linux X86 running on PC hardware. It is a soft real-time 
application in a distributed processing system (6 ea. 6 core machines). 
The tasks are distributed and results collected from all the helper 
cores over the LAN. 3D imaging data and digital I/O also goes through 
the LAN, so the LAN isn't idle. It would be best if I could come up with 
something that would not hog bandwidth, but it absolutely can not block 
in my C program. I am currently making use of a couple threads in my C 
program, so another thread is a possibility. How would you send a few 
small files / minute via FTP?

Thanks in advance for your suggestions,
Wayne




More information about the PLUG mailing list