Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

libcurl-easy(3) [sunos 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

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

easy peesy

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

2. 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

3. Shell Programming and Scripting

FTP script

Hi. I need to transfer certain file a lot of times in hour from one host to another. In order to do this procces more easy I have written script for automatical transfer the file by ftp. But the script do not work. I use HP unix. The script: #!/usr/local/bin/tcsh -f ftp -n <<EOF open... (1 Reply)
Discussion started by: McKaby
1 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 and Linux Applications

Automated file transfer

I want to automate the file transfer from a remote site to my pc over a WAN. Can anyone please suggest an industry standard secure file transfer tool for a windows environment? I am looking for an industry accepted, more secure than traditional FTP. Thanks! (1 Reply)
Discussion started by: damienjine
1 Replies

6. UNIX for Dummies Questions & Answers

File Transfer that is not so trivial I guess

I have three computers A, B and C. To login to B and C I should use A because it has a SSH key. I don't have any other way of accessing these two computers. Now, if I need to transfer a file between B and C, I am unable to find a way that would work... because I don't know how to authenticate... (1 Reply)
Discussion started by: Legend986
1 Replies

7. 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

8. 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

9. Red Hat

Help configuring cfg2html URL

Hi, I have installed 'cfg2html' on my RHEL server in order to obtain some easy access to system info. It has installed correctly and I have successfully tested and generated some report data on the server. However my issue is that I am unable to display this info via the URL. Any... (2 Replies)
Discussion started by: Duffs22
2 Replies

10. UNIX for Dummies Questions & Answers

transfer windows files to linix

I'm very new to linix (using puppy) and need to transfer some files on the same computer from windows to linix. Please use small easy words (2 Replies)
Discussion started by: bugzy
2 Replies

11. 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

12. 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

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