question

ozn avatar image
ozn asked amichaels answered

sftp from remote to local

Is there any way to transfer (sftp or pscp/scp without the pscp.exe) a file (.txt, .csv, .pcap, .cap, directory) from a remote linux box to a local using iTest? It is not feasable to I've noticed using the "File" session profile but I believe it is used to transfer from local to remote.
iTestsession profilesftp
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
amichaels avatar image
amichaels answered
You could ssh to the remote box and run an scp command to transfer the file to the local box, assuming the local has an ssh server running. Alternatively, you could use the file session profile to read the remote file, then open another file session to the local machine and write to that session.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.