# Connection to SFTP server has been lost

**URL:** https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687
**Category:** Bugs
**Created:** [October 12, 2013, 12:07pm UTC](https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687 "2013-10-12T12:07:42Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jhuntjr](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/eada6e/32.png) [@jhuntjr](https://www.finalbuilder.com/forums/u/jhuntjr)
#### Post date: [October 12, 2013, 12:07pm UTC](https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687/1 "2013-10-12T12:07:42Z")

</div>

We have setup an SFTP connection to an external server in Automise V4 - (current build). &nbsp;For some reason, we are loosing connection for no apparent reason to the server. &nbsp;So with just an SFTP connect and an SFTP disconnect command, the server connects, then on the disconnect (or an upload file on the next step), the SFTP is failing with and SFTP error - this is not happening universally with other SFTP clients. &nbsp;

In Automise V3, the connection works fine. &nbsp;In fact, we upgaded a V3 to V4. &nbsp;In V3 is work and V4 it does not. Since we had other SFTP's that work fine, I was thinking it might be the remote server, however the fact that it works in V3 and not V4 seems strange to me. &nbsp;Not sure if this is a known bug or what...

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 12, 2013, 11:32am UTC](https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687/2 "2013-10-12T11:32:35Z")

</div>

The SFTP library was upgraded between V3 and V4. What is the actual error you are seeing? What is the SFTP Server software/version?

---

<div class="post-metadata">

### Author: ![jonathanmeltzer](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jonathanmeltzer](https://www.finalbuilder.com/forums/u/jonathanmeltzer)
#### Post date: [July 28, 2015, 6:09am UTC](https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687/3 "2015-07-28T06:09:42Z")

</div>

I know this is an old thread, but we are running into this as well, pretty consistently. Was there ever a fix implemented for this?

---

<div class="post-metadata">

### Author: ![jonathanmeltzer](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jonathanmeltzer](https://www.finalbuilder.com/forums/u/jonathanmeltzer)
#### Post date: [July 28, 2015, 6:14am UTC](https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687/4 "2015-07-28T06:14:05Z")

</div>

The error message we keep getting is:   
  
 “SFTP Error Message: Connection to the SFTP server has been lost and cannot be re-established. Failed to connect to remote server. Connection failed (error code is 10060)”

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [August 5, 2015, 1:38am UTC](https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687/5 "2015-08-05T01:38:53Z")

</div>

Hi Jonathan,   
  
 If you could send us a sample project to support that will help us greatly in diagnosing this issue. The project doesn’t need to contain any server identifying information, just the connection settings (i.e. please remove username, password, server address).   
  
 If you could also include all the connection log information from a failed and success attempt, again with any server identification removed.   
  
 Lastly, and most importantly knowing the SFTP server software your connecting to and its version would be of great help. Typically this is reported by the server when connecting to it. The majority of these issues tend to be a server and client incompatibility, or configuration issue.   
  
 Please feel free to send all these details to our support email address ([support@finalbuilder.com](mailto:support@finalbuilder.com)) and reference this forum case.

---

<div class="post-metadata">

### Author: ![jonathanmeltzer](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jonathanmeltzer](https://www.finalbuilder.com/forums/u/jonathanmeltzer)
#### Post date: [August 10, 2015, 4:10am UTC](https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687/6 "2015-08-10T04:10:58Z")

</div>

I have sent off an email this morning. I think I included all that you are asking for, but please let me know if you need more.

---

<div class="post-metadata">

### Author: ![jonathanmeltzer](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jonathanmeltzer](https://www.finalbuilder.com/forums/u/jonathanmeltzer)
#### Post date: [August 20, 2015, 9:03am UTC](https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687/7 "2015-08-20T09:03:31Z")

</div>

I tried to implement your solution, but I ran into a snag. I responded to your email. This is just a bump of the thread.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [November 26, 2015, 12:06pm UTC](https://www.finalbuilder.com/forums/t/connection-to-sftp-server-has-been-lost/4687/8 "2015-11-26T12:06:49Z")

</div>

Just a note that this was answered through email. Let us know if there are any further issues.
