Questions tagged [winscp]

WinSCP is an open source free SFTP, FTP and SCP client for Windows. WinSCP is commonly used by developers to upload their code, such as PHP, to web servers. Beyond this, WinSCP offers scripting and .NET assembly to automate file transfer tasks.

WinSCP is an open source free SFTP, FTP, WebDAV and SCP client for Windows. Its main function is file transfer between a local and a remote computer.

WinSCP is commonly used by developers to upload their code, such as PHP, to web servers.

WinSCP can be used to automate file transfer tasks, either using basic scripting interface or, for advanced tasks, using .NET assembly.

For details see:

For questions specific to the WinSCP .NET assembly, in addition to the main tag use also the .

926 questions
9
votes
4 answers

BAT script to copy files from Windows to remote Linux systems

Is there anyway to copy files from Windows machine to a remote Linux machine with a DOS command/other command-line tool (by specifying username and password in the command). I normally do this using WinSCP and would like to write a script (BAT) to…
softwarematter
  • 25,053
  • 59
  • 155
  • 250
9
votes
3 answers

Winscp with SSIS package gives System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

Installed WinSCP .net using nuget installer. Visual Studio 2013 SSIS BIDS 2012 Project references are correct - pointing to DLL that was installed Project contains one script which is a stripped down version of the sample code from the winscp site. …
Shaun Neal
  • 1,163
  • 1
  • 10
  • 12
9
votes
3 answers

WinSCP connect to Ubuntu. Access Denied

I installed Ubuntu13_desktop in VMware(VMware® Workstation 7.1.6) based with Windows 7. Now I want to connect to Ubuntu from Windows 7. Set the WMware as Host-only. Installed WinSCP in Windows, configured protocol: SFTP; Host name: ubuntu; Port:…
CLoren
  • 278
  • 2
  • 5
  • 10
8
votes
4 answers

Get permission to work with files on my Amazon EC2 Ubuntu server using FTP-WinSCP

I have an Ubuntu server on Amazon, I installed everything for working with it (php, mysql, phpmyadmin, apache..), The problem is that I cant move around or edit files using the FTP. I get the error message: Permission denied. Error code: 3 Error…
W.Doch
  • 3,983
  • 9
  • 58
  • 117
8
votes
1 answer

WinSCP .NET assembly: Where to define proxy?

I am able to define the proxy server by using the WinSCP GUI. If I do this I am able to connect to a remote host. But in code I don't find a way to declare the proxy server for WinSCP. In this case I receive Remote server returned an error (407)…
deyaert
  • 101
  • 1
  • 3
7
votes
4 answers

SSH host key fingerprint does not match pattern C# WinSCP

I am trying to connect to an FTPS server using C# via WinSCP and I am getting this error: SSH host key fingerprint ... does not match pattern ... After tons of research, I believe is has something to do with the length of the key. The key I got…
user3690095
  • 341
  • 2
  • 4
  • 12
7
votes
1 answer

set times: Operation not permitted

In WinSCP, If you have opened a file from the server on your local and on making changes and pressing (Ctrl+S), basically saving it, you get an error saying: /path of the file/ set times: Operation not permitted And whenever you are saving the…
Bhanu Pratap Singh
  • 879
  • 10
  • 14
7
votes
3 answers

How to copy symbolic link file from Linux to Windows and then back to Linux but still keeping it as a symbolic link

I have a symbolic link in my Linux machine. I want to copy just the symbolic link (not the target) to a Windows machine and then copy this symbolic link from Windows machine back to some other Linux machine and symbolic link should continue to…
Bhuvan
  • 3,509
  • 5
  • 26
  • 70
7
votes
2 answers

WinSCP: The server rejected SFTP connection, but it listens for FTP

I am using the WinSCP in order to download files using FTP protocol. I got this error in the XML log. Any idea? Network error: Connection to "example.com" refused. The server rejected SFTP connection, but it listens for FTP connections. Did you…
user3548593
  • 489
  • 1
  • 6
  • 22
7
votes
1 answer

WinSCP: Text search on remote files

I use WinSCP to get access on the remote files of our project. How can I search for some text/words in all remote files/directories using WinSCP?
Max_Salah
  • 2,907
  • 11
  • 35
  • 64
6
votes
3 answers

Passing parameters to winscp.com command line

I am trying to write a WinSCP script. I tried the example at, https://winscp.net/eng/docs/guide_automation#parametrized but the parameter value is not taken by the script. When the script is invoked as, winscp.com /script=testscript /parameter…
digdug
  • 211
  • 2
  • 4
  • 14
6
votes
1 answer

SFTP file transfer in SSIS

I've read a whole bunch of different forums on this but cant seem to get mine to work. I need to transfer a file from my local machine to an SFTP server using SSIS. Here is what I've already done: I downloaded WinSCP Created a saved connection in…
tzee
  • 65
  • 1
  • 5
6
votes
2 answers

Connecting to SFTP via SSIS

I'm trying to connect to a SFTP server via an SSIS package. The package executes WinSCP with the following connection string in a .txt file: open sftp://username:fc$#6444@example.com:22 However the package keeps failing without being able to…
may-z
  • 107
  • 1
  • 6
6
votes
6 answers

Ansible development environment

Currently I'm developing ansible orchestration system. The project structure is something like this: site.yml webservers.yml fooservers.yml roles/ common/ files/ templates/ tasks/ handlers/ …
Na Na
  • 748
  • 3
  • 11
  • 19
6
votes
6 answers

Problems with WinSCP with end-of-line style on Ubuntu Linux when using SVN Diff

My files are on a remote Ubuntu Linux server. When I download the files and edit it in either the WinSCP text editor or Notepad++, the file end-of-line style changes to Windows. So when I resave the file back to Ubuntu the lines are off and SVN…
Tihom
  • 3,274
  • 5
  • 31
  • 47
1
2
3
61 62