<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1172 "Error copying the Appian document to the remote server... Caused by: 4: Write exception: There is not enough space on the disk" error thrown when running SFTP smart service</title><link>https://community.appian.com/support/w/kb/389/kb-1172-error-copying-the-appian-document-to-the-remote-server-caused-by-4-write-exception-there-is-not-enough-space-on-the-disk-error-thrown-when-running-sftp-smart-service</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1172 "Error copying the Appian document to the remote server... Caused by: 4: Write exception: There is not enough space on the disk" error thrown when running SFTP smart service</title><link>https://community.appian.com/support/w/kb/389/kb-1172-error-copying-the-appian-document-to-the-remote-server-caused-by-4-write-exception-there-is-not-enough-space-on-the-disk-error-thrown-when-running-sftp-smart-service</link><pubDate>Mon, 06 Mar 2017 16:57:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a03ef655-129b-4f28-8572-8701e8a76569</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/389/kb-1172-error-copying-the-appian-document-to-the-remote-server-caused-by-4-write-exception-there-is-not-enough-space-on-the-disk-error-thrown-when-running-sftp-smart-service#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 3/6/2017 4:57:58 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The SFTP smart service fails with an error code of 4. The following is season in the application server log&lt;/p&gt;
&lt;pre&gt;[ajp-/0.0.0.0:8009-11] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=##SOME ID##, classname=com.appian.ps.plugins.sftpsmartservices.SendFileOverSFTP
 [stdout] (ajp-/0.0.0.0:8009-11) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.file_transfer=Error copying the Appian document to the remote server. See application server log for more details.]

INFO  [stdout] (ajp-/0.0.0.0:8009-11) Caused by: 4: Write exception: There is not enough space on the disk. 
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This happens because the SFTP server does not have sufficient disk space to receive the file. A more exhaustive list of SFTP error codes can be found &lt;a href="https://winscp.net/eng/docs/sftp_codes"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;You should either add more storage or free up some space on the SFTP server and try the transfer again.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: March 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: process models, application design&lt;/div&gt;
</description></item></channel></rss>