Pooja25
Pooja25

Reputation: 326

Create file at Remote directory in sftp

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 ?

Upvotes: 4

Views: 23773

Answers (1)

FuzZ63
FuzZ63

Reputation: 100

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.

Upvotes: 5

Related Questions