LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help needed (https://www.linuxquestions.org/questions/linux-newbie-8/help-needed-733328/)

neo_lucky 06-16-2009 08:07 AM

help needed
 
hiii
i am new to this community so extremly sorry if i had broken any rules and regulation
but i urgently need help on my academic project...
i am learning networking as my summer training and have studied unix networking (socket api) by stevans
now as my project i want to develop simple ftp client/server prototype but am really clueless where to start...
i have 15 days left for submission so kindly help

ps: i just want to develop simple client/server ftp module... so dont want to get in detail of all security layer remote login etc...
my programm should connect to port 21 and request a file and recieve that file...
thanks

pixellany 06-16-2009 08:10 AM

Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.

That said, welcome to LQ!!

You CAN get help with homework here, but you typically need to show what work you have already done. One way to get started would be looking at the source code for some existing program.

neo_lucky 06-16-2009 08:28 AM

hey there
i am not s school student trying to find easy way out of my project
i am graduate
its just that i am trying to learn networking and have studied just one book... now i want to develop a decent application (ftp) i have a vision in my mind but am clueless for direction.... i am not asking for whole source code but just the basic steps for developing ftp

i have learnt multithreaded apis and built simple client server modules...
i have checked on net and found most of simple example on ftp in java...
but i realy want to develop it in c
thanks
ur help appriciated

BeacoN 06-16-2009 09:01 AM

I don't know how much bloat it has, I know vsftpd is made to run securely and fast. However it's open source and might be a good place to start.

http://vsftpd.beasts.org/

check out the source code and go from there...you definitely have your work cut out for you-learning C and developing a program in 15 days...

TB0ne 06-16-2009 09:05 AM

Quote:

Originally Posted by neo_lucky (Post 3575857)
hey there
i am not s school student trying to find easy way out of my project
i am graduate
its just that i am trying to learn networking and have studied just one book... now i want to develop a decent application (ftp) i have a vision in my mind but am clueless for direction.... i am not asking for whole source code but just the basic steps for developing ftp

i have learnt multithreaded apis and built simple client server modules...
i have checked on net and found most of simple example on ftp in java...
but i realy want to develop it in c
thanks
ur help appriciated

Spell out your words, please. And if you already know about how to build multithreaded API's and have done this in Java, you shouldn't have any problem in C.

ProFTP and vsftp both have their source code available for you to look at. And in your first post, you said this was an "academic project", but now you say it isn't...both can't be true. You're either doing this for a school project or you're not. If you have SPECIFIC questions, you'll find alot of help. But you're asking for very vague 'help', with doing an entire project.

neo_lucky 06-18-2009 02:04 PM

hey thanks for that link....

well i am really working hard now on project...
i just want to add one more functionality than simple file transfer

1>i want to create a shared directory at server side(with normal user privilege)
2>with view command i want client to actually see the list of files in shared directory

how can i pass on the list to client can anybody help me...
i am using stream sockets with tcp protocol and ip4 family

chrism01 06-18-2009 06:16 PM

1. This is a programming qn, so use the Report button to ask the mods to move it to Programming forum
2. Write your own attempt for each fn, test it. If it doesn't work, post the code as a qn and we will help you debug it.
See LQ rules.


All times are GMT -5. The time now is 12:13 PM.