I have a question that is probably stupid.

I'm trying to create a ftp URI object with an absolute path.
I would like to be able to use Net::FTP to connect to a host, and then
use the $uri->path() (or similar) to determine if the file is located
off of the root directory or a subdirectory of the users home.

$uri->path() returns a string that always begins with '/'. I've found
that I can embed the escaped slash '/' with the string '%2F' but I don't
think that it a very elegant solution. Also $uri->path() doesn't parse
it. It just sees it as the literal string.

Well, if anyone has any idea's I would appreciate any help I can get.

Thanks.

Joshua Colson

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to