{"id":7028,"date":"2018-03-15T21:50:59","date_gmt":"2018-03-16T01:50:59","guid":{"rendered":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/?post_type=ht_kb&#038;p=7028"},"modified":"2018-03-15T21:50:59","modified_gmt":"2018-03-16T01:50:59","slug":"using-winscp-with-secure-file-transfer","status":"publish","type":"ht_kb","link":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/?ht_kb=using-winscp-with-secure-file-transfer","title":{"rendered":"Using WinSCP with Secure File Transfer"},"content":{"rendered":"<p>The DataMotion Secure File Transfer service provides users with a way to send and receive files securely. It is possible to utilize the web portal or a file transfer client as an interface for this service, but this article will be focusing on the use of the popular file transfer client WinSCP. Please read through the instructions below to learn how to connect to your SecureMail account via WinSCP and perform file transfers using the Secure File Transfer service.<\/p>\n<h3>Accessing Your Account<\/h3>\n<p>The instructions below cover the necessary information to connect to your SecureMail account in WinSCP. These instructions assume the WinSCP client is already open.<\/p>\n<ol>\n<li>Open a new session.<\/li>\n<li>Ensure the <strong>File protocol:<\/strong> is SFTP.<\/li>\n<li>Set the <strong>Host name:<\/strong> to ssl.datamotion.com.<\/li>\n<li>Set the <strong>Port number:<\/strong> to 22.<\/li>\n<li>For the\u00a0<strong>User name:<\/strong>\u00a0field enter your SecureMail account\u2019s email address.<\/li>\n<li>For the\u00a0<strong>Password:<\/strong>\u00a0field enter your SecureMail account\u2019s password.<br \/>\n<a href=\"\/wp-content\/uploads\/WinSCPNewSession.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7031\" src=\"\/wp-content\/uploads\/WinSCPNewSession.png\" alt=\"\" width=\"626\" height=\"423\" srcset=\"\/wp-content\/uploads\/WinSCPNewSession.png 626w, \/wp-content\/uploads\/WinSCPNewSession-300x203.png 300w, \/wp-content\/uploads\/WinSCPNewSession-50x34.png 50w, \/wp-content\/uploads\/WinSCPNewSession-60x41.png 60w, \/wp-content\/uploads\/WinSCPNewSession-100x68.png 100w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/a><\/li>\n<li>Click the <strong>Tools<\/strong> button.<\/li>\n<li>Click <strong>Preferences<\/strong>.<\/li>\n<li>Click <strong>Endurance<\/strong> (under the <strong>Transfer<\/strong> section).<\/li>\n<li>Click the <strong>Disable<\/strong> radio button.<\/li>\n<li>Click OK.<br \/>\n<a href=\"\/wp-content\/uploads\/WinSCPPreferences.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7032\" src=\"\/wp-content\/uploads\/WinSCPPreferences.png\" alt=\"\" width=\"547\" height=\"472\" srcset=\"\/wp-content\/uploads\/WinSCPPreferences.png 547w, \/wp-content\/uploads\/WinSCPPreferences-300x259.png 300w, \/wp-content\/uploads\/WinSCPPreferences-50x43.png 50w, \/wp-content\/uploads\/WinSCPPreferences-60x52.png 60w, \/wp-content\/uploads\/WinSCPPreferences-100x86.png 100w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/a><\/li>\n<li>Click the <strong>Advanced<\/strong> button.<\/li>\n<li>Click <strong>SFTP <\/strong>(under the <strong>Environment<\/strong> section).<\/li>\n<li>Change the <strong>Preferred SFTP protocol version:<\/strong> to 4.<br \/>\n<a href=\"\/wp-content\/uploads\/WinSCPAdvanced.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7033\" src=\"\/wp-content\/uploads\/WinSCPAdvanced.png\" alt=\"\" width=\"563\" height=\"459\" srcset=\"\/wp-content\/uploads\/WinSCPAdvanced.png 563w, \/wp-content\/uploads\/WinSCPAdvanced-300x245.png 300w, \/wp-content\/uploads\/WinSCPAdvanced-50x41.png 50w, \/wp-content\/uploads\/WinSCPAdvanced-60x49.png 60w, \/wp-content\/uploads\/WinSCPAdvanced-100x82.png 100w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/a><\/li>\n<li>Click OK.<\/li>\n<li>Click the <strong>Login<\/strong> button.<\/li>\n<li>Click the <strong>Yes<\/strong> button to add the key to the cache.<br \/>\n<a href=\"\/wp-content\/uploads\/WinSCPAddHostKey.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7030\" src=\"\/wp-content\/uploads\/WinSCPAddHostKey.png\" alt=\"\" width=\"483\" height=\"352\" srcset=\"\/wp-content\/uploads\/WinSCPAddHostKey.png 483w, \/wp-content\/uploads\/WinSCPAddHostKey-300x219.png 300w, \/wp-content\/uploads\/WinSCPAddHostKey-50x36.png 50w, \/wp-content\/uploads\/WinSCPAddHostKey-60x44.png 60w, \/wp-content\/uploads\/WinSCPAddHostKey-100x73.png 100w\" sizes=\"auto, (max-width: 483px) 100vw, 483px\" \/><\/a><\/li>\n<li>The connection to the server will be completed and your directory will be loaded.<br \/>\n<a href=\"\/wp-content\/uploads\/WinSCPDirectory.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7034\" src=\"\/wp-content\/uploads\/WinSCPDirectory.png\" alt=\"\" width=\"1067\" height=\"281\" srcset=\"\/wp-content\/uploads\/WinSCPDirectory.png 1067w, \/wp-content\/uploads\/WinSCPDirectory-300x79.png 300w, \/wp-content\/uploads\/WinSCPDirectory-768x202.png 768w, \/wp-content\/uploads\/WinSCPDirectory-1024x270.png 1024w, \/wp-content\/uploads\/WinSCPDirectory-50x13.png 50w, \/wp-content\/uploads\/WinSCPDirectory-60x16.png 60w, \/wp-content\/uploads\/WinSCPDirectory-100x26.png 100w\" sizes=\"auto, (max-width: 1067px) 100vw, 1067px\" \/><\/a><\/li>\n<\/ol>\n<h3>Sending a File<\/h3>\n<p>Once you have connected to your account you will be ready to send files to recipients of your choosing. Follow the instructions below to send a file using Secure File Transfer.<\/p>\n<ol>\n<li>Under the Outgoing directory select the email address you wish to send a file to.<\/li>\n<li>(Optional) If you have no directories under\u00a0<strong>Outgoing<\/strong>, create one following the steps below:\n<ol>\n<li>While in the <strong>Outgoing<\/strong> directory, click on the <strong>New<\/strong> button.<\/li>\n<li>Select <strong>Directory<\/strong>.<\/li>\n<li>Enter an email address for the Folder name.<\/li>\n<li>Click OK.<a href=\"\/wp-content\/uploads\/WinSCPNewDirectory.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7035\" src=\"\/wp-content\/uploads\/WinSCPNewDirectory.png\" alt=\"\" width=\"339\" height=\"280\" srcset=\"\/wp-content\/uploads\/WinSCPNewDirectory.png 339w, \/wp-content\/uploads\/WinSCPNewDirectory-300x248.png 300w, \/wp-content\/uploads\/WinSCPNewDirectory-50x41.png 50w, \/wp-content\/uploads\/WinSCPNewDirectory-60x50.png 60w, \/wp-content\/uploads\/WinSCPNewDirectory-100x83.png 100w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/a><\/li>\n<\/ol>\n<\/li>\n<li>Drag a file into the directory of your choice.<\/li>\n<li>The file will be sent to the email address specified by the directory as a secure message.<\/li>\n<li>Note that you may get an error regarding the chmod command not being supported. However the message will send despite this error.<\/li>\n<\/ol>\n<p>Please note that once the file is uploaded the name of the file will be changed. The file will have the Message ID (MID) of the secure message that was sent to the intended recipient pre-pended to the filename. This will look similar to the following:<\/p>\n<p><a href=\"\/wp-content\/uploads\/WinSCPFiles.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7036\" src=\"\/wp-content\/uploads\/WinSCPFiles.png\" alt=\"\" width=\"222\" height=\"150\" srcset=\"\/wp-content\/uploads\/WinSCPFiles.png 222w, \/wp-content\/uploads\/WinSCPFiles-50x34.png 50w, \/wp-content\/uploads\/WinSCPFiles-60x41.png 60w, \/wp-content\/uploads\/WinSCPFiles-100x68.png 100w\" sizes=\"auto, (max-width: 222px) 100vw, 222px\" \/><\/a><\/p>\n<p>This pre-pended MID allows you to lookup the sent message in the SecureMail web portal or via the API should you desire to.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The DataMotion Secure File Transfer service provides users with a way to send and receive files securely. It is possible to utilize the web portal or a file transfer client as an interface for this service, but this article will be focusing on the use of the popular file transfer&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"content-type":"","footnotes":""},"ht-kb-category":[297],"ht-kb-tag":[],"class_list":["post-7028","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-securefile-transfer"],"_links":{"self":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb\/7028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7028"}],"version-history":[{"count":2,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb\/7028\/revisions"}],"predecessor-version":[{"id":7756,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/ht-kb\/7028\/revisions\/7756"}],"wp:attachment":[{"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7028"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-category&post=7028"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/knowlegebase-b5heb6b2esbghgd4.eastus2-01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-tag&post=7028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}