Create file at Remote directory in sftp

14,397

Try entering the entire path for the file dummy.txt. The seems to not be able to find the source file in the current directory.

Best.

Share:
14,397
Pooja25
Author by

Pooja25

Updated on June 04, 2022

Comments

  • Pooja25
    Pooja25 almost 2 years

    I want to place one file at Remote directory Server : dsfjnejfn.co.in User:gytkl I am trying below commands

    sftp [email protected]

    sftp> put dummy.txt I am getting below error message sftp> put dummy.txt stat dummy.txt: No such file or directory

    Can anyone please tell me how to place the file at FTP directory ?