Using FTP functionality in a program
From: Henry Law (lawshouse.public_at_btinternet.com)
Date: 11/23/03
- Next message: Horst Knobloch: "Re: Iptables: How do I forwarding public IPs into a router inside a private IP network?"
- Previous message: Ewan Sinclair: "Newbie Question - Network Config"
- Next in thread: Alan Connor: "Re: Using FTP functionality in a program"
- Reply: Alan Connor: "Re: Using FTP functionality in a program"
- Reply: Markku Kolkka: "Re: Using FTP functionality in a program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 22 Nov 2003 23:03:07 +0000
I am writing a small application (in C; or maybe Perl) which will need
to transfer files from any one of a number of workstations to a Linux
(RH9) server. The transfers will be under programmatic control: there
will be no user interface (well, not to that bit anyway).
Rather than write file-transfer routines for both ends I need some
code which will interwork with one of the services which are already
available on the server, FTP being the obvious example. So I need
some code, or a callable module of some kind, which I can invoke from
my application to execute an FTP transfer; think "sendit(FileName,
DestHost, DestFileName, ..etc).
I've got the full source of the standard Unix FTP client but it's
thousands of lines almost devoid of comments and it'll take me ages to
root through it to find the hundred-or-so lines that I expect I need.
Has anyone got any other suggestions? It doesn't have to be FTP if
you've got a better idea, but the files might be quite large so I do
need some measure of efficiency.
BTW if this is wildly off-topic do please say so; the list of Linux
groups is so long that it's hard to pick the right one.
- Next message: Horst Knobloch: "Re: Iptables: How do I forwarding public IPs into a router inside a private IP network?"
- Previous message: Ewan Sinclair: "Newbie Question - Network Config"
- Next in thread: Alan Connor: "Re: Using FTP functionality in a program"
- Reply: Alan Connor: "Re: Using FTP functionality in a program"
- Reply: Markku Kolkka: "Re: Using FTP functionality in a program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|