Questions tagged [pscp]

This tag should be used for questions related to use of PSCP; a freeware SCP (Secure CoPy) program for the Windows command line processor.

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

Transferring files from Windows to Ubuntu on the same machine

I work with PCs. So I installed Ubuntu on a Windows machine as I was told that I need a Linux system to be able to analyze my data. I have a file in a folder on this machine that I need to use Linux ...
user avatar
  • 1
0 votes
0 answers
39 views

Stop Powershell from making new line for each argument using pscp

I'm trying to copy a log file from a Linuxserver using this Powershellscript. $serveruser = 'user' $passwd = 'somepw123' $saphost = 'SAP1' pscp -pw $passwd $serveruser@$saphost':/var/log/...
user avatar
  • 1
0 votes
1 answer
1k views

"more than one remote source not supported" while using pscp

I have Windows 10 pro and I'm using the latest version of pscp/putty through command prompt. I I am trying to do a file transfer from my Windows 10 computer to an SSH server, but I'm running into the ...
user avatar
0 votes
1 answer
45 views

Unable to copy SSH key from Win10 to Ubuntu server using PSCP

I'm trying to copy my .pub key to my server that is on the same router. I keep getting a "No such file or directory" error and I just can't get why as the file is clearly there. PS C:\Users\black> ...
user avatar
0 votes
1 answer
1k views

pscp "Cannot open file"

I am trying to deploy the files in my web application to the server using the pscp tool. It works for all the files in the directory, except sqlite (.db) file. For the sqlite file, it throws this ...
user avatar
1 vote
0 answers
149 views

PSCP - Copy extensionless files from Windows to Linux-based OS

So I have been struggling to copy a file without an extension from Windows to a Raspberry Pi using PSCP provided by PuTTY. However, Windows requires an extension in the command (just a dot after the ...
user avatar
0 votes
2 answers
1k views

How can I make Putty SCP not prompt about connecting to a new device?

I am attempting to use the Putty SCP program to copy files to a server. I am launching it with a Python subprocess: subprocess.check_output(pscp + ' -r -l ' + self._properties['ssh user'] + ' -pw ' + ...
user avatar
1 vote
1 answer
6k views

PSCP Does not accept hostkey

I'm running pscp on Windows from a script. If I add echo y | pscp.exe... It works. However, I can't get it to accept the hostkey using pscp.exe -hostkey aa:bb:cc... I've also tried pscp.exe -...
user avatar
  • 113
1 vote
1 answer
2k views

PSCP copy files windows to windows over lan fails

Trying to copy from PC A to PC B but getting network error Username and password are correct Firewall is off Able to ping each other Folder C:\PCB to C:\B I tried: PSCP.exe -pw 1qaz@WSX admin@10.0....
user avatar
1 vote
2 answers
314 views

How to copy files with only 1 extension and not double in command prompt

I need to copy only .jpg and not .jpg.jpg from a particular folder. When I do a copy c:\data\*.jpg D:\backup\ both .jpg and .jpg.jpg named files are copied over and I'm not sure how to omit the ...
user avatar
-1 votes
1 answer
1k views

Private keys work for putty but not pscp

I am using a Windows machine which is using private/public keys to connect to a Debian server. I have placed the public key in my user account at ~/.ssh/authorized_keys . I can log in successfully ...
user avatar
  • 421
2 votes
0 answers
2k views

Is there a way to ignore symlinks when copying from Linux to Windows?

Ignoring symlinks when copying from one Linux machine to another is easy: rsync -a --no-links <usr>@<ip>:<source> <destination> For Linux to Windows, I'm currently using PSCP ...
user avatar
  • 175
4 votes
1 answer
2k views

SCP connection doesn't close after file copy whereas for PSCP it does

Hi I have an InterNiche ssh server stack running on some custom hardware. I was trying to copy some files from server to client pc using scp command like scp user@xxx.xxx.xxx.xxx:\\path\\to\\file /...
user avatar
0 votes
1 answer
496 views

Is there any wildcards to copy a list of files from local to remote using PUTTY PSCP

Suppose I have a list of files(say - abc.pdf,xyz.pdf,pqr.pdf,uvw.pdf) on my local machine and I need to move all of these files to remote server using a single call to pscp.exe. I am calling this ...
user avatar
3 votes
1 answer
1k views

Using pscp With Remote Environment Variables

I'm using pscp.exe to transfer files from Windows to Linux. This command works fine: pscp myfile.txt user@host:/airflow/dags The location on the Linux host into which I want to transfer the files is ...
user avatar
  • 215
0 votes
1 answer
1k views

Importing Multiple key in the authorized_keys for same host

I am setting up a SSH password less connection setup for two server for the first time. I have imported a public key earlier by vi to authorized_keys, but since this was failing so i have asked ...
user avatar
0 votes
0 answers
7k views

pscp, more than one remote source not supported

Could someone tell me why this is giving the error please? Copying from Windows to Unix. C:\Windows>pscp.exe e:\onbase\outgoing\fa\file.txt user@server.utk.edu:/data/banint/DocMgmt/kbande/in/Fav/...
user avatar
  • 1
0 votes
1 answer
438 views

PSCP wildcard to fixed name

I'm trying to copy a file from Windows to Linux, but I don't know the exact filename (it's a war file from a maven project, so I don't know the current version. My example: pscp -pw <password> "...
user avatar
  • 103
0 votes
1 answer
879 views

Putty pscp Illegal file descriptor format error

i am trying to backup my checkpoint using putty pscp with the cmd: pscp -r admin@<ip address>:/var/log/CPbackup/backups/R77/<file_name.tgz> D:\test_location_on_windows I get the error: ...
user avatar
5 votes
1 answer
11k views

How can you run `plink` to copy files?

A command line putty's version plink. Copying files from Windows system to Linux system is possible using plink, but how? I know the same can be achieved through pscp, but I want to achieve this ...
user avatar
  • 153
8 votes
1 answer
4k views

How can I resume a broken SFTP download in Window 7 console?

In my Windows 7 console, I can download file from SFTP with the command d://putty//pscp -P 22 root@serverip:/root/movie c://movie How can I resume a broken download in Window 7 cmd console when ...
user avatar
  • 83
0 votes
1 answer
855 views

Error EOF using pscp to transfer files to windows server

I am using pscp to transfer files from my computer to a windows server but it doesn't work. here is the command I'm using and the result pscp -v -scp file_test.txt LOGIN@HOST_ADDRESS:C:.\ Looking ...
user avatar
1 vote
0 answers
3k views

transferring files with spaces in them with putty's pscp

I tried the following to no avail: pscp -load test username username@domain.tld:"file name.ext" "file name.ext" pscp -load test username "username@domain.tld:file name.ext" "file name.ext" pscp -...
user avatar
  • 6,031
0 votes
0 answers
306 views

how to transfer file without replacing old files using pscp by vb6

I have an app. when on click it will transfer all text files to server but it replaces the old files. I want to transfer the new files without replacing the old files. here is my code that when you ...
user avatar
  • 103
3 votes
2 answers
11k views

Is there a way to not overwrite existing files when using pscp?

I am trying to copy files from a folder on a server using a batch file, however, I don't want the files in the destination folder to be overwritten. This is what I have: set /p address=ip address: ...
user avatar
  • 31
5 votes
3 answers
12k views

How to copy a file using pscp through an intermediary gateway server hop

I have a linux jump box between me and a remote server. I have seen a few posts on how to do this with scp (e.g. here), but I am on a Windows box, so the situation is slightly different. I want to ...
user avatar
  • 1,513