Wget and a username containing a '\'
I just cant figure this one out...
Im trying to retrieve a file from anf ftp server with wget. THe username I have is a bit odd in that it has a backslash in it e.g. abc\def
I cant seem to get wget to log in properly. It says the username is incorrect. I have tried every way that I can think of:
escaping the character with another \ i.e. abc\\def
using a hex code i.e. abc%5Cdef
using double and single quotes i.e. 'abc\def' and "abc\def"
using a variable in shell script i.e. ftpuser="abc\def" and using $ftpuser variable in wget line.
I know the ftp server works. I can connect to it using notmal FTP command and I can even browse to the site over the web.
How can I get wget to work?