|
|
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, 16 Jul 2013 12:45:11 +0000
ZIP files should be binary files and are routinely transferred by FTP that way.
I need to do some tests with ZIP files, but I suspect this is similar to [CURL BUG 758](https://sourceforge.net/p/curl/bugs/758/), in this case the ZIP file format is not set to STREAM_LF for some reason so that an incorrect upload size is calculated.
The protocol for FTP STRU support of VMS attributes appears to be implemented in the open source CKERMIT and the MAD GOAT FTP product, and the HG FTP product which is the successor to HG FTP. In that case the FTP client detects that the server is VMS and transfers the VMS files always as a binary file, but then sets the VMS specific record attributes so that the file structure on the server matches the client.
--- ** [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:** Fri Jun 21, 2013 01:43 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-16 These mail archives are generated by hypermail. |
Page updated May 06, 2013.
web site info