Hi. New user here. Totally frustrated with how unintuitive the software is and how difficult it is to get the right answer.
The documentation says this works:
winscp.com /command open:ftps//user:pass@server:port/
But it doesn't work. The response is that this syntax is deprecated. In computer programming, a deprecated language entity is one that is tolerated or supported but not recommended. That's not the case. It just doesn't work.
The documentation is wrong.
Next, if you follow the suggestion in the response, and "use the open command instead" and put the
open
command in a script, as shown in the examples,
open:ftps//user:pass@server:port/
that doesn't work either. It tells me that my first command in the file, "the open command is unknown."
So, next, I search through this barely searchable forum to find the command
open <site>
advice. OK. Guess what? The software complains that
"In scripting you should not rely on saved sites, use this command instead:" and it gives me the EXACT COMMAND THAT I USED ABOVE THAT DOESN'T WORK. Then the saved site method works. Why is it complaining if it works? Why does is suggest a method that doesn't work?
Sorry for the ALL CAPS, but this is a frustrating experience that makes me dislike your software. Seriously. Does it really have to be this hard?
So I implore you. I'm trying to do something really simple. I just want to login to an FTPS site, send one known binary file and logout, with a log of the result. I should be able to accomplish this in maybe 4 or 5 lines, without spinning my wheels chasing down the right syntax.
I realize that I could have asked more nicely, so please forgive me. But would you mind giving me a straightforward example of how to do what I want from a Windows command line that will actually work if I just copy it, and change your values to mine?
That would be much appreciated.
Thanks,
mightycpa