Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
dparenteau@axper.com

Re: How to use SourceAddress feature added in 5.16?

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!
dparenteau@axper.com

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"