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 .

1060 questions
0
votes
1 answer

Best Windows Application which support both ssh and sftp

I am looking for applications that support both ssh and sftp (file transfer) protocols, Something like combination of putty and WinSCP. I know one: MobaXterm, but it is buggy and very slow compare to WinSCP and putty.
ebi
  • 501
  • 3
  • 12
0
votes
1 answer

How to recompile WinSCP without Finalizer

I need to use WinSCP in a SqlServer context (yes, I know this is not a good idea). The problem with WinSCP in a Sql Server context is that Finalizers are not allowed. I know C#, but not C++, so am looking for some guidance on how to proceed with…
Greg Gum
  • 33,478
  • 39
  • 162
  • 233
0
votes
2 answers

GUI over Command Line bad?

As a developer, is it bad that I prefer using gui tools like WinSCP and eclipse over command line protocols and tools like vi/pico? Please list supporting reasons. I feel like command lines are unnecessarily complicated.
James
  • 95
  • 8
0
votes
1 answer

VB6 program when run as schedule task freezes until focused

I have been searching the web for an answer however came up with nothing. I created a VB program that calls a .bat script to call commands to run a WinSCP script. This WinSCP script simply transfer files from a sftp (linux) server to a windows…
user1803784
  • 82
  • 1
  • 13
0
votes
1 answer

Download file with today's date in its name from remote server with WinSCP

I want to use .bat and .txt files to download a daily file I have off of a remote directory The root of the file is always the same, but the date changes...daily get filename_yyyymmdd.txt How can I search and download the file with today's…
Rhodo
  • 1,234
  • 4
  • 19
  • 35
0
votes
2 answers

Linux user rights www and no putty acces

I have two users named pi who is root and pizza4yu. I have set chmod 777 to /var/www how can I set that pi has full access to that folder and pizza4yu has no access ? And also I have set that pizza4yu can use winscp but I want to deny shell access…
Shnigi
  • 972
  • 9
  • 19
0
votes
1 answer

Can't access the timestamp of remote file using WinSCP

I'm using the WinSCP .NET assembly to programmatically connect to a remote server and get the timestamp (or last update date) of a particular file. I have not been successful in finding a method call.
MikieIkie
  • 80
  • 6
0
votes
3 answers

SFTP Transfer with Proxy?

Can the following WinSCP VBScript file be modified to allow proxy connection? '########################################################################### '# Function: MISC_FTPUpload '# '# Description: '# Uses the FSO object to FTP a file to a…
user1077685
0
votes
1 answer

WinSCP not running when called from PHP

I have this line of code: shell_exec("\"C:\Program Files (x86)\WinSCP\winSCP.exe\" /console /script=c:\\wamp\\www\\client\\transfer_script.txt"); The command works in command prompt, and I am sure that it is escaped correctly. Also, I have php safe…
Ethan
  • 2,754
  • 1
  • 21
  • 34
0
votes
1 answer

shell_exec not executing command in php

I'm trying to run this command from a windows computer, but I can't get it to work. The command works perfectly when I enter it into command prompt, but not when I execute the PHP script. $command = '"C:\Program Files (x86)\WinSCP\winscp.exe"…
Ethan
  • 2,754
  • 1
  • 21
  • 34
0
votes
1 answer

WinSCP exit codes

I am scripting WinSCP into a VB.NET project and wondering is there a list of exit codes and descriptions I can use for error handling? Checked their site but couldn't find anything.
Eireash
  • 99
  • 1
  • 1
  • 8
0
votes
1 answer

When a file is uploaded from php uploader WinSCP is unable to modify it

If a file is uploaded or created in any way by a php file I cannot modify it, however I can delete it. This is really irritating. P.S.: All of the files that have been created or uploaded have been done with phpBB 3.0.11
Timberwolf
  • 426
  • 4
  • 13
0
votes
1 answer

How to execute Putty commands on remote linux machine using c#

I have some set of Putty commands that i always Run to do a same task on a remote Linux machine. Now i want to do same through c# windows application? Please suggest, I explored many ways but did not succeed. Please sugest. For example i enter…
Saman
  • 33
  • 1
  • 7
0
votes
1 answer

not able to acces the aws ec2 instance

I am trying to access aws ec2 instance from putty and winscp but it is not getting connected to the instance. It was getting accessed previously in normal for but dont know from few days it is nt been accesible. Please can anyone help me with its…
Mahesh More
  • 919
  • 2
  • 8
  • 20
0
votes
2 answers

Feeding commands to WinSCP

I have Java Code that launch process of WinSCP tool and connects to a Unix machine and then call a xxxx.exe located on the Unix machine. The problem is that xxxx.exe accepts a parameter of a type File. So I need to upload this to the remote machine…
Gerard
  • 65
  • 1
  • 6