1

I need to know can we transfer file through SFTP using script.

I am able to ping server from my system but when I use ftp command it shows "connection lost" and when I use sftp command it shows "command does not exist".

No external PuTTY or WinSCP can be used.

Thanks in advance!

0

1 Answer 1

1

Only recent versions of Windows 10 come with Win32-OpenSSH build of OpenSSH tools built in.

In older versions, there's no SFTP support in Windows built-in commands, PowerShell, .NET framework or any other scripting language (like WSH/JScript/VBScript) readily available. On these versions you have to use an external software or a library.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.