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

Unable to access pscp.exe with a windows service account

I have built a windows batch file code that fetches the list of files from an FTP server and then pulls the appropriate file from that list. The batch file uses a combination of pscp.exe and psftp.exe in order to achieve this. If I login as a member…
0
votes
2 answers

windows, Putty, pscp combined in to a single batch file, is it possible?

I'm having trouble getting an answer to my question, in laymens terms. It is probably my lack of knowledge on the subject so, I'm dumbing down the question. I have a windows machine that I run the putty tool from and connect to a linux box. I run "…
user3314404
  • 79
  • 1
  • 2
  • 10
0
votes
1 answer

java run cmd commands

I have some problem about run windows cmd ,when I run my code on GEL or some java tool,it works,but it run error that windows can't find "pscp".However,I export execute jar from eclipse and java -jar ..It works!! I set pscp path first, so i can type…
louis
  • 25
  • 6
0
votes
4 answers

Copying a file from a windows machine to another windows machine through java

I want to copy a file in local windows machine to another windows machine in the same LAN or Intranet using JAVA. I browsed and found that we can copy file using the copy command of ms-dos but it copies only to the shared folder of remote machine. I…
0
votes
2 answers

Executing the windows batch file

What I am doing currently- Execute the shell script on MachineB from MachineA (Windows Environment). Then wait for the shell script to complete its task, in my case it will write the output to a text file. And after the shell script has completed…
arsenal
  • 23,366
  • 85
  • 225
  • 331
-1
votes
1 answer

Transferring files from windows machine to the server using SSH client

I want to transfer my folder from my local windows machine to the remote server, but it says permission denied as I'm placing files at root directory, and it have all the permissions First I place this command ssh root@IP then it says enter you…
-1
votes
1 answer

PCSP hanging when user not logged in

I am having problem with PCSP hanging. PCSP is called from within a WCF service running in IIS on Windows 2008 r2. The service is running under an app pool that is running as a domain user the host key has been cached for that user A client will…
-1
votes
1 answer

How can I traverse to parent directory when calling PSCP using Java's ProcessBuilder?

I'm calling pscp from Java using the following code: public static ArrayList runWindowsCommand(String... args) throws WindowsCmdFault { try { ProcessBuilder pb = new ProcessBuilder(args); Process p =…
Mugen
  • 1,417
  • 5
  • 22
  • 40
-1
votes
1 answer

pscp works for one account but does not work for another

I have two accounts A, B both registered on the windows server 2008 R2. There is a script in which I use pscp module of putty to transfer files from the server. Problem being that the command runs successfully using user account A but gets stuck…
Akshay
  • 113
  • 1
  • 14
-1
votes
3 answers

How can I get SCP and ftp (from command line, not plugin) working within hudson

I am running hudson CI server on a win32 machine. After the build succeeds I want the exe created to be put on a public website. The hudon plugins for SCP and ftp were not working the way I wanted (mostly because it chooses some odd directories…
Tim
  • 20,184
  • 24
  • 117
  • 214
-1
votes
1 answer

How te send pscp code in java

I have a problem i want to send code pscp like that in java program i wanna send this code root@1xx.2xx.3X.1x:/usr/local/se/log c:/
-1
votes
1 answer

copy /move the Data from the Linux Command line to local windows

Installed CYGWIN in my windows, I can able to access both windows & remote linux machines with the credentials. But i can't able to configure how the data will be moved from Linux to windows, can anyone please suggest me on this. Thanks Srinivas
-1
votes
2 answers

Input password for putty pscp

I'm trying to execute below command using Putty pscp tool. pscp -v -pw mypassword "X:\data\temp*" root@172.x.x.x:\tmp\data I'm getting following error. Fatal: Disconnected: No supported authentication methods available I have to pass user name…
Ganesh Satpute
  • 3,664
  • 6
  • 41
  • 78
-1
votes
1 answer

Can't seem to move folders over with wild cards using PSCP from DOS to Linux?

The path has spaces in the folder names, so I am using wildcards: "*" to move the 5 folders within it to Linux using PSCP. pscp C:\Public\SMoch\hot*testing*8*20*13\. chad@xxx.xxx.xxx.xxx:. pscp C:\Public\SMoch\hot testing 8 20 13: No such file or…
jdl
  • 6,151
  • 19
  • 83
  • 132
-4
votes
2 answers

copy files from linux to windows

I was wondering if its possible to copy files from my Linux server onto my Windows server. I have seen other methods such as pscp and winscp but they involve the commands being ran on the Windows machine. What I am trying to do is somehow do the…
auahmed
  • 151
  • 1
  • 3
  • 16
1 2 3 4 5 6 7
8