| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
problem posting a file with curl
From: <fabian.grzeszeyk_at_alti.lu>
Date: Wed, 19 Jun 2002 11:14:23 +0200
Hi there,
I have some problem with the curl library for posting a zip file.
How can I upload a zip file on a distant server, I try the follwing
on local machine:
//---- Get file content in binary mode
//---- Call remote page and post file
//----We'll be returning this transfer, and the data is binary , so
//----Grab the page and save the contents in the $contents variable
//----Close the connection
//----Print contents selection
I call an other page on the remote server to unzip the file in the post:
//---- Create bzip2 file
//---- Bunzip2 file
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Is there an other solution to post a file or how can I modify this script
Please help me.
Thanks in advance.
Fabian GRZESZEYK
----------------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info