diff options
author | John E. Malmberg <wb8tyw@qsl.net> | 2013-07-22 22:15:27 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-07-22 22:30:05 +0200 |
commit | 5880db8abd656413e1dc54881d347edaf78f1399 (patch) | |
tree | 655932cae65a118b1969e6a6974b7bdc711a4a16 /tests/server/tftp.h | |
parent | 0f4ba89ffdf93ed7883b4a1f53f1c383df4fcfad (diff) |
curl: fix upload of a zip file in OpenVMS
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.
Bug: http://curl.haxx.se/bug/view.cgi?id=496
Diffstat (limited to 'tests/server/tftp.h')
0 files changed, 0 insertions, 0 deletions