Unable to upload files using WinSCP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Unable to upload files using WinSCP

L4 Transporter

I was wondering if you have come across this issue and have any insight on how to resolve it?

Connecting from Windows laptop to target Linux servers using ssh key pair auth. Via PSMPs. Downloading files is no problem. But any attempt to upload a file results in error message shown at https://community.cyberark.com/s/question/0D52J000093HFVZSA4/psmwinscp-connection-error-host-is-not-...

The safe file can be uploaded t same server via direct ssh so DLP, AV are not the issue.

I have changed the settings for Target settings and set ConnectionComponentInitTimeout = 90000 but don’t see the other timeout settings.

Have you come across this issue and resolved it? If yes please share any tips. Thank you.

7 REPLIES 7

L7 Applicator

hey @Ash Datta​ 

Does the error occur with every file, even small text files?

 

-Matt

Great question Matt.

For very small files, for example just few KBs, what happens is that file gets uploaded but at the end the same error message shows up. If I click abort and reconnect, the file is actually uploaded. For bigger files, something similar happens - the file is still uploaded but just few KBs of lets say a 3 MB file and as a result the file is corrupt. It is as if something is doing a check, waiting for some sort of feedback which never comes and the further transmission is cut off.

thats very interesting. it sounds like it's working, but when it tried to terminate the connection, or maybe extend the connection, it will fail.

 

Can you check there aren't any drops in connectivity to this server? Does the same thing happen outside of CyberArk too? I believe you can do similar outside of Cyberark with winscp, but it's been a while since I've done anything with it personally, to be honest.

 

-Matt

L4 Transporter

Hi @Ash Datta​ ,

 

As you mentioned, some timeout parameters are not available in the respective connection component. Add them manually, restart the PSM service or wait for 10 minutes and try again.

I have verified that this is not a server/file or even connectivity issue.

You are right it is trying to terminate or get feedback from server which does not seem to be forthcoming.

Thank you for replying URaz

I have tweaked the timeout parameters as indicated in the article above but sadly it has not made any difference.

Check the network traffic stability using a packet capturing tool like Wireshark.

  • 234 Views
  • 7 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!