Find the answer to your Linux question:
Results 1 to 2 of 2
Hey All, I am facing with a new problem while using put in sftp command.I'm getting a message "skipping the new file" when im trying to put the file in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    0

    "Put" in SFTP command


    Hey All,

    I am facing with a new problem while using put in sftp command.I'm getting a message "skipping the new file" when im trying to put the file in the remote computer.Can anyone please try help me in this.Please elaborate on how exactly we use put command.

    Thanks,
    Bubs

  2. #2
    Linux Enthusiast
    Join Date
    Jan 2005
    Location
    Saint Paul, MN
    Posts
    668
    Have you tried the command:
    Code:
    man sftp
    Here is what it says about the put command within sftp:
    Code:
         put [-Ppr] local-path [remote-path]
                 Upload local-path and store it on the remote machine.  If the
                 remote path name is not specified, it is given the same name it
                 has on the local machine.  local-path may contain glob(3) charac‐
                 ters and may match multiple files.  If it does and remote-path is
                 specified, then remote-path must specify a directory.
    
                 If ether the -P or -p flag is specified, then full file permis‐
                 sions and access times are copied too.
    
                 If the -r flag is specified then directories will be copied
                 recursively.  Note that sftp does not follow symbolic links when
                 performing recursive transfers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •