Hello netters,
Is there any way of doing ftp from within a C program without using
a system call and execing a shell script out of it??
Thanks,
--Kiran
Thanks,
--Kiran
Of course, you can open a socket connection to the site's ftp port and speak
ftp protocol yourself. You could also get Cern's libwww which contains routines
to do this.
Patrick
--
These opinions are mine, and not Amdahl's (except by coincidence;).
~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
/ | | (\ \
| Patrick J. Horgan | Amdahl Corporation | \\ Have |
| Phone : (408)992-2779 | P.O. Box 3470 M/S 316 | \\/ Will |
| FAX : (408)773-0833 | Sunnyvale, CA 94088-3470 | _/\\ Travel |
\ | O16-2294 | \) /
~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
> |> Hello netters,
> |> Is there any way of doing ftp from within a C program without using
> |> a system call and execing a shell script out of it??
> |>
> |> Thanks,
> |> --Kiran
> Of course, you can open a socket connection to the site's ftp port and speak
> ftp protocol yourself. You could also get Cern's libwww which contains routines
> to do this.
> Patrick
--alan
>> |> Hello netters,
>> |> Is there any way of doing ftp from within a C program without using
>> |> a system call and execing a shell script out of it??
>> |>
>> |> Thanks,
>> |> --Kiran
>> Of course, you can open a socket connection to the site's ftp port and speak
>> ftp protocol yourself. You could also get Cern's libwww which contains routines
>> to do this.
>> Patrick
>You could also open a pipe using popen to ftp.
>--alan
I never quite managed to get this to work the way I wanted it to,
but I didn't play with it for very long either.
I think the last version I looked at even had notes about generalizing
the ftp code into an ftp API. Of course all details above are from
memory so you might want to check me on them before getting your hopes
up too high.
Regards,
Larry Emmett (EMMT) / You can't do the \ Texas Instruments, Inc.
(214)995-5070 / attempting the absurd.\ Dallas, TX
>I think the last version I looked at even had notes about generalizing
>the ftp code into an ftp API. Of course all details above are from
>memory so you might want to check me on them before getting your hopes
>up too high.
I had email'ed a copy of my work to a professor at DePaul University
who was supposedly going to do some cleanup on it to allow it to be
placed into the GNU project, but it's been over four months since I've
heard from him, so I'm assuming that he decided not to do this.
If there's enough call for it, (and someone that wants to ante up to
do the release work :^)) I'd be happy to work with someone to make this
library publicly available.
on this.
<Steve Reppucci, Fax International, Burlington, Massachusetts>
1. FTP sites with 'UNIX Network Programming' book program code?
Hello netters,
I am looking for FTP site with the program code of
'UNIX Network Programming' book (R. Stevens). Any ideas?
michael
--
Michael Haldey | Genasys II Pty Ltd
| 13th Level, 33 Berry St, North Sydney, NSW, Australia
| Phone: +61-2-954-2878 (-9930 FAX)
3. FTP: Looking for source code for FTP client program
4. "lp" prints only the first line of any text file.
5. Linuxppc.com ftp site & Mac FTP programs
7. "Mary had a neat program...neat program...neat program...
9. Solaris ftp v Pro-ftp v WU-ftp
10. FTP: New Linux FTP site: ftp.kernel.org
11. Secure ftp, ftp over stunnel og ftp-ssl.
13. Xt/Example programs, ftp site?