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

In sftp://user:pass@something@ipaddress:port what is something?

I am reading some batch script files trying to work out where a certain file is being uploaded to (and from) and the initial open command looks like (changed of course): open sftp://user:pass@something@99.999.999.999:22 but I cannot workout what…
sinrtb
  • 136
  • 1
  • 2
  • 6
0
votes
2 answers

WinSCP like program for MacOS with proxy support

I was accessing to the deployment servers via WinSCP on my old Windows machine. Since I just have a proxy point on deployment site; WinSCP's proxy feature was excellent for me. After I moved to Mac OS X I couldn't find an SFTP client like WinSCP…
Olgun Kaya
  • 2,519
  • 4
  • 32
  • 46
0
votes
1 answer

Automated Synchronisation of server files and local files

Is there any application that does a automated update of the server file and local file? WinSCP does the local to server update and uni directional. Is there any bidirectional application?
Siddharthan
  • 141
  • 1
  • 2
  • 13
-1
votes
0 answers

How to download files with only max 24h

I have this piece of my code to get all .mdb files: echo option batch abort echo option confirm off echo open sftp://%USERNAME%:%PASSWORD%@%SERVER_ADDRESS% -hostkey="*" echo lcd %LOCAL_DIRECTORY% echo cd %REMOTE_DIRECTORY% echo get -preservetime…
-1
votes
0 answers

Execute Process Task WinSCP Log File Creation Not being created in right directory and fails execute process task despite completing task

From a ssis package there is an execute process task where it runs a .script file to connect to winscp and gets a file. open ftptest cd %1% lcd Package\%2% get script.txt close exit In the execute process task I have this as the…
Junsh
  • 37
  • 5
-1
votes
0 answers

Time not Updating when script runs WinSCP

I have a automated script that transfers files from my server to my PC. I have a python file that zips all my files and puts them in a folder in my server that my script then finds and moves those files. Every file has the time as a way to tell them…
-1
votes
0 answers

FTP WinSCP Timeout error only when using command line

I'm trying to move files from my GoDaddy server to my pc using WinSCP. but whenever I run my bash script or any command (even just doing cd..) I get a timeout error. however if I move the file with the GUI it works fine. I want to use the CMD though…
-1
votes
1 answer

I can't connect to AWS EC2 Windows Instance from WinSCP (local laptop machine)

I used the same security group and ACLs for the Amazon Linux instance, and it worked. I then added a 22 port number to the firewall of the Windows server, but again it failed. I then turned off the complete firewall, but this again did not…
-1
votes
2 answers

Can't access files in list control

I'm planning to execute this script on a remote desktop to automatically download a file every day using WinSCP. So far this script can log in and get to an explorer window, but I cannot access the files in the window. I'd like to be able to…
rdg515
  • 75
  • 5
-1
votes
1 answer

Python ftplib fails with FTPS but WinSCP works

I have following code: import pysftp user = ... password = ... host = ... port = 21 class FtpDirectory: def __init__(self): self.ftp = None def __enter__(self): self.ftp = FTP_TLS() self.ftp.debugging = 1 …
A. L
  • 131
  • 2
  • 12
-1
votes
2 answers

Can WinSCP be set to automatically connect to a site when it launches

I primarily use WinSCP to connect to a particular site every time I launch the program. I've read about configurations that will launch the app and connect to a site each time the computer starts (such as this), but how can I set WinSCP to connect…
EJ Mak
  • 799
  • 1
  • 8
  • 29
-1
votes
1 answer

WinSCP PowerShell GetFiles/GetFile Modifies Remote Files Timestamps

I'm trying to write a PowerShell WinSCP script to pull recently modified remote files from an SFTP server. WinSCP has a decent example in their documentation. I'm really struggling though as Session.GetFiles is modifying the remote files timestamp…
-1
votes
1 answer

Powershell Script - SendMail [Detailed Errors]

I'm testing with a PowerShell script (where I'm testing copy and paste over FTPs using WinSCP), and in parallel I'm configuring the following code for sending mail in case of error on any of the put tasks, get.... This is the code: @echo off set…
Bztruster
  • 59
  • 1
  • 1
  • 3
-1
votes
1 answer

Why won't the lastest file switch in winscp won't work?

I know this will be a question thats answered many times but i just can't get it working. I need to download some files on a daily basis but only the lastest versions. My script is able to download tthem all but i can't get the -latest switch…
Pierge
  • 1
  • 1
-1
votes
1 answer

Compare local and remote files using WinSCP .NET assembly

I'm trying to implement some logic to compare file information between remote server and local server. I need to compare the file name between local folder and remote folder and download only the new files. I tried using loading files in a list and…
Nitz
  • 21
  • 1