LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-16-2009, 09:07 AM   #1
neo_lucky
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
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
 
Old 06-16-2009, 09:10 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
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.
 
Old 06-16-2009, 09:28 AM   #3
neo_lucky
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 06-16-2009, 10:01 AM   #4
BeacoN
Member
 
Registered: Nov 2008
Distribution: Linux Mint
Posts: 56

Rep: Reputation: 17
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...
 
Old 06-16-2009, 10:05 AM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,102

Rep: Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719
Quote:
Originally Posted by neo_lucky View Post
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.
 
Old 06-18-2009, 03:04 PM   #6
neo_lucky
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 06-18-2009, 07:16 PM   #7
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
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.
 
  


Reply

Tags
ftp, simple


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help in C needed skyknight Programming 4 03-09-2009 04:16 PM
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 03:13 AM
XGL needed for Beryl is conflicting with OpenGL needed for Cedega chunkeydelight Linux - Desktop 2 07-18-2007 06:50 AM
Errors installing Q, which is needed for Lex, which is needed for PHP Virtuality Linux - Software 1 05-29-2007 05:47 PM
help needed here... c12ayon Programming 2 10-29-2003 11:59 AM


All times are GMT -5. The time now is 09:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration