Escape characters in batch scripts

后端 未结 3 630
花落未央
花落未央 2021-01-14 11:07

I have the following script to automate uploading a file to a remote server. The problem is that the password I have been given is full of special characters which are killi

3条回答
  •  一生所求
    2021-01-14 11:37

    FTP passwords are sent in plain text so installing something like Wireshark will allow you to see what is being sent.

    I would expect you would need to prefix the special characters with a backslash.

提交回复
热议问题