Sponsored Content
Full Discussion: cURL auto resume
Top Forums Shell Programming and Scripting cURL auto resume Post 302501755 by Corona688 on Friday 4th of March 2011 03:57:23 PM
Old 03-04-2011
Code:
curl -T myfile.tar.gz ftp.site.com --user DC_Slick:password ||
        while ! curl -C- -T myfile.tar.gz ftp.site.com --user DC_Slick:password ; do true ; done

 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

resume mount connection

I have a system mount between two servers , but sometimes the connection will be broken when the unstable network or reboot the server , then the mount will not be resumed , even I add the mount connection at /etc/inittab , I still found the mount connection is unstable , could suggest how can I... (2 Replies)
Discussion started by: ust
2 Replies

2. What is on Your Mind?

Are companies viewing my resume? How do I track my resume visits?

Hi everybody, I am wondering if there is any tool or website out there which can track who is viewing my resume. It is very frustrating when you send your CV or Cover Letter and you receive no feedback from the company, you don't even know if they have checked it out. Thanks for your help (1 Reply)
Discussion started by: gearyipswich
1 Replies

3. Solaris

Solaris resume

Hi Im in solaris field and i have one year of experience so can anyone get me a sample resume for level 1 support for solaris so that it will be easy for me to update my profile..:) (1 Reply)
Discussion started by: madanmeer
1 Replies

4. HP-UX

How can I resume process ?

hi every body lock at this situation and tell me your advice i tried to install patch in hp-ux v2 i used swinstall -s /path to the patch every thing was good but during the installation network connection between the server and my labtob when i connect again to the server i tried to... (2 Replies)
Discussion started by: maxim42
2 Replies

5. Hardware

Cannot resume from suspend with new motherboardktop, does not resume properly

I would like to get pm-suspend (or any other suspend method) working for a small new desktop computer. It is based on a Zotac GF-8200 ITX motherboard and an AMD Athlon II X@ 240 CPU using ArchLinux x86_64. The pm-suspend script works, apparently putting the machine into suspend correctly... (0 Replies)
Discussion started by: lagagnon
0 Replies

6. Shell Programming and Scripting

Sm - mplayer wrapper with resume and more

This is a wrapper I use to play media files. If I quit I can restart, a big plus. #!/bin/bash # Title......: sm # Description: show media # Author.....: Mitchell Johnston - uid 0 # Contact....: mxj_97@yahoo.com #---------------------------------- # variables... (0 Replies)
Discussion started by: dragon-uid0
0 Replies

7. UNIX for Advanced & Expert Users

Resume from last failed command

Dear Experts, I am creating a shell script (A) which is menu driven and in turn calls another shell scripts (X) depending on the selection. X has a list of commands which runs batch jobs in auto mode. Content of X ./sqr.ksh axhri051_sf axhri051_sf.par $1 $2 XHRPPYOV; ./sqr.ksh axbni062... (19 Replies)
Discussion started by: rprasad
19 Replies
curl_easy_perform(3)						  libcurl Manual					      curl_easy_perform(3)

NAME
curl_easy_perform - Perform a file transfer SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_perform(CURL *handle); DESCRIPTION
This function is called after the init and all the curl_easy_setopt(3) calls are made, and will perform the transfer as described in the options. It must be called with the same handle as input as the curl_easy_init call returned. You can do any amount of calls to curl_easy_perform(3) while using the same handle. If you intend to transfer more than one file, you are even encouraged to do so. libcurl will then attempt to re-use the same connection for the following transfers, thus making the operations faster, less CPU intense and using less network resources. Just note that you will have to use curl_easy_setopt(3) between the invokes to set options for the following curl_easy_perform. You must never call this function simultaneously from two places using the same handle. Let the function return first before invoking it another time. If you want parallel transfers, you must use several curl handles. RETURN VALUE
0 means everything was ok, non-zero means an error occurred as <curl/curl.h> defines. If the CURLOPT_ERRORBUFFER was set with curl_easy_setopt there will be a readable error message in the error buffer when non-zero is returned. SEE ALSO
curl_easy_init(3), curl_easy_setopt(3), libcurl 7.7 5 Mar 2001 curl_easy_perform(3)
All times are GMT -4. The time now is 03:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy