cURL / Mailing Lists / curl-library / Single Mail

curl-library

Reg:FTP upload in libcurl

From: <nagarajan.sreenivasan_at_wipro.com>
Date: Thu, 19 Jun 2008 17:21:47 +0530

Hi all
 
 
I am Establishing the conneciton in function called connect()
 
Now I want to uploadthe file using a funcitoncalled
UploadFile_FTP(Remotefilename,Localfilename)
 
I am reusing a conncetion for uploading a file. How do I do it ? I am
getting the below error
 
how do i pass the file name to a old connection (old URL)
 
* Re-using existing connection! (#0) with host <Servername>
* Connected to <Servername> (<Server IP> ) port 21 (#0)
* Uploading to a URL without a file name!
* Uploaded unaligned file size (0 out of 13 bytes)
* Closing connection #0
* URL using bad/illegal format or missing URL

 
Regards
Nagarajan
 
 

Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Received on 2008-06-19