Tag: SCP
Posts of Tag: SCP
  1. Copying a Directory with SCP

    Copying a Directory with SCP The Unix command scp (which stands for "secure copy protocol") is a simple tool for uploading or downloading files (or directories) to/from a remote machine. The transfer is done on...Learn More
    UnixbashSCP
  2. Using SCP to Copy and Securely Transfer Files and Folders

    Using SCP to Copy and Securely Transfer Files and Folders Introduction SCP stands for Secure Copy Protocol. It is a tool that can be used to transfer files from a local host to a remote host, from a remote host...Learn More
    UnixbashsshSCP
  3. How to copy a file to a remote server in Python using SCP or SSH?

    I have a text file on my local machine that is generated by a daily Python script run in cron. I would like to add a bit of code to have that file sent securely to my server over SSH....Learn More
    PythonsshAutomationSCPProgramming Languages
  4. How can I use `scp` to deploy a website's `.htaccess` file?

    I am currently using the following command to upload my site content: scp -r web/* user@site.com:site.com/ This works great except that the .htaccess file is not sent. Presumably, this is because it's hidden. ...Learn More
    .htaccessDeploymentSCPshared-hosting
  5. Using scp to transfer a single file into a remote folder that doesn't exist

    I'm working on a python script that monitors a directory and uploads files that have been created or modified using scp. That's fine, except I want this to be done recursively, and I'm having a problem if a use...Learn More
    PythonSCPProgramming Languages
  6. Python: Execute scp, stdin for password not working

    I'm trying the following from subprocess import Popen, PIPE Popen(["scp", "-B","user@url:file", "."], stdin=PIPE, shell=False).communicate(input="password") But I still get the password promt, and no password ...Learn More
    PythonPasswordsstdinpopenSCPProgramming Languages
  7. twisted conch filetransfer

    I am trying to implement a very simple file transfer client in python using twisted conch. The client should simply transfer a few files to a remote ssh/sftp server in a programatic way. The function is given u...Learn More
    PythonsshtwistedsftpSCPProgramming Languages
  8. Getting scp's status bar to appear in a Java window

    I'm writing a program that uses scp to copy files in a bigger java program. As it stands now, the program freezes up while the scp is copying the file, which can take a few minutes, so I'd like to be able to d...Learn More
    Javaprogress-barSCPProgramming Languages
  9. passing the password as a parameter in a scp command

    how can i pass the password along with the scp command.when we use the scp protocol, it prompts us for the password.But i want to pass it as a parameter.Is that possible without using the key generation techniq...Learn More
    SCP
  10. Automate Multiple SCP Transfers in Python w/o Keys

    I need to copy two programs from one server to another after compiling using an automated non-interactive python script. Keys are not an option as this script is for multiple users on company servers and both k...Learn More
    PythonsshAutomationSCPProgramming Languages
  11. Ant scp command with permissions

    I am working with ANT 'SCP' command but it doesn't retain the permission on SCP. So I thought I would use SCP on unix machine as executable as work around but I am wondering how I set the password on exec comma...Learn More
    antSCP
  12. Python script to get files from one server into another and store them in separate directories?

    I am working on server 1. I need to write a Python script where I need to connect to a server 2 and get certain files (files whose name begins with the letters 'HM') from a directory and put them into another d...Learn More
    PythonsshSCPProgramming Languages