Displaying 6 results from an estimated 6 matches for "curlhandle".
Did you mean:
curl_handle
2010 Nov 14
1
RCurl and cookies in POST requests
Hello.
I know that it's usually possible to write cookies to a cookie
file by removing the curl handle and doing a gc() call. I can do
this with getURL(), but I just can't obtain the same results with
postForm().
If I use:
curlHandle <- getCurlHandle(cookiefile=FILE, cookiejar=FILE)
and then do:
getURL(http://example.com/script.cgi, curl=curlHandle)
rm(curlHandle)
gc()
it's OK, the cookie is there. But, if I do (same handle; the
parameter is a dummy):
postForm(site, .params=list(par="cookie"), curl=curlHand...
2012 Sep 19
1
scraping with session cookies
..."
http://www.wateroffice.ec.gc.ca/graph/graph_e.html?mode=text&stn=05ND012&prm1=3&syr=2012&smo=09&sday=15&eyr=2012&emo=09&eday=18"
postForm(site, disclaimer_action="I Agree")
cf <- "cookies.txt"
no_cookie <- function() {
curlHandle <- getCurlHandle(cookiefile=cf, cookiejar=cf)
getURL(site, curl=curlHandle)
rm(curlHandle)
gc()
}
if ( file.exists(cf) == TRUE ) {
file.create(cf)
no_cookie()
}
allTables <- readHTMLTable(site)
allTables
[[alternative HTML version deleted]]
2012 Dec 05
1
request
...er inserting the protocols as shown in Input (below), i have go the
output as shown in below.
input
library (rneos)
NC<-CreateNeosComm(curlopts=list(httpheader=c('content-type'="text/xml",
'User-Agent'="R"), protocols=proxy.noc.titech.ac.jp:3128,
port=3332),curlhandle=getCurlHandle())
#to check the neos server is active"NeosServer is alive" is returned
Nping(convert=T, nc=NC)
output
> library (rneos)
> NC<-CreateNeosComm(curlopts=list(httpheader=c('content-type'="text/xml",
'User-Agent'="R"), protocols=prox...
2005 Aug 21
1
Rsync 2.6.3 does not show to be deleted files. Bug?
...e rsync logs to I see:
Aug 21 22:31:37 hedwig rsyncd[24738]: deleting i-Packages/tex/.tar-
texmf-build
Aug 21 22:31:37 hedwig rsyncd[24738]: deleting i-Packages/tex/.tar-
exptexmf-build
Aug 21 22:31:37 hedwig rsyncd[24738]: deleting i-Packages/%basicii2.make
Aug 21 22:31:37 hedwig rsyncd[24738]: CURLHandle/10.2+ compatible/
CURLHandleTester.app/Contents/Frameworks/CURLHandle.framework -> tmp/
PB__inter/UninstalledProducts/CURLHandle.framework
Aug 21 22:31:38 hedwig rsyncd[24738]: dante-1.1.13/dlib/Raccept.c -
> ../lib/Raccept.c
Is there a way in this setup that I can let rsync when going u...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...rsion_info
0000000000005270 T R_curl_write_binary_data
00000000000051b0 T R_curl_write_data
00000000000051d0 T R_curl_write_header_data
U R_do_MAKE_CLASS
U R_do_new_object
U R_do_slot
U R_do_slot_assign
0000000000004530 t R_finalizeCurlHandle
0000000000006af0 T R_getCURLErrorEnum
0000000000006b10 T R_getCURLInfoEnum
0000000000006b30 T R_getCURLOptionEnum
0000000000003ea0 T R_getCurlMultiHandle
0000000000006a00 T R_init_RCurl
0000000000003bf0 T R_internalWriteTest
0000000000004a50 T R_popCurlMultiHandle
0000000000006600 T R_post_form
000...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...rsion_info
0000000000005270 T R_curl_write_binary_data
00000000000051b0 T R_curl_write_data
00000000000051d0 T R_curl_write_header_data
U R_do_MAKE_CLASS
U R_do_new_object
U R_do_slot
U R_do_slot_assign
0000000000004530 t R_finalizeCurlHandle
0000000000006af0 T R_getCURLErrorEnum
0000000000006b10 T R_getCURLInfoEnum
0000000000006b30 T R_getCURLOptionEnum
0000000000003ea0 T R_getCurlMultiHandle
0000000000006a00 T R_init_RCurl
0000000000003bf0 T R_internalWriteTest
0000000000004a50 T R_popCurlMultiHandle
0000000000006600 T R_post_form
000...