Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

libcurl-easy(3) [osx man page]

libcurl(3)						      libcurl easy interface							libcurl(3)

NAME
libcurl-easy - easy interface overview DESCRIPTION
When using libcurl's "easy" interface you init your session and get a handle (often referred to as an "easy handle"), which you use as input to the easy interface functions you use. Use curl_easy_init(3) to get the handle. You continue by setting all the options you want in the upcoming transfer, the most important among them is the URL itself (you can't transfer anything without a specified URL as you may have figured out yourself). You might want to set some callbacks as well that will be called from the library when data is available etc. curl_easy_setopt(3) is used for all this. When all is setup, you tell libcurl to perform the transfer using curl_easy_perform(3). It will then do the entire operation and won't return until it is done (successfully or not). After the transfer has been made, you can set new options and make another transfer, or if you're done, cleanup the session by calling curl_easy_cleanup(3). If you want persistent connections, you don't cleanup immediately, but instead run ahead and perform other transfers using the same easy handle. libcurl 7.10.7 12 Aug 2003 libcurl(3)

Check Out this Related Man Page

libcurl(3)						      libcurl easy interface							libcurl(3)

NAME
libcurl-easy - easy interface overview DESCRIPTION
When using libcurl's "easy" interface you init your session and get a handle (often referred to as an "easy handle"), which you use as input to the easy interface functions you use. Use curl_easy_init(3) to get the handle. You continue by setting all the options you want in the upcoming transfer, the most important among them is the URL itself (you can't transfer anything without a specified URL as you may have figured out yourself). You might want to set some callbacks as well that will be called from the library when data is available etc. curl_easy_setopt(3) is used for all this. When all is setup, you tell libcurl to perform the transfer using curl_easy_perform(3). It will then do the entire operation and won't return until it is done (successfully or not). After the transfer has been made, you can set new options and make another transfer, or if you're done, cleanup the session by calling curl_easy_cleanup(3). If you want persistent connections, you don't cleanup immediately, but instead run ahead and perform other transfers using the same easy handle. libcurl 7.10.7 12 Aug 2003 libcurl(3)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Please help me find out system information

I'm just getting started with unix and would like to know 1) how to tell how big the harddrive is 2) how to tell if there are multiple harddrive installed on the machine 3) a relitavely easy way to tell what programs are installed on the machine. I'm using Sun OS 5.6 Thanks (3 Replies)
Discussion started by: ViperD
3 Replies

2. UNIX for Dummies Questions & Answers

easy peesy

What does ls & do? (2 Replies)
Discussion started by: vcardo10
2 Replies

3. Linux

odd telnet problem

Hey, I've got a RH9 box running telnet-server 0.17-25. Now i don't know what the problem is and i've been reading all night trying to find somthing like it. I am able to open a telnet session on the box using localhost and 10.10.10.6(machines address) but if i try to do it from another... (7 Replies)
Discussion started by: byblyk
7 Replies

4. UNIX for Dummies Questions & Answers

Replace

I am currently appempting to replace line 1 from file 1 with line 1 from file 2 and so on down the list until EOF. Is there an easy way to do this? Example File 1 idtoname 19783:1051144796:02:Fri Aug 12 07:25:24 2005 idtoname 19783:1051136412:02:Fri Aug 12 07:25:26 2005 File2... (2 Replies)
Discussion started by: jda2001
2 Replies

5. UNIX for Dummies Questions & Answers

file transfer from https to a Unix box

Hi, I want to transfer a file from a https side to an unix machine, somebody can let me know a easy way to do so, A simple script to be put in the unix machine to retrieve the file from the https side Thanks (4 Replies)
Discussion started by: jvjaimes
4 Replies

6. Shell Programming and Scripting

File transfer

Hi All, it might not be an sound question, i have two server like A and B.. i want to transfer file from B to A ..here i have some questions.. 1) do we need to create private and public key to connect..and transferring files...from B to A..? 2) i tried with scp options like... (2 Replies)
Discussion started by: Shahul
2 Replies

7. Shell Programming and Scripting

Perl automated file transfer

Hi, Firstly, I have no experience (at all) with shell scripting. So please, go easy on me :) I did a search for what I was looking for although there were a few things available here and on the net I couldn't find anything tailored to what I am looking for. Simply put, I have two servers.... (2 Replies)
Discussion started by: lastrider
2 Replies

8. Programming

Unix system crashing - Need help to identify the issue

Hi, We are accessing our remote webserver using libcurl.We are using GET method to post the request.The request is a simplified URL.We will receive XML Response for the URL request. Problem For Few Scenarios, response for the URL request is received & our component is killed abruptly. Can... (11 Replies)
Discussion started by: banus
11 Replies

9. Shell Programming and Scripting

Managed file transfer

Hello All, Firstly, the systems involved are Solaris 9/10 x86 and SPARC. At present, we have an internally written file transfer system that we use to manage incoming transfers and distribute the files to relevant processing systems. This is based on log watching. Over the years its become... (3 Replies)
Discussion started by: dcarrion87
3 Replies

10. AIX

Virtualization: WPAR vs LPAR

seems to be WPAR is quite easy to set up..without additional licenses.. If I don't need Linux and all my legacy and new apps are happy in AIX 7.1 (the latest OS), I could save all troubles and use WPAR. Can someone comment on this ?? One copy of OS to maintain, so to speak.. ... (4 Replies)
Discussion started by: ppchu99
4 Replies

11. Shell Programming and Scripting

How to transfer file from one PC to another using PERL?

Hi All I have two PC connected with each other via LAN cable. In one of the PC the Perl is installed. What I want to do is transfer the data from one PC to another via Perl. Is it possible to do this. ---------- Post updated at 11:31 PM ---------- Previous update was at 07:01 AM ----------... (10 Replies)
Discussion started by: parthmittal2007
10 Replies

12. Shell Programming and Scripting

Script counting instances of software running on a machine

Hello to all @here, as Iīm new to this forum, I will try to start in a easy way for my first post. Iīm not beginner in scripting, but also not a proffessional. So please keep easy, if I donīt understand your explanation at once ;) I donīt mean it in a bad way! Here is the Problem: There were... (2 Replies)
Discussion started by: muogli
2 Replies

13. UNIX for Advanced & Expert Users

[HELP!] File transfer utility

May I ask for a top 3 paid file transfer UNIX utilities to improve : automation, ease of use, and improve speed compared to BBFTP? BBFTP is an inconsistent, unsupported, high maintenance file transfer tool. At best, BBFTP has proven to transfer an average rate of 20GB/Hour Total (with 4... (3 Replies)
Discussion started by: annaia
3 Replies

14. Shell Programming and Scripting

Script to transfer files without xcom

Hi All, I want to make a script in which I want to transfer files from current server to another. The problem is that I don't have xcom installed on this so I was thinking of using scp command. The code I've written till now is - # Transferring latest inactive log file to another server... (16 Replies)
Discussion started by: csrohit
16 Replies

15. Linux

How to transfer files...

Hi guys, ok so, how do you go about networking between Windows and Linux so that I can transfer files between each other? (5 Replies)
Discussion started by: billcrosby
5 Replies