>> I want to connect to an ftp site from Java.
>> My problem is that my password has !, @ and # characters.
[quoted text clipped - 3 lines]
>
> Escape the character
Rhino schrieb:
>>> I want to connect to an ftp site from Java.
>>> My problem is that my password has !, @ and # characters.
[quoted text clipped - 4 lines]
>>
> For example: ftp://user\:pass\@www.domain.com/file.txt\#abc
That's Java String escaping. What is required is probably URL escaping:
p@ssword -> p%40ssword
Timo
Rhino - 16 Mar 2006 18:20 GMT
> Rhino schrieb:
>>>> I want to connect to an ftp site from Java.
[quoted text clipped - 9 lines]
>
> p@ssword -> p%40ssword
You might be right; I've never tried to FTP to Java directly - I use Ant for
that purpose - and I was just trying to create an example of what Tom
Frederiksen suggested. I may have missed the boat though.
Sorry if I've given an inappropriate example!
--
Rhino
Nettar - 17 Mar 2006 06:11 GMT
Thanks Timo.
This URL escaping worked very well.
Thanks for all others who tried to help me.
Regards,
Jayarama Nettar.