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
-1
votes
2 answers

Need help moving specific PDF files in Google Cloud Storage to an SFTP, based on values located in BigQuery

I have a use case where I need to copy PDF files stored in a Google Cloud Storage Bucket to an SFTP I have setup. The specific file names and locations within the bucket would be located in a Google BigQuery view. My experience is limited, and I've…
-1
votes
2 answers

WinSCP fails to run as a WebJob on Azure App Service

I've developed a .Net console application to run as a webjob under Azure App Service. This console app is using WinSCP to transfer files from App Service Filesystem to an on-prem FTP Server. The connectivity between App Service & the on-perm FTP…
-1
votes
1 answer

WinSCP to S3 with SSH authentication

Pretty simple question but I can't find any online resources to clarify if it is possible to do this. I want to transfer data from WinSCP to an S3 bucket in an Amazon environment but instead of creating an IAM user with an IAM policy I want to…
-1
votes
1 answer

Is there any way for me to avoid uploading sensitive files in this situation?

I will soon launch a website. It will be entirely static on the webserver (just HTML files and SVGs and such), which are dynamically generated on my PC. They will be generated every fifteen minutes or so and then synced via SFTP to the webserver…
user15080516
  • 121
  • 5
-1
votes
1 answer

How can resume file transfer in WinSCP from where it is broken

i am put command to upload files FTP server and each file like 3-5GB in size. Sometime server is disconnecting in between file transfer and when it reconnects it starts from broken file but it starts as fresh file. Example, if my download completes…
mnaveen
  • 13
  • 4
-1
votes
1 answer

Amazon S3 PDF files have wrong content type after Winscp upload

Yesterday I transferred ~1500 files to our Amazon S3 bucket using Winscp. I have a problem when downloading PDF files, since they are returned without extension. The cause seems to be the wrong content type being present on the file in the S3…
MeanGreen
  • 3,098
  • 5
  • 37
  • 63
-1
votes
2 answers

implementing Issue with ftp server "LIST"

I am implementing FTP server,Here making winscp as a client.whenever client sends PASV command to me(server), i am giving reply with ip address and port to client,then client is sending LIST command, then i giving response to client as 150 Opening…
Srihari
  • 3
  • 3
-1
votes
2 answers

How to access an VM instance created from market product deployment in GCP via FileZilla/WinScp or SSH?

I am doing a wordpress installation on GCP, this is done through deploying a wordpress in market: After the successful deployment, I also set a static IP address to the instance: I need to use FileZilla or WinSCP to connect to the instance or at…
mdivk
  • 3,545
  • 8
  • 53
  • 91
-1
votes
1 answer

I Have erratic file transfers with Powershell, FileSytemWatcher and WinSCP

I have a problem with my PowerShell script putting files to an ESB. Often it works, but not always, especially with large files things go wrong. Does anyone see errors in my script or a way to tackle/resolve my problem? Note: Resume support is not…
d1gg0
  • 17
  • 7
-1
votes
4 answers

read data from text file in batch. store in two temporary variables when looping

Trying to read username and password from text file, each username and password separated on new line in txt file. Not able to iterate over the array and get first element and second element from array and assign to varUser and varPass, then third…
-1
votes
1 answer

WinSCP script: Unknown command 'ssh-rsa'

I have WinSCP script connecting to am SFTP site. It establishes connection and says "starting session" but exits. This is my script FilePull.txt: open sftp://***:****@sftp.****.com:22 -hostkey=" ssh-rsa 1024 **********" which is being called…
goodprg
  • 65
  • 4
  • 14
-1
votes
2 answers

Deleting file using Powershell

I have a powershell script that connects to a SFTP every 2 minutes and deletes the files. If the file does not get deleted it retries 10 times. code: $session = New-Object WinSCP.Session $retryTimes = 0 while ($retryTimes -ne 10) { try { …
R.Dave
  • 1
  • 4
-1
votes
1 answer

Can we list the contents of a directory and sort them by modified time using scp command in windows

We want to connect to a remote machine using SCP in windows. We want to copy only the recently modified file and hence we would like to list the contents of the directory in sorted order so as to choose the required file. Need help with scp commands…
CVS
  • 73
  • 8
-1
votes
1 answer

WinScp: Connection has been unexpectedly closed. server sent command exit status 127

My Server is Ubuntu 14.04.5 LTS and I am able to connect SSH in Putty, but not able to connect via WinSCP. When I try to connect via WinSCP it gives below error: Connection has been unexpectedly closed. server sent command exit status 127
Subhash
  • 762
  • 9
  • 25
-1
votes
1 answer

Using scp to transfer files from unix to windows

I have a windows 7 laptop (not windows server, just a regular laptop). A unix machine is trying to drop a file to this windows machine. If i don't want to setup an FTP server on my windows, can the unix user still drop files using scp?
Victor
  • 16,609
  • 71
  • 229
  • 409