/external/python/cpython2/Lib/ |
urllib.py | 45 MAXFTPCACHE = 10 # Trim the ftp cache beyond this size 153 # ftp cache by assigning to the .ftpcache member; 463 """Use local file or FTP depending on form of URL.""" 509 """Use FTP protocol.""" 511 raise IOError, ('ftp error', 'proxy support for ftp protocol currently not implemented') 518 if not host: raise IOError, ('ftp error', 'no host given') 559 mtype = mimetypes.guess_type("ftp:" + url)[0] 566 return addinfourl(fp, headers, "ftp:" + url) 568 raise IOError, ('ftp error', msg), sys.exc_info()[2 [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/ |
StubFtpServerIntegrationTest.java | 18 import org.apache.commons.net.ftp.FTP;
19 import org.apache.commons.net.ftp.FTPClient;
20 import org.apache.commons.net.ftp.FTPFile;
37 * Tests for StubFtpServer using the Apache Jakarta Commons Net FTP client.
380 ftpClient.setFileType(FTP.BINARY_FILE_TYPE);
447 boolean success = ftpClient.setFileTransferMode(FTP.STREAM_TRANSFER_MODE);
456 boolean success = ftpClient.setFileStructure(FTP.FILE_STRUCTURE);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/ |
StubFtpServerIntegrationTest.java | 23 import org.apache.commons.net.ftp.FTP;
24 import org.apache.commons.net.ftp.FTPClient;
25 import org.apache.commons.net.ftp.FTPFile;
48 * Tests for StubFtpServer using the Apache Jakarta Commons Net FTP client.
406 ftpClient.setFileType(FTP.BINARY_FILE_TYPE);
488 boolean success = ftpClient.setFileTransferMode(FTP.STREAM_TRANSFER_MODE);
500 boolean success = ftpClient.setFileStructure(FTP.FILE_STRUCTURE);
|
/external/curl/tests/ |
ftp.pm | 256 return if($proto !~ /^(ftp|imap|pop3|smtp)$/); 268 ($proto eq 'ftp')?'ctrl':'filt', $pid) if($verbose); 275 return if($proto ne 'ftp'); 296 for my $proto (('ftp', 'imap', 'pop3', 'smtp')) {
|
runtests.pl | 112 require "ftp.pm"; 124 my $FTPPORT; # FTP server port 125 my $FTP2PORT; # FTP server 2 port 127 my $FTP6PORT; # FTP IPv6 server port 168 my $FTPDCMD="$LOGDIR/ftpserver.cmd"; # copy ftp server instructions here 200 my $ftpchecktime=1; # time it took to verify our test FTP server 214 my $ftp_ipv6; # set if FTP server has IPv6 support 359 foreach $protocol (('ftp', 'http', 'ftps', 'https', 'no', 'all')) { 378 for my $proto (('ftp', 'http', 'imap', 'pop3', 'smtp', 'http/2')) { 708 if($server =~ /^(ftp|imap|pop3|smtp)s?(\d*)(-ipv6|)$/) [all...] |
/external/python/cpython3/Lib/urllib/ |
parse.py | 42 uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap', 46 uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 51 uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap', 61 uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news', [all...] |
request.py | 60 # build a new opener that adds authentication and caching FTP handlers 77 # ftp errors aren't handled cleanly 154 HTTPS and FTP connections. 186 For FTP, file, and data URLs and requests explicitly handled by legacy 580 for HTTP, FTP and when applicable HTTPS. 712 # than http, https or ftp. 714 if urlparts.scheme not in ('http', 'https', 'ftp', ''): 831 # {'http': 'ftp://proxy.example.com'}, we may end up turning 833 # ftp://proxy.example.com/a [all...] |
/external/syslinux/efi/ |
Makefile | 42 fs/pxe/ftp.o fs/pxe/ftp_readdir.o fs/pxe/http.o fs/pxe/http_readdir.o)
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/ |
FakeFtpServerIntegrationTest.groovy | 18 import org.apache.commons.net.ftp.FTP
19 import org.apache.commons.net.ftp.FTPClient
20 import org.apache.commons.net.ftp.FTPFile
275 assert ftpClient.setFileTransferMode(FTP.STREAM_TRANSFER_MODE);
407 assert ftpClient.setFileStructure(FTP.FILE_STRUCTURE);
422 assert ftpClient.type(FTP.ASCII_FILE_TYPE)
|
/external/syslinux/ |
syslinux.spec | 10 Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{VERSION}.tar.gz 253 - update ftp site
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/ |
build-mingw64-toolchain.sh | 130 # GMP_URL=ftp://ftp.gmplib.org/pub/gmp-$GMP_VERSION/ 133 GMP_URL=http://ftp.gnu.org/gnu/gmp/ 432 download_package http://ftp.gnu.org/gnu/mpfr/mpfr-$MPFR_VERSION.tar.bz2 434 download_package http://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS_VERSION.tar.bz2 435 download_package http://ftp.gnu.org/gnu/gcc/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.bz2
|
/external/mksh/src/ |
exec.c | 704 struct tbl *ftp; local 716 !(ftp = findfunc(cp, hash(cp), false)) || 717 !(ftp->flag & ISSET)) { 719 if ((ftp = findcom(cp, FC_BI)) && 720 (ftp->type == CSHELL) && 721 (ftp->flag & LOW_BI)) { 722 tp = ftp; 735 tp = ftp; [all...] |
/external/tcpdump/ |
Android.mk | 67 print-ftp.c \
|
/libcore/luni/src/test/java/libcore/java/net/ |
FtpURLConnectionTest.java | 51 import sun.net.ftp.FtpLoginException; 56 * Tests URLConnections for ftp:// URLs. 118 } catch (sun.net.ftp.FtpLoginException expected) { 192 * ftp:// URLs will be rejected. A direct connection will 209 assertEquals("FTP connections over HTTP proxy not supported", 266 String urlString = String.format(Locale.US, "ftp://%s@%s:%s/%s", 311 String urlString = String.format(Locale.US, "ftp://%s@%s:%s/%s",
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
FtpClient.java | 25 package sun.net.ftp; 34 * A class that implements the FTP protocol according to 41 * Which includes support for FTP over SSL/TLS (aka ftps). 43 * {@code FtpClient} provides all the functionalities of a typical FTP 50 * cl.connect("ftp.gnu.org").login("anonymous", "john.doe@mydomain.com".toCharArray())).changeDirectory("pub/gnu"); 60 * can occur during an FTP session. The first kind are the network related issues 64 * {@link IOException}. The second kind are the errors reported by the FTP server, 70 * too much sense, due to the very sequential nature of FTP, to provide a 85 * Returns the default FTP port number. 131 * specified host on the default FTP port [all...] |
/external/ltp/android/ |
Android.ltp.mk | 104 module_prebuilt := testcases/bin/ftp-upload-stress 105 module_src_files := testcases/network/stress/ftp/ftp-upload-stress 237 module_src_files := testcases/network/tcp_cmds/ftp/ftp_setup [all...] |
/external/icu/icu4c/source/tools/gensprep/ |
filterRFC3454.pl | 672 The RFC text can be downloaded from ftp://ftp.rfc-editor.org/in-notes/rfc3454.txt
|
/prebuilts/go/darwin-x86/src/mime/ |
mediatype_test.go | 127 `URL*0="ftp://";` + 131 "url", "ftp://cs.utk.edu/pub/moore/bulk-mailer/bulk-mailer.tar")},
|
/prebuilts/go/linux-x86/src/mime/ |
mediatype_test.go | 127 `URL*0="ftp://";` + 131 "url", "ftp://cs.utk.edu/pub/moore/bulk-mailer/bulk-mailer.tar")},
|
/prebuilts/go/darwin-x86/src/net/url/ |
url_test.go | 59 "ftp://webmaster@www.google.com/", 61 Scheme: "ftp", 70 "ftp://john%20doe@www.google.com/", 72 Scheme: "ftp", 77 "ftp://john%20doe@www.google.com/", [all...] |
/prebuilts/go/linux-x86/src/net/url/ |
url_test.go | 59 "ftp://webmaster@www.google.com/", 61 Scheme: "ftp", 70 "ftp://john%20doe@www.google.com/", 72 Scheme: "ftp", 77 "ftp://john%20doe@www.google.com/", [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_urllib2.py | 626 ("ftp://localhost/foo/bar/baz.html",
629 ("ftp://parrot@localhost/foo/bar/baz.html",
632 ("ftp://%25parrot@localhost/foo/bar/baz.html",
635 ("ftp://%2542parrot@localhost/foo/bar/baz.html",
638 ("ftp://localhost:80/foo/bar/",
641 ("ftp://localhost/baz.gif;type=a",
648 # ftp authentication not yet implemented by FTPHandler
727 # XXXX why does // mean ftp (and /// mean not ftp!), and where
733 # file://ftp.example.com/blah.txt (an ftp URL) [all...] |
/external/python/cpython2/Lib/test/ |
test_urllib2.py | 647 ("ftp://localhost/foo/bar/baz.html", 650 ("ftp://parrot@localhost/foo/bar/baz.html", 653 ("ftp://%25parrot@localhost/foo/bar/baz.html", 656 ("ftp://%2542parrot@localhost/foo/bar/baz.html", 659 ("ftp://localhost:80/foo/bar/", 662 ("ftp://localhost/baz.gif;type=a", 669 # ftp authentication not yet implemented by FTPHandler 748 # XXXX why does // mean ftp (and /// mean not ftp!), and where 754 # file://ftp.example.com/blah.txt (an ftp URL [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_urllib2.py | 632 ("ftp://localhost/foo/bar/baz.html", 635 ("ftp://parrot@localhost/foo/bar/baz.html", 638 ("ftp://%25parrot@localhost/foo/bar/baz.html", 641 ("ftp://%2542parrot@localhost/foo/bar/baz.html", 644 ("ftp://localhost:80/foo/bar/", 647 ("ftp://localhost/baz.gif;type=a", 654 # ftp authentication not yet implemented by FTPHandler 733 # XXXX why does // mean ftp (and /// mean not ftp!), and where 739 # file://ftp.example.com/blah.txt (an ftp URL [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_urllib2.py | 632 ("ftp://localhost/foo/bar/baz.html", 635 ("ftp://parrot@localhost/foo/bar/baz.html", 638 ("ftp://%25parrot@localhost/foo/bar/baz.html", 641 ("ftp://%2542parrot@localhost/foo/bar/baz.html", 644 ("ftp://localhost:80/foo/bar/", 647 ("ftp://localhost/baz.gif;type=a", 654 # ftp authentication not yet implemented by FTPHandler 733 # XXXX why does // mean ftp (and /// mean not ftp!), and where 739 # file://ftp.example.com/blah.txt (an ftp URL [all...] |