How to use SourceAddress feature added in 5.16?

Advertisement

dparenteau@axper.com
Joined:
Posts:
2
Location:
Montreal

How to use SourceAddress feature added in 5.16?

I am sendinf to FTP using this command. I have two available IP on my server, but I want to use the other IP I added. I've read in v5.16 that "sourceAddress" could do that, but I don't know and I don't find how I can use it with my code already in place below.
Can you help me?
Thanksin advance guys!


CALL "C:\Program Files (x86)\WinSCP\WinSCP.exe" /command "option batch abort" "option confirm off" "OPEN ftp://myUser:myPassword!@myftp.myDomain.com" "lcd ""E:\SQL""" "put myFile.csv -nopreservetime -nopermissions" "exit"

Reply with quote E-mail

Advertisement

dparenteau@axper.com
Joined:
Posts:
2
Location:
Montreal

Re: How to use SourceAddress feature added in 5.16?

martin wrote:

That's supported for SSH (SFTP and SCP) only atm:
https://winscp.net/tracker/416#c10

I have added a request for FTP support to the tracker:
https://winscp.net/tracker/1843
You can vote for it there.

Thank you! Do you have a sample like my own script above that could use "SourceAddress" in the call? I'm not sure how/when to write it.
Thanks!

Reply with quote E-mail

martin
Site Admin
martin avatar

Re: How to use SourceAddress feature added in 5.16?

dparenteau@axper.com wrote:

Thank you! Do you have a sample like my own script above that could use "SourceAddress" in the call? I'm not sure how/when to write it.
Once again, you are using FTP. The SourceAddress is not supported with FTP.

Reply with quote

Advertisement

You can post new topics in this forum