Questions tagged [winscp]

WinSCP is an open source free SFTP, FTP and SCP client for Windows. WinSCP is commonly used by power users to upload files to web servers. Beyond this, WinSCP offers scripting and .NET assembly to automate file transfer tasks.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
1k views

WinSCP/PuTTY: Cannot move file on server via sudo: Permission denied

I have uploaded a file to a remote Linux server. current directory is: /home/user/file.war Now i want to move the file into tomcat webapps folder and overwrite the existing version: The directory ...
flixe's user avatar
  • 101
0 votes
1 answer
3k views

WinSCP: wait at `searching for host` page

When I try to connect my Centos running on VMWare, WinSCP wait in searching for host line and do not connect. I've checked that SSH is up and running on port 22 of my VMWare and turned off windows ...
VSB's user avatar
  • 285
0 votes
1 answer
43 views

Preventing WinSCP from unselecting files after a drag and drop from local folder to remote folder

Is there any way to prevent WinSCP from unselecting files after a drag and drop from local folder to remote folder? Example: I use WinSCP 5.7.6 with Windows 7 SP1 x64 Ultimate. (FileZilla doesn't ...
Franck Dernoncourt's user avatar
3 votes
1 answer
2k views

Automatically rename uploaded files not to conflict with existing files using SFTP (WinSCP)

I have file named with A.txt, Using batch command to copy the file to SFTP Server. After copying the A.txt, to copy the A.txt again to SFTP on same path.There is no possible same name with two files ...
Vignesh Rajendran's user avatar
4 votes
2 answers
4k views

Getting "Host "=" does not exist" when trying to automate file transfers using WinSCP script

I am trying to automate some file transfers using WinSCP scripting. This is what I have. option echo off option batch on option confirm off open abcde:[email protected] lcd "t:\" put -...
Pratik's user avatar
  • 41
3 votes
2 answers
3k views

WinSCP and Notepad++: File does not exist anymore?

I recently upgraded to Windows 10 and installed WinSCP (imported websites login information from the other computer) and Notepad++ (6.8, previously I used 5.6). I use WinSCP in combination with ...
user1232551's user avatar
1 vote
1 answer
828 views

Connecting to Amazon VPC instances via WinSCP

I am looking for a way to connect to an Amazon VPC EC2 instance from WinSCP. I am able to connect to it via PuTTY by SSHing to the NAT server and then ssh to the private instance using its private IP. ...
Zaid Amir's user avatar
  • 207
2 votes
3 answers
2k views

WinSCP wildcard directory and file

I have directories test1-test10 in a remote FTP server. Using WinSCP scripting, I want to retrieve every file under these directories. This shows all directories: ls test* I want to retrieve all ...
drum's user avatar
  • 679
1 vote
1 answer
3k views

WordPress and WinSCP permissions: Getting Upload of file ... was successful, but error occurred while setting the permissions and/or timestamp

I have an EC2 instance and in it I use WordPress. To edit WordPress plugins and themes files I use WinSCP. The problem is that if I try to edit a file via WinSCP I get the following error message: ...
Gustavo Piucco's user avatar
0 votes
1 answer
134 views

How to open connection to several servers at once [closed]

How can I open 10 servers that I have in Site Manager with one click of a mouse? I'm using FileZilla. I have servers in my Site Manager, and I want to open all of them with one click sorted like in ...
IceD's user avatar
  • 111
0 votes
0 answers
135 views

Files not uploading when using winscp

I am uploading files with winscp a lot and I figured out that uploading files takes too long or dont even happen. I'm editting files that are on winscp and save them to it as well. Whenever I do this, ...
Loko's user avatar
  • 215
0 votes
1 answer
495 views

Error when use WinSCP + copy file from solaris machine to Windows machine

When I use WinSCP in order to transfer file from the Solaris machine to the Windows machine I get the following message Received too large (7367222 B ) SFTP packet……. The error is typically caused by ...
maihabunash's user avatar
0 votes
1 answer
594 views

Send file from windows local host to remote server via ssh

How can I send any file from a windows local host to a remote server via ssh? If possible, using only shell command line.
Johan's user avatar
  • 103
3 votes
3 answers
3k views

How to set up Atom.io as a WinSCP external editor

How do I set up Atom (from atom.io) as a WinSCP editor? (based on https://stackoverflow.com/questions/29102822/using-atom-io-with-winscp)
Warren Blanchet's user avatar
1 vote
1 answer
3k views

WinSCP File from Mainframe?

I am attempting to use WinSCP.com to pull a file from a mainframe server. I am able to do this by the DOS FTP command line after logging in: Get 'A.B.C.MYFILE.TXT' \\mytargetpath\test.txt This ...
enderland's user avatar
  • 1,988
1 vote
1 answer
326 views

Using WinSCP to Edit Website Files Through SFTP

I'm logging in through SFTP using WinSCP. I am able to see all the files of my website and the whole directory structure. However, if I try to edit a file, e.g. an HTML or CSS file, I am able to re-...
Rick Helston's user avatar
0 votes
0 answers
2k views

WinScp SFTP upload is deadly slow

Recently we updated our WinScp from 5.1.3 to 5.7.3, the problem is our SFTP upload speed is very low compared to the older version (new: 250KB/s vs old: 2.7MB/s), but normal FTP is not affected, we ...
user3473830's user avatar
1 vote
0 answers
22 views

Can't fill any fields in WinSCP

I try to connect to an FTP and when I'm trying to fill the fields like host name, port etc. Nothing happens. If I press "S" than save window pops up. So its like i'm using shortcuts but I don't. It ...
MagicDragon's user avatar
1 vote
1 answer
149 views

Why does WinSCP open local directories with .exe files slowly?

If I open local folder with a few .exe files with WinSCP (and FileZilla too), it hangs for a little while and then opens the directory. On remote FTP directory this doesn't happen. Why does this ...
Disova's user avatar
  • 13
2 votes
2 answers
2k views

Authentication with ssh and scp works but not WinSCP

I have a Ubuntu server with 3 user accounts (root, user1, user2). user1 has access via WinSCP, scp and ssh. No problems here. Then I've created another user2 but with this user I can't access the ...
seveves's user avatar
  • 183
2 votes
2 answers
2k views

Create new file in WinSCP with UTF-8 without BOM encoding

I'm using WinSCP in order to work via SFTP with a remote server running a Linux distro. I'm also using Notepad++ (latest version) as my text editor (when editing a remote file). When I use WinSCP to ...
Emmanuel Figuerola's user avatar
2 votes
1 answer
10k views

How to configure WinSCP with SSH proxy

I'm trying to configure WinSCP for use with a proxy so that I can Login to my site (I'm trapped behind a corporate firewall). I'm trying to follow the directions of https://www.javahotchocolate.com/...
user1592380's user avatar
0 votes
1 answer
2k views

SFTP connect through an other server

I want to connect to my account in a server of my university. When I’m there I only have to do “ssh user@FinalServer/home/user” or create a folder using “sftp://user@FinalServer/home/user”. ...
Charlio's user avatar
0 votes
1 answer
4k views

how to copy files from SFTP to local host(windows server) using powershell

I am using the below power shell command to copy file from server "SFTP" to windows server. for some reason the Script is not working would you please help # Scriptname.ps1 # send the files to Win-...
Ealhiary's user avatar
2 votes
1 answer
19k views

Move (download and delete) files from SFTP server

I am using a WinSCP (SFTP) script to move files off a SFTP server. Something like this: get *.ecx But this only "copies" files from remote to local. I need to move files off the server. What server ...
Zeno's user avatar
  • 201
8 votes
2 answers
16k views

How to launch PuTTY as terminal within WinSCP

I have come across WinSCP (http://winscp.net/) which I think is a fantastic client to work with my EC2 Ubuntu instance as a graphical alternative to PuTTY. Is it possible to add a different terminal ...
user1592380's user avatar
1 vote
2 answers
4k views

WinSCP script hangs when connecting to host

I've batch script that runs winscp with script, and sometimes WinSCP hangs when is "Connecting to host". Is it possible to set timeout that WinSCP stops trying to connect and shuts it's self after x ...
R. Nec's user avatar
  • 179
0 votes
1 answer
1k views

Can I get throughput speed from WinSCP Script?

I see that when I run my script, it outputs the throughput while it is downloading, is there a way to get the total throughput speed of the file after it has been downloaded? My Script: WinSCP.exe /...
Ducksauce88's user avatar
2 votes
2 answers
6k views

How to zip multiple files or folders with WinSCP and automatically keep the file name part?

I am using WinSCP and it has the option to use custom commands remotely. I want to zip some files and folders. WinSCP has a command that can zip a file or folder but I have to enter the name for the ...
Ezdub's user avatar
  • 21
1 vote
1 answer
2k views

Checking WinSCP connection status in PowerShell script

I have a script that get files from one location to another. My script works fine. However I'd like to check first for "connected sessions". With SSH.NET PowerShell module I checked this with: $...
MuH's user avatar
  • 11
1 vote
1 answer
115 views

How to copy a Linux file into a Windows PC? [duplicate]

How do I copy files in others account in Linux to my Windows PC. I have WinSCP. I’ve the access permission to other account (sudo).
rao's user avatar
  • 111
1 vote
2 answers
3k views

WinSCP cannot overwrite file without write permissions to containing directory

I want to overwrite a file having permissions 777 but the directory in which file is placed has permissions 755. So it is not allowing to do so.
Renu's user avatar
  • 11
0 votes
1 answer
385 views

WinSCP files editing and checking in windows

I am new to PHP. I am using WinSCP to check through a few already existing files. I need to make some changes in a single file. I have made the changes but not sure how to check if the changes are ...
Veena's user avatar
  • 1
4 votes
1 answer
7k views

Powershell Script to SFTP New files

I have a script here that SFTP's files from one location to another, the script works fine however I'd like to change the script so that it only copies files that are not already present. Bit of a ...
user3329963's user avatar
15 votes
5 answers
33k views

How to setup SSH Keys on Windows machine (SSH Client) to access Azure Linux VM?

Googling was fruitless, as most people have a slightly different variation of this problem. I am trying to setup an Azure Linux VM with SSH (no password), for access from a Windows machine. 2018 ...
Alex R's user avatar
  • 1,844
1 vote
1 answer
4k views

WinSCP has to constantly reconnect to my Ubuntu Server

I am on a Window 7 machine so I am left to using a tool like WinSCP to manage my remote servers which run Ubuntu. I do use a good old command line too but for file management I generally use WinSCP, ...
JasonDavis's user avatar
  • 5,042
5 votes
2 answers
33k views

WinSCP keeps giving "Host is not communicating" errors while PuTTY is all right?

It had been all right all day until a few hours ago when WinSCP suddenly started keeping giving out the hideous "Host is not communicating for more than 15 seconds. Still waiting..." error. I tried to ...
datasn.io's user avatar
  • 525
1 vote
1 answer
369 views

How to store password for switch user in my .profile

I usually connect to my AIX server using putty via my regular account and then do "su - otherAccount". This way I've to enter password twice, one for my account and one for the otherAccount. I've ...
R Syed's user avatar
  • 111
18 votes
2 answers
50k views

How do you turn on the 'Ignore permission errors' option in WinSCP?

How do you turn on the Ignore permission errors option in WinSCP? I keep getting a prompt do to so, but when I search through the preferences I cannot find any such option.
user avatar
0 votes
2 answers
2k views

Edit files with WinSCP on Ubuntu 14.04

How I can edit files with WinSCP on Ubuntu 14.04? Since I can not login as root or elevate privileges Error: Permissions Denied, you can not overwrite the file
Pablo's user avatar
  • 1
3 votes
1 answer
6k views

Variable in WinSCP script

I'm asked to automate some SFTP download processes via WinSCP. I'm not familiar with WinSCP scripting. ftprun.cmd: C:\Program Files\WinSCP\winscp.com" /script=D:\testsftp\ftpscript.txt ftpscript....
Bean Tee's user avatar
1 vote
2 answers
2k views

Pass-through account login through WinSCP [duplicate]

I have a Linux server, where when I connect by PuTTY, I first need to log in using a non-root account (let's say user1), and then issue the command su root or su - root to log in to the root account. ...
ADTC's user avatar
  • 2,974
1 vote
1 answer
108 views

Is there a way to store more website information in WinSCP?

FileZilla Windows FTP Client Below is a screenshot from FileZilla, you will notice one of it;s best features is that it allows you to store anything in the notes section. I often use this notes ...
JasonDavis's user avatar
  • 5,042
0 votes
0 answers
100 views

WinSCP Set GID error

I'm asking this question on behalf of a customer who called into my help desk. He was using WinSCP to try and change permissions of a directories and it's directories. He set RWX for both user and ...
UnworthyToast's user avatar
1 vote
1 answer
2k views

WINSCP: task scheduler not working but is working when executed from winscp console?

I have been trying to run a task scheduler named "Backup" that downloads the specified file from the FTP server to my local directory. When I executed the command manually from the winscp console it ...
user318059's user avatar
2 votes
1 answer
3k views

Which versions of the Windows TLS/SSL file transfer software like WinSCP and FileZilla are not affected by Heartbleed?

I noticed that many people still use versions affected by the heartbleed vulnerability of wide spread TLS/SSL enabled Windows clients like WinSCP and Filezilla. To be able to make safe ...
mit's user avatar
  • 1,564
4 votes
2 answers
15k views

How to connect to Windows 7 via WinSCP?

Can I connect to my Windows 7 (newly installed) using WinSCP? And if "Yes" - what I need to do to connect? On my Windows 7 I have username and password.
Bohdan Kuts's user avatar
1 vote
1 answer
6k views

FTP suddenly failed to retrieve directory listing

I was using normally some of my FTP accounts, and tried some ways to upload files via command line. I based myself on this answer and something just like this question, apparently I couldn't make them ...
Patrick Bard's user avatar
0 votes
1 answer
3k views

Using WinSCP transfer files from Linux to Windows

I have created a bat file to transfer some log files from a remote linux server to the windows system. WinSCP.com user:[email protected] "get /var/sys/log" But it doesnt seem to copy. Is the ...
Jishnu U Nair's user avatar
12 votes
3 answers
6k views

Tailing a File over FTP

I am attempting to access large log files on a remote server from my Windows desktop. I only have FTP access to this remote machine, not SSH access. At the moment, I'm using WinSCP to pull the entire ...
jwa's user avatar
  • 263

1
3 4
5
6 7