Top "Scp" questions

For questions around "Secure Copy Protocol" (SCP).

bash: check if remote file exists using scp

I am writing a bash script to copy a file from a remote server, to my local machine. I need …

bash scp
Ant scp task failure

I have one requirement: copy local files to remote system. I have done the following: downloaded jsch-0.1.44.jar and copied …

ant scp
Bash: scp all files in a directory, but not the subdirectory

I would like to copy all files from a remote destination in a particular directory writegrid, but not the subdirectories, …

bash scp
Automate SCP with multiple files with expect script

So I have seen multiple posts on this and maybe I just haven't seen the right one. I am using …

linux expect scp
Check whether a path exists on a remote host using paramiko

Paramiko's SFTPClient apparently does not have an exists method. This is my current implementation: def rexists(sftp, path): """os.path.…

python ssh scp paramiko
Unable to connect to remote host using paramiko?

I want to transfer files between two Ubuntu Servers using scp, i have tested scp between the two systems and …

python ssh pip scp paramiko
How can I scp a file with a colon in the file name?

I'm trying to copy a file using scp in bash with a colon (:) character in the source filename. The obfuscated …

bash escaping scp
How to copy directory via scp within gradle task?

What is a clean and elegant way to copy a bunch of files via scp with Gradle? Two ways I …

java groovy gradle scp
How to get expect -c to work in single line rather than script

Running: my_machine~/opt/ams/data/ep/success$ expect -c "spawn /usr/bin/scp xmlEventLog_2010-03-22T14-28-36_…

shell command-line scp expect
scp all files starting with 'file' from a server

I use this command to copy all files whose names start with 'file' from a server. scp -vp me@server:/…

ssh scp