We’re rewarding the question askers & reputations are being recalculated! Read more.

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
-1
votes
0answers
28 views

Very long upload time to server via SFTP using Appveyor

I am using Appveyor to build and upload my application to my server. Some time ago the deployment time increased significantly by 10+ times. Appveyor is using a build worker Windows Server which I ...
0
votes
1answer
46 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 ...
0
votes
0answers
152 views

PSCP: SFTP Server Not Accepting Password in -pw Command Line Argument

I am attempting to connect to an SFTP server using PSCP through the command line. My password is passed using the -pw command line argument, yet the connection is refused and I am prompted to enter my ...
1
vote
0answers
16 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 ...
0
votes
0answers
35 views

Permission denied using PSCP, Raspberry pi. Special permissions?

I keep get what follows when I try and use pscp to transfer a folder using -r. pscp -r -P 22 -pw password C:\test pi@111.111.111.11:/home/pi/stuff And I keep getting - unable to create directory /...
0
votes
2answers
198 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 ' + ...
1
vote
1answer
1k 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 -...
1
vote
1answer
847 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....
1
vote
2answers
73 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 ...
-1
votes
1answer
611 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 ...
2
votes
0answers
360 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 ...
4
votes
1answer
1k 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 /...
0
votes
1answer
274 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 ...
3
votes
1answer
482 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 ...
0
votes
1answer
614 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 ...
0
votes
0answers
5k 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/...
0
votes
1answer
286 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> "...
0
votes
1answer
548 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: ...
5
votes
1answer
6k 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 ...
6
votes
1answer
3k 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 ...
0
votes
1answer
461 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 ...
1
vote
0answers
2k 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 -...
0
votes
0answers
273 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 ...
3
votes
2answers
5k 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: ...
5
votes
3answers
10k 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 ...