When running running the following sftp command on RHEL 7, I get an error that I can’t figure out how to avoid. Any suggestions.(I’ve also tried using &, and start-process)
PS /home/brian> sftp fileprocd@dstrlaaa9504.dsglobal.org:/home/user <<< $“put /mnt/c/b/user.txt”
At line:1 char:54
- sftp fileprocd@dstrlaaa9504.dsglobal.org:/home/user <<< $"put /mnt/c/ …
-
~
Missing file specification after redirection operator.
At line:1 char:53
- sftp fileprocd@dstrlaaa9504.dsglobal.org:/home/user <<< $"put /mnt/c/ …
-
~
The ‘<’ operator is reserved for future use.
At line:1 char:55
- sftp fileprocd@dstrlaaa9504.dsglobal.org:/home/user <<< $"put /mnt/c/ …
-
~
Missing file specification after redirection operator.
At line:1 char:54
- sftp fileprocd@dstrlaaa9504.dsglobal.org:/home/user <<< $"put /mnt/c/ …
-
~
The ‘<’ operator is reserved for future use.
At line:1 char:55
- sftp fileprocd@dstrlaaa9504.dsglobal.org:/home/user <<< $"put /mnt/c/ …
-
~
The ‘<’ operator is reserved for future use.
- CategoryInfo : ParserError: ( , ParentContainsErrorRecordException
- FullyQualifiedErrorId : MissingFileSpecification