cURL / Mailing Lists / curl-library / Single Mail

curl-library

patch: #496 Can not upload a zip file in OpenVMS

From: John E. Malmberg <wb8tyw_at_qsl.net>
Date: Sat, 20 Jul 2013 03:07:02 -0500

This has two fixes.

1. Force output file format to be stream-lf so that partial downloads
can be continued.

This should have minor impact as if the file does not exist, it was
created with stream-lf format. The only time this was an issue is if
there was already an existing file with a different format.

2. Fix file uploads are now fixed.

    a. VMS binary files such as ZIP archives are now uploaded
       correctly.

    b. VMS text files are read once to get the correct size
       and then converted to line-feed terminated records as
       they are read into curl.

The default VMS text formats do not contain either line-feed or
carriage-return terminated records. Those delimiters are added by the
operating system file read calls if the application requests them.

Regards,
-John
wb8tyw_at_qsl.network

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2013-07-20