Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (29 sloc) 1.22 KB

NAME

URI::fasp - URI handler for Aspera's FASP protocol

SYNOPSIS

$fasp = URI->new('fasp://example.com:97001?port=33001&bwcap=25000');
print $fasp->port;                      # 97001
print $fasp->fasp_port;         # 33001
print $fasp->query_param('bwcap')       # 25000

# ...

$ssh = $fasp->as_ssh;           # URI::ssh 
print $ssh->port;                       # 97001 

DESCRIPTION

Aspera uses seperate control and a data connections. The control connection is a SSH session.

This class is a subclass of URI::ssh and uses the URI::QueryParam mixin.

METHODS

as_ssh

Return a URI::ssh representation of the instance's control connection

port

The port used by the control connection, defaults to 22

fasp_port

The port used by the data connection, defaults to default_fasp_port

default_fasp_port

The default port used by the data connection, 33001

SEE ALSO

URI, URI::QueryParam, http://asperasoft.com

AUTHOR

Skye Shaw (sshaw AT lucas.cis.temple.edu)

LICENSE

Copyright (c) 2011 Skye Shaw. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.