How to escape @ in Ant SCP task
问题 I would like to ask you for some help. How can I use an scp task when my username contains an @ sign? I tried to escape the character in many ways but it isn't working. In the following example, my username is user@host.com <scp file="test.txt" todir=""user@host.com":password@ftp.host.com:/" trust="true" sftp="true"/> <scp file="test.txt" todir="'user@host.com':password@ftp.host.com:/" trust="true" sftp="true"/> <scp file="test.txt" todir="user\@host.com:password@ftp.host.com:/" trust="true"