Questions tagged [pscp]

PuTTY Secure Copy client (pscp) is a command-line SCP client for transferring files securely between computers using an SSH connection.

PSCP documentation: https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter5.html

120 questions
0
votes
0 answers

How can I zip transfer files to using Putty in Windows?

I have a problem regarding transferring files from a server to another server. I tried using PSCP putty. it worked in the first time from local to server. what I'm trying to do is zip all files then transfer to another server. what commands should I…
0
votes
1 answer

Windows text file SCP to Linux permission error

I'm using a vbscript to pscp a text file over to a Linux device on Centos 6 (httpd.conf). If I nano the file and paste in the text, apache will start just fine, but using pscp to transfer the same text file gives me errors. I've tried changing…
Cameron Darlington
  • 355
  • 2
  • 7
  • 14
0
votes
1 answer

Check result of pscp transfer in VBA

I use pscp to copy a file from Windows to Unix and I run it using VBA. After pscp command how will I ensure that file is transferred successfully? shell "pscp -P 22 -pw abcd test.csv user@XXX.com:/u01/test"
VichuCoder
  • 21
  • 3
0
votes
1 answer

Interate Using Plink and PSCP

I am trying to iterate to various different Linux servers and scp the .cer files to a windows computer. I need to create a folder based on the var that is returned and then scp the file to that location. There seems to be something wrong with the…
0
votes
1 answer

Using regex and pscp on AIX servers

I've been having lots of troubles using pscp and regex on AIX server. As you can see, I am trying to use Putty's pscp to transfer file "stdout" to my local folder. This usually works fine, but my problem is that I won't know exact same folder name…
whatismyname123
  • 149
  • 1
  • 13
0
votes
0 answers

How to trigger shell script in Unix Server using PSCP Commands?

I can move my input file to Unix Server Location with the commands mentioned in below link. https://www.networkworld.com/article/3269189/sharing-files-between-linux-and-windows.html After placing the file is it possible to trigger shell script using…
0
votes
2 answers

Cannot see the file I have upload to hadoop

The pscp tell me, it is successful. pscp -P 22 part-00003 username@172.31.143.131:/home/username/lab2_hdfs username@172.31.143.131's password: part-00000 | 758 kB | 758.9 kB/s | ETA: 00:00:00 | 100% But I didn't see it in my hadoop…
0
votes
1 answer

PSCP command not found in PuTTY

I'm trying to copy a file from a server, and since I'm using PuTTY I've read that using pscp is best. I've added the directory to pscp.exe to my path (C:\ProgramFiles\PuTTY), but when I try to use it I receive this: -bash: pscp: command not…
0
votes
1 answer

How to load local file to WINSCP with password?

I used codes in below link with my batch script. But it is asking for password. When I provided pw with password it is not working. First Time it is aking for yes or no when I try in command prompt. In second try it is not asking like that. So I…
0
votes
1 answer

Copy files from Linux to Windows using script

I want to copy files from remote Linux server to my machine via some script which I can run in my machine. I am trying with pscp command but it is showing me network error. PS C:\Users\Administrator> pscp -pw password…
Abhishek
  • 1
  • 1
0
votes
2 answers

how to solve the problem: pscp: unable to open /home/cse316/lab1.rar: permission denied

I have connected to the two computers. One system is windows, another is ubuntu. And I want to send a lab.rar file to the ubuntu from windows by using the software pscp(putty) . Here is my command to send the file (windows system): D:\>pscp…
0
votes
0 answers

How to transfer a folder from a git repo to a server through psftp in putty?

I have some of my work available on a git repo which contains 2 folders. Now I want to transfer these 2 folders to a remote server using psftp in putty. I have tried downloading the folders from git and then pusing them to server by first connecting…
rehan
  • 143
  • 3
  • 17
0
votes
3 answers

PSCP cant retrieve from an array of ip in FOR loop but works in FOREACH?

I have a powershell script so basically I need to transfer files from multiple source to one local. I don't want to use pslurp in this case. Basically, i get more than one remote source...error if i run my array in for loop, however it works in for…
0
votes
1 answer

Can PSCP retrieve file from multiple servers using an array of ip and looping?

I get more than one remote source not supported error on pscp if my script is written like this (no issues with plink) : I want to retrieve files from multiple UNIX servers to local windows Could someone help me to verify my code? #Server…
0
votes
1 answer

pscp - special characters in username and password

I'm trying to run the following pscp.exe line and I keep getting failure and the list of options from pscp.exe: (I've swapped in content for host, username and password but left some special characters that are actually supposed to be in the…
CDenby
  • 95
  • 2
  • 6