<?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>Upload a file using C# as a Server method</title><link>https://www.aras.com/community/f/development/36212/upload-a-file-using-c-as-a-server-method</link><description>I will be using a server C# method upload files for migration from a legacy PLM system. 
 C# method, in lieu of Batch Loader, is to used to allow more logic to be applied to the file uploading. Based on https://community.aras.com/f/development/3741/ I</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Upload a file using C# as a Server method</title><link>https://www.aras.com/community/thread/6087?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 05:13:15 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1ec454b4-ae52-417b-9af6-c8ec5eb34748</guid><dc:creator>rif6894</dc:creator><description>&lt;p&gt;Trach&lt;/p&gt;
&lt;p&gt;Thanks for the code snippet, it works as expected.&lt;br /&gt;Simpler than adding the &amp;#39;Located&amp;#39; relationship and entering the vault id&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upload a file using C# as a Server method</title><link>https://www.aras.com/community/thread/6078?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 00:49:33 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ff78c5e5-cafc-4619-92e2-92fe02129aa5</guid><dc:creator>Trach Van</dc:creator><description>&lt;p&gt;This sample code can be used to upload a file:&lt;/p&gt;
&lt;p&gt;// Upload this .zip to Innovator&lt;br /&gt;Item zipFile = inn.newItem(&amp;quot;File&amp;quot;, &amp;quot;add&amp;quot;);&lt;br /&gt;zipFile.setProperty(&amp;quot;filename&amp;quot;, zipName);&lt;br /&gt;zipFile.attachPhysicalFile(fullZipPath);&lt;br /&gt;zipFile = zipFile.apply();&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>