Hi All,
I am developing a VB application, which uses the Inet control to perform FTP operations. The website I am trying to connect to is Oracle FTP site, but the only type of user name you can create is in an email format and this cannot changed. This means that my FTP login string looks something like this:
The problem is occuring here because the Inet control is reading the FTP site from the first @ symbol, i.e. it is looking from 'mydomain' onwards, which is obviously incorrect.
I have tried various ways to fix this, enclosing the email in quotes etc but nothing has worked. The best idea I can come up with is substituting the @ symbol with its ASCII equivalent, but I cannot find anyway of doing this. Does anyone have any idea of how I can do this or any other suggestions on how I can get round this?
Thanks
Andrew
I am developing a VB application, which uses the Inet control to perform FTP operations. The website I am trying to connect to is Oracle FTP site, but the only type of user name you can create is in an email format and this cannot changed. This means that my FTP login string looks something like this:
Code:
ftp://myname@mydomain.com:myPassword@updates.oracle.com
The problem is occuring here because the Inet control is reading the FTP site from the first @ symbol, i.e. it is looking from 'mydomain' onwards, which is obviously incorrect.
I have tried various ways to fix this, enclosing the email in quotes etc but nothing has worked. The best idea I can come up with is substituting the @ symbol with its ASCII equivalent, but I cannot find anyway of doing this. Does anyone have any idea of how I can do this or any other suggestions on how I can get round this?
Thanks
Andrew