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?
Thanks in 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

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