cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #496 Can not upload a zip file in OpenVMS

From: John Malmberg <wb8tyw_at_users.sf.net>
Date: Tue, 23 Jul 2013 12:25:23 +0000

The fix for the original bug has been checked in to curl and should appear in curl 7.32.

Curl will now convert and upload in the two variable length text file types that are produced by DCL and text editors as STREAM_LF files. Curl will also convert and upload STREAM_CR files as STREAM_LF files. This conversion is done by the OpenVMS C runtime.

Curl will now upload all other file types as STREAM_LF files which respects the logical EOF in the final block.

FTP STRU support of VMS will need to be tackled as a separate issue.

---
** [bugs:#496] Can not upload a zip file in OpenVMS**
**Status:** closed-later
**Labels:** ftp 
**Created:** Thu Mar 03, 2005 11:17 PM UTC by Anonymous
**Last Updated:** Tue Jul 16, 2013 12:45 PM UTC
**Owner:** Daniel Stenberg
Hi there,
I have tried to upload a zip file with the following 
command and always received a 'Uploaded unaligned 
file size' error and the zip file is just partially uploaded to 
ther server
curl -v -u user:password --upload-file myfile.zip 
ftp://myftpserver
I tried to use the same option to upload a binary file 
\(e.g. wordpad.exe\) or a text file, it all worked fine. 
The Curl I am using was download from the link "VMS 
Alpha  7.13.0 binary  Marty Kuhrt 1777 KB " and I am 
using OpenVMS here.
I also tested the windows version of Curl and the zip file 
can be uploaded without any problems. 
By the way, if I add the -crlf option, the zip file then can 
be uploaded without the error, but the file size is 
increased by a coulpe of bytes and I can't use winzip to 
open it as it said the file is not in the right format.
Any ideas why this would happen?
Thanks
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2013-07-23

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET