LinuxQuestions.org
Review your favorite Linux distribution.
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 03-22-2012, 06:43 AM   #1
rahul11
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
how can i transfer a file from server to client and vice-versa using Ftp..


plz help me if someone know about this
plz send me code regard to this project.

thanks...
 
Old 03-22-2012, 07:17 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Code? Ftp is generally not done by writing code; there are plenty of existing applications that can do file transfers using ftp. The most common application is (appropriately named) ftp. It has enough built-in help that most people can make it work, but the man page has enough to fill in the gaps.
If you are trying to write an ftp server &/or ftp client, then I would ask two questions: why?, and what language? But mostly just, why? In fact these days, there is little good reason to use the ftp protocol at all. sftp is better in virtually every way. Same for scp.

If you really want code, I suggest tracking down the open sources for the standard ftp that has been part of Unix/Linux since before there was dirt. Shouldn't be hard to find.

--- rod.
 
Old 03-22-2012, 07:22 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,937

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
I use expect command sometimes. A program autoexpect creates a file to use if you want.
 
  


Reply


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
file transfer program in c using FTP client and FTP server renuaseri Linux - Newbie 2 01-29-2011 05:49 AM
can't ping or browse by host name of my Fedora 5 server from WinXP and vice versa edeaux Linux - Networking 2 08-22-2006 06:04 AM
Installing packages on linux clients thru windows server or vice-versa balpeck Linux - General 1 09-01-2003 10:26 AM
Possible to telnet to SSH server or vice versa ? Rampage2884 Linux - Networking 4 05-04-2002 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:46 AM.

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
Open Source Consulting | Domain Registration