Posted: 2012-09-26 04:10
when i transfer a file from windows to unix using winscp.com (command line), it does not ask for port number.
when i try the same stuff in putty, the file transfer does not take place unless the PORT is specified.
How to specify the port in command line and why it's not asking for port number?
Does it use a default port (22), In my case, port no. of unix is 22. Is this the reason its not asking for port no. ?
If unix port was other than 22, would it still not ask the port ?
Location: Prague, Czechia
Posted: 2013-10-01 15:33
I have found that if you append the port to the end of the "scp://" URL, it works. Here's an example:
Saves the time of writing a custom script.
For what it's worth, I'm using WinSCP 4.3.3 build 1340.
You can post new topics in this forum
And it's free!