We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, As we known RL ARM doesnt support FTP server. It only supports tftp. But for our application i need to implement FTP server. I am using Keil micro 3 version. I need to know any GCC compilers available which supports my LPC2388 and comes with ftp library's.
Any gcc compilers? I don't think you will find many gcc compilers - why should there be a need for more than one gcc compiler for the ARM target and each possible host system?
Your question should be: What free TCP/IP stacks are there that may be used on your target. And does any of these stacks come with an ftp server?
The alternative is that you have to write a ftp server on top of any suitable TCP/IP stack. You would also have to decide if you need full ftp, or if passive ftp is enough.
But back to square one: Exactly why isn't tftp enough?
Quite the contrary!
GCC = GNU Compiler Collection: as that name suggests, it is a collection of very many compilers - for many languages and many targets.
However, you are (probably) right that there is only one C/C++ compiler in the collection for ARM target!
As per says, the compiler is entirely separate from and add-on libraries like this.
There are plenty of TCP/IP libraries out there that are ready-ported to both Keil's ARM compiler and the GCC ARM compiler.
You could start looking here: http://www.keil.com/tcpip/links.asp
"I am using Keil micro 3 version."
I think you mean uVision-3 ?
"library's"
Note that the plural of "library" is "libraries"
Ya you may be correct. But In the tftp server can we get encryption and decryption? And in tftp anyone can get into my data page and can play around.
For the security issue we are going for ftp. So i need a compiler or some tool which would have ftp supporting library. If its a free one it would be great. I may be wrong about actually what i am looking for. But i need a ftb library supported compiler.
Note that ftp doesn't have any encryption either. sftp (sometimes also called SSH File Transfer Protocol) does have encryption but doesn't have much similarities with ftp. It is not ftp run over an SSH tunnel
For tftp, you could add some form of faked authentication by requiring the tftp client to access a file with a magic name instead of requiring the client to supply a username and password.
If you have enough RAM to port openssl, then you could use just about any TCP protocol that you run through an encrypted tunnel.
Thank you for all your replies.
But still the problem around us. We need source code for ftp. If its free it would be great.
Buying nichelite ftp stack from Interniche seems so costly. And even the can i get ftp stack alone from them and will it take efficient effect on my RL based ARM compilers code?
I dont any idea on this. I am new to lpc2388 and protocol.
Please provide me some fruitful ideas on this to fix this issue.
Note that version of Nichelite specifically for NXP processors is available free from NXP...
There are also plenty of open-sourse TCP/IP stacks around; eg, uIP and LwIP
The specifications for FTP are public and freely available - as are all the other standard internet protocols: www.ietf.org/.../1rfc_index.txt
So, why not take a look at them, and consider how much effort it would take to implement from scratch. You might then want to reconsider the value of a commercial stack like Interniche...
Why not any response to the note that ftp doesn't have encryption - something you seem to require?
Yes we had discussed about that.
Anyway FTP and SSL together may fix our problem if you peoples say yes.
Note that the "normal" FTP protocol creates a backwards connection for each file transfer. Because of this, you would probably have to settle for passive FTP if you are going to tunnel FTP.
But remember that if you are going to tunnel FTP, you may not just be able to drop in a FTP library - the FTP library will expect to be able to handle the networking.