Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
cancel
Showing results for 
Search instead for 
Did you mean: 

Techia sftpg3

Techia
Occasional Visitor

Techia sftpg3

we are using tectia client 6.0.5 . all commands of sftpg3 are working..

sftpg3 -v --password=password user@ipaddress << EOF
pwd
sput /home/filename /home1/filename
rename /home1/filename /home1/file_name_something
quit EOF
In above script pwd is working and sput/rename are not working. do I need to take care something. pls let me know.
2 REPLIES
Steven Schweda
Honored Contributor

Re: Techia sftpg3

> [...] tectia client 6.0.5 [...]

Ask the vendor?

> all commands of sftpg3 are working..

Do you mean that they work interactively, but
not in your script?

> [...] are not working.

Not a useful problem description. What
happens? Error messages? Do other commands
work? Do these files/directories exist?

> [...] -v [...]

But you keep the diagnostic output a secret?
Techia
Occasional Visitor

Re: Techia sftpg3

Thanks,

when we run the commnands manually there is no issue; when we run as a script then sput or any command is not working.

Thanks