09-16-2011
Yes, fuser is good for making sure transfers are complete, but better is that the other end send to a temp name, and if it transfers OK, renames it to the delivery name. A transfer processs may exit for a connection loss in mid-file. Trailers are nice, too, or XML completeness of outer element. Adding an ack/flag file is also effective, but seems a bit crude.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have some locked files ( locked via the Mac finder)
I have tired rm -R and rm -rdf but it doesnt delete the locked files
just says "override rw------- etc?"
type "yes" and says "operation not permitted"
is there some way to do this (or unlock the files)
Thanks (1 Reply)
Discussion started by: Aussie John
1 Replies
2. Shell Programming and Scripting
I need to find files that have the ending of .out and that are older than 20 days. However, I cannot use find as I do not want to search in the directories that are underneath the directory that I am searching in.
How can this be done?? Find returns files that I do not want. (2 Replies)
Discussion started by: halo98
2 Replies
3. Shell Programming and Scripting
Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same.
Thanks in advance.
Regards
Jatin Jain (10 Replies)
Discussion started by: jatin.jain
10 Replies
4. UNIX for Dummies Questions & Answers
using OS X and the Terminal, I'd like to find all locked files in a specified directory, unlock them, and print a list of those files that were unlocked
how can I do this?
I'm familiar with chflags nouchg for unlocking one file but not familiar with unix enough to do what I'd like.
Thanks! (0 Replies)
Discussion started by: alternapop
0 Replies
5. UNIX for Dummies Questions & Answers
Here's the story:
I had an LaCie Internet Space (1TB)... Recently the network (or software)
functions of the device just died... I tried to access it via different routers,
checking UTP, tried everything possible to rule out physical damage to
components.
Then i got the disk out of its... (2 Replies)
Discussion started by: SentinelX
2 Replies
6. UNIX for Advanced & Expert Users
Hi all,
i have no of processors .in that some processors locked. how to find the particular locked processors into list of all the processors.
i hav no of processors like
ex:
processors
1021
1022
1023
1024
1025 ---it is locked
1026
--
-
-
-
-
--
2334334
so i don't know 1025 is... (1 Reply)
Discussion started by: venkatreddy
1 Replies
7. Shell Programming and Scripting
what is the find to command to find the files created last 30 days (5 Replies)
Discussion started by: rajkumar_g
5 Replies
8. UNIX for Dummies Questions & Answers
Hello all,
this is my first and probably not my last question around here. I do hope you can help or at least point me in the right direction.
My question is as follows, I need to find files and possible folders which are not owner = AAA group = BBB with a said location and all sub folders ... (7 Replies)
Discussion started by: kilobyter
7 Replies
9. Proxy Server
Details Samba server:
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Kernel version: SunOS 5.10 Generic_142909-17
Samba version:
Samba version 3.5.6
Smb.conf file section Global:
# smb.conf for Airbus Industries fuer... (0 Replies)
Discussion started by: Jean-Guillaume
0 Replies
10. Shell Programming and Scripting
I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation.
When I tried like below,
-bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation
-bash-4.1$ find ./ -name % Retail by State
find: paths must precede expression: Retail
Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies
LEARN ABOUT LINUX
curl_easy_perform
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)