PUT Command Issue
Please excuse this simple question but I have a
During processing the system kicks back an error:
The
I've bounced around turning all sorts of timeouts/buffering/temp file usage etc off and this is where I am stuck. Running the process through the Win SPC application results in the same basic syntax error. Any thoughts/insights are appreciated.
Also, if I just want to put the data into the root directory, what would I put in the
put
command the syntax of which is scripted as follows:
put -nopermissions -nopreservetime -transfer="binary" -resumesupport="off" -- "C:\sourcedirectory\ABC.txt" "/DEST/"
Opening remote file. > 2022-10-12 13:12:46.835 Type: SSH_FXP_OPEN, Size: 41, Number: 259 < 2022-10-12 13:12:46.866 Type: SSH_FXP_STATUS, Size: 29, Number: 259 < 2022-10-12 13:12:46.866 Status code: 2, Message: 259, Server: No such file, Language: > 2022-10-12 13:12:46.866 Type: SSH_FXP_LSTAT, Size: 25, Number: 519 < 2022-10-12 13:12:46.913 Type: SSH_FXP_STATUS, Size: 29, Number: 519 < 2022-10-12 13:12:46.913 Status code: 2, Message: 519, Server: No such file, Language: * 2022-10-12 13:12:46.913 (ETerminal) No such file or directory. * 2022-10-12 13:12:46.913 Error code: 2 * 2022-10-12 13:12:46.913 Error message from server: No such file . 2022-10-12 13:12:46.913 Asking user: . 2022-10-12 13:12:46.913 Cannot create remote file '/DEST/ABC.txt'. ("No such file or directory. . 2022-10-12 13:12:46.913 Error code: 2 . 2022-10-12 13:12:46.913 Error message from server: No such file") < 2022-10-12 13:12:46.913 Script: Cannot create remote file '/DEST/ABC.txt'. < 2022-10-12 13:12:46.913 Script: No such file or directory. < 2022-10-12 13:12:46.913 Error code: 2 < 2022-10-12 13:12:46.913 Error message from server: No such file . 2022-10-12 13:12:46.913 Answer: Abort * 2022-10-12 13:12:46.913 (ESkipFile) Cannot create remote file '/DEST/ABC.txt'. * 2022-10-12 13:12:46.913 No such file or directory. * 2022-10-12 13:12:46.913 Error code: 2 * 2022-10-12 13:12:46.913 Error message from server: No such file . 2022-10-12 13:12:46.913 Copying finished: Transferred: 0, Elapsed: 0:00:00, CPS: 0/s
/DEST/
folder exists off the /<root> folder. The folder at the destination is all upper case just like in my syntax.
I've bounced around turning all sorts of timeouts/buffering/temp file usage etc off and this is where I am stuck. Running the process through the Win SPC application results in the same basic syntax error. Any thoughts/insights are appreciated.
Also, if I just want to put the data into the root directory, what would I put in the
put
directory path? I've left it blank, used /
, /.
, everything generates an error. As such I went with the /DEST/
as I know that directory name.