|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1156287 ] Can not upload a zip file in OpenVMS
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 17 Mar 2005 16:09:14 -0800
Bugs item #1156287, was opened at 2005-03-03 15:17
Category: ftp
Initial Comment:
I have tried to upload a zip file with the following
curl -v -u user:password --upload-file myfile.zip
I tried to use the same option to upload a binary file
The Curl I am using was download from the link "VMS
I also tested the windows version of Curl and the zip file
By the way, if I add the -crlf option, the zip file then can
Any ideas why this would happen?
Thanks
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Message:
Well, the problem is that Curl for VMS version does not have
Also I am not complaining the --crtl option, on the contrary, I
If you read the source code, you can see that with the --crtl
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
If you use --crlf it will modify the contents, yes. But then
You said you are doing a binary transfer and then you should
What "file size calculation bug" are you referring to?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Message:
libcurl may no do the translation, but it may chop the content
Ching
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Message:
well, I don't think so. Because, if you add the --crlf option,
Ching
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Still, if a binary transfer doesn't send the file binary
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Message:
My soluction for this is:
1) Add --crlf option before sending the zip file
It seems to be working in this way.
Ching
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
I don't know much about VMS and file modes/types, but I
curl doesn't even support ftp ascii transfers properly (and
I don't know what to do here.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Message:
I can tell It was using Binary transfer mode during the
It seens to me that this issue is to do with the LF character.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Uh, in what way is a zip file _not_ a binary file?
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info