Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create file at Remote directory in sftp

Tags:

unix

sftp

ftp

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 ?

like image 533
Pooja25 Avatar asked Sep 06 '25 03:09

Pooja25


1 Answers

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.

like image 61
FuzZ63 Avatar answered Sep 08 '25 10:09

FuzZ63