Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2295
  • Last Modified:

ftp source code in C in linux based systems

please can someone provide a source code for ftp client/server appl in C in linux based systems
1
s_univ
Asked:
s_univ
1 Solution
 
CoolATIGuyCommented:
Well, unless I find better, here is a GPL FTP client for windows based on C++: http://sourceforge.net/projects/filezilla/


CoolATIGuy
0
 
CoolATIGuyCommented:
Also check this: http://linux.tucows.com/ftp_default.html


CoolATIGuy
0
 
s_univAuthor Commented:
i am looking for real source code in C for FTP....not softwares
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
s_univAuthor Commented:
also i want to know, CoolATIguy ,that when i download the source code for ftp client from filezilla, there are so many source files that show up. can u pls guide me  on executing the necessary one?
0
 
LeahcimLCommented:
Hi,

links to server and client sources ->

Pro ftp demon -> http://ftp.superuser.co.kr/pub/proftpd/source/proftpd-1.2.8.tar.gz
wget (ftp / http client) http://ftp.gnu.org/gnu/wget/wget-1.9.tar.gz

Bye
Michael
0
 
CoolATIGuyCommented:
s_univ,

I did the best I could - and gpl required the source code included.  As far as executing the necessary one, it depends on what you are trying to do, I guess.  What are you trying to accomplish?

Did you check out that second page?  Any that say "GPL" as the license should include the s/c.

CoolATIGuy
0
 
s_univAuthor Commented:
Thanks, once again.
i am trying to develop a ftp application which will upload/download files from a server with the following features:

1.      User Authentication mode.
2.      Create files and folders.
3.      Upload/Download files in a secure way.
4.      View remote files.
5.      Delete/Rename files.
6.             Multiple file transfer

So, do you thk I will need all the source files included?
0
 
CoolATIGuyCommented:
I guess I'm still a bit in the dark...

If it's just for you to use, why not use someone elses?  And if you're trying to learn C, then you'll probably want all the source files for the ftp program in C to go off of...


CoolATIGuy
0
 
s_univAuthor Commented:
Hey, thanks for all your help. I amtrying to write a c program to build an ftp client. I am familiar with C. This is for just one of the projects I am working on currently, but the problem is I am new to network/socket programming, so just trying to find some help here. If I get a C code which has some description of how everything works and the logic behind it. I can rewrite it with the features I am trying to add. Hope this info helps you getting an idea of what I am trying to do . Once again, thanks buddy!
0
 
CoolATIGuyCommented:
Look through the gpl ones in that link...


CoolATIGuy
0
 
jackiechen858Commented:
If you want to do all the ftp coding yourself, that might be too much and not worthful. maybe the best way to do it is to find some C ftp library. not sure what OS your are using, you should be able to find some open source ftp library.
0
 
CoolATIGuyCommented:
Anybody mind if I ask for a grade change (c-b)?


CoolATIGuy
0
 
CoolATIGuyCommented:
Guess I should have explained at least a little...c-b because I feel that, while not fulfilling all the askers criteria, it was a start....for example, this: http://linux.tucows.com/preview/8887.html (sFTP is a curses-based FTP client for Linux 2.0, written in C++. GPL app)


CoolATIGuy
0
 
s_univAuthor Commented:
coolatiguy,

sorry for giving grade C. i have no probs in giving u a higher grade.....its just that i am trying to find some source code in C for ftpclient that actually works....i have found so many on Net but none seem to work correctly.

i have found one that connects to server but then hangs.....can u help me with that...
0
 
CoolATIGuyCommented:
Not sure...I don't program in C.  What app?


CoolATIGuy
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now