<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Get URL File</title><link>https://www.aras.com/community/f/development/3642/get-url-file</link><description>Hi

Can I get file by url link in method? I don&amp;#39;t know code how to write

Another question is system get url file how to auto attachment in relationship.</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Get URL File</title><link>https://www.aras.com/community/thread/1480?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 05:50:26 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:99d63195-e437-4bfd-9e90-236a368a8137</guid><dc:creator>Michelle</dc:creator><description>Dear Angelalp

Thank you so much. Try to succeed.

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get URL File</title><link>https://www.aras.com/community/thread/1475?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 10:36:39 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:be1f40ba-4027-4fa0-b03f-a2f43dec8238</guid><dc:creator>AngelaIp</dc:creator><description>Hi Michelle,

thanks for posting the code for the WebClient. That was a missing piece for one of my own task.
Your code downloads the file to the server.

For storing the file into the Vault, you can take a look at my SSRS project:
&lt;a href="https://github.com/AngelaIp/add-ssrs-reports-to-vault/blob/master/AIP_get_SSRS_Report.cs"&gt;github.com/.../AIP_get_SSRS_Report.cs&lt;/a&gt;

Look at line 69 downwards. The examples downloads a file to the server, than moves it to the file Vault and than attach it to the File Relationship of ItemType Document.

Regards!
Angela&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get URL File</title><link>https://www.aras.com/community/thread/1473?ContentTypeID=1</link><pubDate>Mon, 02 Apr 2018 04:01:02 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a53099e8-6d37-4e2e-a92b-71eaa34234be</guid><dc:creator>Michelle</dc:creator><description>Hi

I create a AAA ItemType and  create AAA_File ItemType (this is AAA itemtype RelationshipTypes and Related ItemType is File)

AAA Form have a button

step 1.download document

In button click event code:

WebClient wc = new WebClient();
wc.DownloadFile(&amp;quot;&amp;quot;&amp;gt;testweb/.../upload, @&amp;quot;C:\TestDownload\download.jpg&amp;quot;);

step 2. User get download.jpg and add in RelagionShips File

Question：I want click button download document and auto add file in relationships.

Have anything API  can do like FileUpload(&amp;quot;fileName&amp;quot;,&amp;quot;URL&amp;quot;)  download and  add  document by system self&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get URL File</title><link>https://www.aras.com/community/thread/1469?ContentTypeID=1</link><pubDate>Fri, 30 Mar 2018 06:11:12 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8525a492-5269-4ee6-952f-259084d1dca2</guid><dc:creator>Zahar Chernov</dc:creator><description>Hello Michelle,

I&amp;#39;m not sure I understand your question. Maybe you can explain what you trying to develop?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get URL File</title><link>https://www.aras.com/community/thread/1468?ContentTypeID=1</link><pubDate>Fri, 30 Mar 2018 05:44:23 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a0118d88-f340-4719-90ff-5263c8c6bc0a</guid><dc:creator>Michelle</dc:creator><description>Hi

If user provide url  aras have api can download file? Because this url open by homepage will get file.

So user want to key in url and push a button get file

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get URL File</title><link>https://www.aras.com/community/thread/1464?ContentTypeID=1</link><pubDate>Thu, 29 Mar 2018 05:51:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e2d6a056-e73a-4ed7-b267-b66eaa38c93e</guid><dc:creator>Zahar Chernov</dc:creator><description>You can use following Client Side method: top.aras.getFileURLEx(fileItem);

You can check how this function is working by review the code  in following client side js file:

\Innovator\Client\javascript\item_methodsEx.js&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>