0

I don't know what is happeining since it's just flashing by the screen. But I have this code in vba.

Shell "H:\Dokument\Avvikelser\WinSCP.com /script=H:\Dokument\Avvikelser\script.txt"

In script.txt i have:

open ftpes://USERNAME:[email protected]
put H:\Dokument\Avvikelser\lista.txt /Avvikelser/lista.txt
close

As I have understood it I need ftpes to make it passive?

I can't even start WinSCP from cmd prompt enter image description here

I need to use a cmd style solution as I can't install software on the computer.
The file is not uploaded when the script ends.

0

1 Answer 1

2

WinSCP.COM is only an console interface program for WinSCP.EXE, you need to have both in the same directory.

See https://winscp.net/eng/docs/executables

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.