class Bundler::URI::FTP

def path


This method will then return "/pub/ruby".

ftp://ftp.example.com/%2Fpub/ruby

escaped / (%2F) in the path. Example:
If you want to cd to an absolute directory, you must include an

ftp.example.com then cd to pub/ruby from the initial login directory.
The above Bundler::URI indicates that the client should connect to

ftp://ftp.example.com/pub/ruby

include the / which separates the Bundler::URI path from the Bundler::URI host. Example:
RFC 1738 specifically states that the path for an FTP Bundler::URI does not

Returns the path from an FTP Bundler::URI.
def path
  return @path.sub(/^\//,'').sub(/^%2F/,'/')
end