tag:help.appveyor.com,2012-11-13:/discussions/problems/164-problem-with-encodable-characters-in-artifact-name-such-as-plusAppVeyor: Discussion 2018-10-19T08:16:30Ztag:help.appveyor.com,2012-11-13:Comment/321073752014-03-15T05:28:36Z2014-03-15T05:28:40ZProblem with encodable characters in artifact name such as plus<div><p>Hello,</p>
<p>I'm following the full semantic version spec (<a href=
"http://semver.org">http://semver.org</a>), which includes a part
for build metadata. This is included after a plus sign, like
this:</p>
<p>CIVersionTest-v1.0.0+6.unstable.git3d7d41e3.zip</p>
<p>It appears that attempting to create an artifact with a name
that includes a plus sign (I also tried using %3b) results in a 404
not found.</p>
<p><strong>Details:</strong></p>
<p>This worked:</p>
<pre>
<code>Push-AppveyorArtifact
C:\projects\test2\CIVersionTest\bin\CIVersionTest-v1.0.0.zip
CIVersionTest-v1.0.0.zip</code>
</pre>
<p>This worked (note I'm using "t" instead of "+"):</p>
<pre>
<code>Push-AppveyorArtifact
C:\projects\test2\CIVersionTest\bin\CIVersionTest-v1.0.0.zip
CIVersionTest-v1.0.0t7.unstable.git3d7d41e3.zip</code>
</pre>
<p>This resulted in an error:</p>
<pre>
<code>Push-AppveyorArtifact
C:\projects\test2\CIVersionTest\bin\CIVersionTest-v1.0.0.zip
CIVersionTest-v1.0.0+6.unstable.git3d7d41e3.zip
Exception calling "AddArtifact" with "4" argument(s): "The remote server returned an error: (404) Not Found."
At C:\Program Files\AppVeyor\BuildAgent\agent-api.psm1:184 char:5
+ [Appveyor.BuildAgent.Api.BuildServices]::AddArtifact($fullPath, $FileName, $ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Command executed with exception</code>
</pre>
<p>For now I'm just going to use a different character instead of
plus in the zip file name, but if this ever fixed let me know and
I'll switch it to using a plus so it matches the semantic version
used throughout the rest of the system, thanks!</p></div>jcwtag:help.appveyor.com,2012-11-13:Comment/321073752014-03-15T15:41:23Z2014-03-15T15:41:23ZProblem with encodable characters in artifact name such as plus<div><p>Nice issue. I will look into this, thank you!</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/321073752014-03-16T03:42:44Z2014-03-16T03:42:44ZProblem with encodable characters in artifact name such as plus<div><p>OK, <code>+</code> is now supported in file names. Give it
another try and let me know how it goes.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/321073752014-03-16T06:22:03Z2014-03-16T06:22:04ZProblem with encodable characters in artifact name such as plus<div><p>Confirmed fixed. Thanks, I appreciate the quick turnaround
time!</p></div>jcw