Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unable to download the attachnments with RQMUrlUtility :Got an IOException: java.io.FileNotFoundException

java -jar RQMUrlUtility.jar -command GET -user XXX -password XXX -filepath C:\\RQM_Cucumber_Framework\\Test_Artifacts\\test_data\\ -url https://igarqm01.swg.usma.ibm.com/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/XXXXX+Project/attachment/XXXXX

XXXXX -> this are removed me be since this is related our project.

Version: 6.0.6.1
Below is the details printed by RQMUrlUtility

Default cookie policy RFC_2109 is used.

RQMUrlUtility: Connected to https://igarqm01.swg.usma.ibm.com using project "XXXXXX"
Attempting to create SSL_TLS context
RQMUrlUtility: Calling [ HTTP GET ] method to download an attachment
RQMUrlUtility: Server Response code: 200
RQMUrlUtility: Got an IOException: java.io.FileNotFoundException: C:\XXXX\no-cache="set-cookie, set-cookie2" (The filename, directory name, or volume label syntax is incorrect.)
RQMUrlUtility: If the path contains spaces, surround it with double quotes.
RQMUrlUtility: The directory containing the file must exist and have appropriate permissions.

Disconnecting from the IBM Rational Quality Manager server.

0 votes



One answer

Permanent link

 Hi Sravan Kumar,


Please use this link to cross check the command used for downloading the attachments. Also, make sure, the directory structure used for download is accessible and as the error message is saying, the syntax might be incorrect in your case. Try using " " for the filepath.




Hope this helps,
Krupa Gunhalkar

0 votes

Comments

Still facing the same issue, permission and proper to the file path.
I am surprised to see what is the no-cache="set-cookie, set-cookie2".

Even the file not found error is for this file.

Got an IOException: java.io.FileNotFoundException: C:\XX\no-cache="set-cookie, set-cookie2" (The filename, directory name, or volume label syntax is incorrect.)
If the path contains spaces, surround it with double quotes.
The directory containing the file must exist and have appropriate permissions.
java.io.FileNotFoundException: C:\XX\no-cache="set-cookie, set-cookie2" (The filename, directory name, or volume label syntax is incorrect.)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(FileOutputStream.java:286)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:226)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:112)
        at com.ibm.rqm.url.client.RQMUrlGET.<init>(RQMUrlGET.java:108)
        at com.ibm.rqm.url.UrlUtility.main(UrlUtility.java:339)

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Apr 16 '20, 6:15 a.m.

Question was seen: 1,687 times

Last updated: Apr 26 '20, 4:02 a.m.

Confirmation Cancel Confirm