Alien-Build
view release on metacpan or search on metacpan
corpus/alien_build_plugin_fetch_wget/record/old.json view on Meta::CPAN
{"-k --content-disposition -S http://localhost/corpus/alien_build_plugin_fetch_wget/dir/foo-1.01.tar":{"stderr":"--2021-05-12 00:10:35-- http://localhost/corpus/alien_build_plugin_fetch_wget/dir/foo-1.01.tar\nResolving localhost (localhost)... ::1, ...
corpus/alien_build_plugin_fetch_wget/record/old.yml view on Meta::CPAN
--bind-address=ADDRESS bind to ADDRESS (hostname or IP) on local host
--limit-rate=RATE limit download rate to RATE
--no-dns-cache disable caching DNS lookups
--restrict-file-names=OS restrict chars in file names to ones OS allows
--ignore-case ignore case when matching files/directories
-4, --inet4-only connect only to IPv4 addresses
-6, --inet6-only connect only to IPv6 addresses
--prefer-family=FAMILY connect first to addresses of specified family,
one of IPv6, IPv4, or none
--user=USER set both ftp and http user to USER
--password=PASS set both ftp and http password to PASS
--ask-password prompt for passwords
--use-askpass=COMMAND specify credential handler for requesting
username and password. If no COMMAND is
specified the WGET_ASKPASS or the SSH_ASKPASS
environment variable is used.
--no-iri turn off IRI support
--local-encoding=ENC use ENC as the local encoding for IRIs
--remote-encoding=ENC use ENC as the default remote encoding
--unlink remove file before clobber
--xattr turn on storage of metadata in extended file attributes
Directories:
-nd, --no-directories don't create directories
-x, --force-directories force creation of directories
-nH, --no-host-directories don't create host directories
--protocol-directories use protocol name in directories
-P, --directory-prefix=PREFIX save files to PREFIX/..
--cut-dirs=NUMBER ignore NUMBER remote directory components
HTTP options:
--http-user=USER set http user to USER
--http-password=PASS set http password to PASS
--no-cache disallow server-cached data
--default-page=NAME change the default page name (normally
this is 'index.html'.)
-E, --adjust-extension save HTML/CSS documents with proper extensions
--ignore-length ignore 'Content-Length' header field
--header=STRING insert STRING among the headers
--compression=TYPE choose compression, one of auto, gzip and none. (default: none)
--max-redirect maximum redirections allowed per page
--proxy-user=USER set USER as proxy username
--proxy-password=PASS set PASS as proxy password
--referer=URL include 'Referer: URL' header in HTTP request
--save-headers save the HTTP headers to file
-U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION
--no-http-keep-alive disable HTTP keep-alive (persistent connections)
--no-cookies don't use cookies
--load-cookies=FILE load cookies from FILE before session
--save-cookies=FILE save cookies to FILE after session
--keep-session-cookies load and save session (non-permanent) cookies
--post-data=STRING use the POST method; send STRING as the data
--post-file=FILE use the POST method; send contents of FILE
corpus/alien_build_plugin_fetch_wget/record/old.yml view on Meta::CPAN
--ciphers=STR Set the priority string (GnuTLS) or cipher list string (OpenSSL) directly.
Use with care. This option overrides --secure-protocol.
The format and syntax of this string depend on the specific SSL/TLS engine.
HSTS options:
--no-hsts disable HSTS
--hsts-file path of HSTS database (will override default)
FTP options:
--ftp-user=USER set ftp user to USER
--ftp-password=PASS set ftp password to PASS
--no-remove-listing don't remove '.listing' files
--no-glob turn off FTP file name globbing
--no-passive-ftp disable the "passive" transfer mode
--preserve-permissions preserve remote file permissions
--retr-symlinks when recursing, get linked-to files (not dir)
FTPS options:
--ftps-implicit use implicit FTPS (default port is 990)
--ftps-resume-ssl resume the SSL/TLS session started in the control connection when
opening a data connection
corpus/vcpkg/r2/installed/vcpkg/info/openssl-windows_1.1.1d-1_x64-windows.list view on Meta::CPAN
x64-windows/debug/html/man3/lh_TYPE_delete.html
x64-windows/debug/html/man3/lh_TYPE_doall.html
x64-windows/debug/html/man3/lh_TYPE_doall_arg.html
x64-windows/debug/html/man3/lh_TYPE_error.html
x64-windows/debug/html/man3/lh_TYPE_free.html
x64-windows/debug/html/man3/lh_TYPE_insert.html
x64-windows/debug/html/man3/lh_TYPE_new.html
x64-windows/debug/html/man3/lh_TYPE_retrieve.html
x64-windows/debug/html/man3/o2i_SCT.html
x64-windows/debug/html/man3/o2i_SCT_LIST.html
x64-windows/debug/html/man3/pem_password_cb.html
x64-windows/debug/html/man3/sk_TYPE_deep_copy.html
x64-windows/debug/html/man3/sk_TYPE_delete.html
x64-windows/debug/html/man3/sk_TYPE_delete_ptr.html
x64-windows/debug/html/man3/sk_TYPE_dup.html
x64-windows/debug/html/man3/sk_TYPE_find.html
x64-windows/debug/html/man3/sk_TYPE_find_ex.html
x64-windows/debug/html/man3/sk_TYPE_free.html
x64-windows/debug/html/man3/sk_TYPE_insert.html
x64-windows/debug/html/man3/sk_TYPE_is_sorted.html
x64-windows/debug/html/man3/sk_TYPE_new.html
corpus/vcpkg/r2/installed/vcpkg/info/openssl-windows_1.1.1d-1_x64-windows.list view on Meta::CPAN
x64-windows/html/man3/lh_TYPE_delete.html
x64-windows/html/man3/lh_TYPE_doall.html
x64-windows/html/man3/lh_TYPE_doall_arg.html
x64-windows/html/man3/lh_TYPE_error.html
x64-windows/html/man3/lh_TYPE_free.html
x64-windows/html/man3/lh_TYPE_insert.html
x64-windows/html/man3/lh_TYPE_new.html
x64-windows/html/man3/lh_TYPE_retrieve.html
x64-windows/html/man3/o2i_SCT.html
x64-windows/html/man3/o2i_SCT_LIST.html
x64-windows/html/man3/pem_password_cb.html
x64-windows/html/man3/sk_TYPE_deep_copy.html
x64-windows/html/man3/sk_TYPE_delete.html
x64-windows/html/man3/sk_TYPE_delete_ptr.html
x64-windows/html/man3/sk_TYPE_dup.html
x64-windows/html/man3/sk_TYPE_find.html
x64-windows/html/man3/sk_TYPE_find_ex.html
x64-windows/html/man3/sk_TYPE_free.html
x64-windows/html/man3/sk_TYPE_insert.html
x64-windows/html/man3/sk_TYPE_is_sorted.html
x64-windows/html/man3/sk_TYPE_new.html
lib/Alien/Build/Plugin/Fetch/NetFTP.pm view on Meta::CPAN
}
sub _ftp_connect {
my $url = shift;
my $is_passive = shift || 0;
my $ftp = Net::FTP->new(
$url->host, Port =>$url->port, Passive =>$is_passive,
) or die "error fetching $url: $@";
$ftp->login($url->user, $url->password)
or die "error on login $url: @{[ $ftp->message ]}";
$ftp->binary;
$ftp;
}
1;
__END__
user => join('', map { chr(ord('a') + int rand(26)) } (1..10)),
pass => join('', map { chr(ord('a') + int rand(26)) } (1..10)),
root => $distdir->child('corpus/dist')->stringify,
pid => $$,
);
my $url = URI->new("ftp://localhost");
$url->host($host);
$url->path($config{root});
$url->user($config{user});
$url->password($config{pass});
$server->on_bind(sub {
my $port = shift;
$url->port($port);
});
$server->on_connect(sub {
my $con = shift;
$con->context->authenticator(sub {
my($user, $pass) = @_;
t/lib/MyTest/FTP.pm view on Meta::CPAN
require Net::FTP;
require URI;
$url = URI->new($url);
my $ftp = Net::FTP->new($url->host, Port => $url->port) or do {
return ftp_error("Connot connect to @{[ $url->host ]}");
};
eval {
$ftp->login($url->user, $url->password) or die;
$ftp->binary;
$ftp->cwd($url->path) or die;
my $path = Path::Tiny->tempfile;
$ftp->get('foo-1.00.tar.xz', $path->stringify) or die;
-e $path || die;
$ftp->quit;
};
return ftp_error($ftp->message) if $@;
( run in 0.487 second using v1.01-cache-2.11-cpan-49f99fa48dc )