亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ftp.pm

?? 視頻監(jiān)控網(wǎng)絡(luò)部分的協(xié)議ddns,的模塊的實(shí)現(xiàn)代碼,請(qǐng)大家大膽指正.
?? PM
?? 第 1 頁 / 共 3 頁
字號(hào):
sub _STOU { shift->command("STOU", @_)->response() == CMD_INFO }sub _RNFR { shift->command("RNFR", @_)->response() == CMD_MORE }sub _REST { shift->command("REST", @_)->response() == CMD_MORE }sub _PASS { shift->command("PASS", @_)->response() }sub _ACCT { shift->command("ACCT", @_)->response() }sub _AUTH { shift->command("AUTH", @_)->response() }sub _USER {  my $ftp = shift;  my $ok  = $ftp->command("USER", @_)->response();  # A certain brain dead firewall :-)  $ok = $ftp->command("user", @_)->response()    unless $ok == CMD_MORE or $ok == CMD_OK;  $ok;}sub _SMNT { shift->unsupported(@_) }sub _MODE { shift->unsupported(@_) }sub _SYST { shift->unsupported(@_) }sub _STRU { shift->unsupported(@_) }sub _REIN { shift->unsupported(@_) }1;__END__=head1 NAMENet::FTP - FTP Client class=head1 SYNOPSIS    use Net::FTP;    $ftp = Net::FTP->new("some.host.name", Debug => 0)      or die "Cannot connect to some.host.name: $@";    $ftp->login("anonymous",'-anonymous@')      or die "Cannot login ", $ftp->message;    $ftp->cwd("/pub")      or die "Cannot change working directory ", $ftp->message;    $ftp->get("that.file")      or die "get failed ", $ftp->message;    $ftp->quit;=head1 DESCRIPTIONC<Net::FTP> is a class implementing a simple FTP client in Perl asdescribed in RFC959.  It provides wrappers for a subset of the RFC959commands.=head1 OVERVIEWFTP stands for File Transfer Protocol.  It is a way of transferringfiles between networked machines.  The protocol defines a client(whose commands are provided by this module) and a server (notimplemented in this module).  Communication is always initiated by theclient, and the server responds with a message and a status code (andsometimes with data).The FTP protocol allows files to be sent to or fetched from theserver.  Each transfer involves a B<local file> (on the client) and aB<remote file> (on the server).  In this module, the same file namewill be used for both local and remote if only one is specified.  Thismeans that transferring remote file C</path/to/file> will try to putthat file in C</path/to/file> locally, unless you specify a local filename.The protocol also defines several standard B<translations> which thefile can undergo during transfer.  These are ASCII, EBCDIC, binary,and byte.  ASCII is the default type, and indicates that the sender offiles will translate the ends of lines to a standard representationwhich the receiver will then translate back into their localrepresentation.  EBCDIC indicates the file being transferred is inEBCDIC format.  Binary (also known as image) format sends the data asa contiguous bit stream.  Byte format transfers the data as bytes, thevalues of which remain the same regardless of differences in byte sizebetween the two machines (in theory - in practice you should only usethis if you really know what you're doing).=head1 CONSTRUCTOR=over 4=item new ([ HOST ] [, OPTIONS ])This is the constructor for a new Net::FTP object. C<HOST> is thename of the remote host to which an FTP connection is required.C<HOST> is optional. If C<HOST> is not given then it may instead bepassed as the C<Host> option described below. C<OPTIONS> are passed in a hash like fashion, using key and value pairs.Possible options are:B<Host> - FTP host to connect to. It may be a single scalar, as defined forthe C<PeerAddr> option in L<IO::Socket::INET>, or a reference toan array with hosts to try in turn. The L</host> method will return the valuewhich was used to connect to the host.B<Firewall> - The name of a machine which acts as an FTP firewall. This can beoverridden by an environment variable C<FTP_FIREWALL>. If specified, and thegiven host cannot be directly connected to, then theconnection is made to the firewall machine and the string C<@hostname> isappended to the login identifier. This kind of setup is also referred toas an ftp proxy.B<FirewallType> - The type of firewall running on the machine indicated byB<Firewall>. This can be overridden by an environment variableC<FTP_FIREWALL_TYPE>. For a list of permissible types, see the description offtp_firewall_type in L<Net::Config>.B<BlockSize> - This is the block size that Net::FTP will use when doingtransfers. (defaults to 10240)B<Port> - The port number to connect to on the remote machine for theFTP connectionB<Timeout> - Set a timeout value (defaults to 120)B<Debug> - debug level (see the debug method in L<Net::Cmd>)B<Passive> - If set to a non-zero value then all data transfers willbe done using passive mode. If set to zero then data transfers will bedone using active mode.  If the machine is connected to the Internetdirectly, both passive and active mode should work equally well.Behind most firewall and NAT configurations passive mode has a betterchance of working.  However, in some rare firewall configurations,active mode actually works when passive mode doesn't.  Some really oldFTP servers might not implement passive transfers.  If not specified,then the transfer mode is set by the environment variableC<FTP_PASSIVE> or if that one is not set by the settings done by theF<libnetcfg> utility.  If none of these apply then passive mode isused.B<Hash> - If given a reference to a file handle (e.g., C<\*STDERR>),print hash marks (#) on that filehandle every 1024 bytes.  Thissimply invokes the C<hash()> method for you, so that hash marksare displayed for all transfers.  You can, of course, call C<hash()>explicitly whenever you'd like.B<LocalAddr> - Local address to use for all socket connections, thisargument will be passed to L<IO::Socket::INET>If the constructor fails undef will be returned and an error message willbe in $@=back=head1 METHODSUnless otherwise stated all methods return either a I<true> or I<false>value, with I<true> meaning that the operation was a success. When a methodstates that it returns a value, failure will be returned as I<undef> or anempty list.=over 4=item login ([LOGIN [,PASSWORD [, ACCOUNT] ] ])Log into the remote FTP server with the given login information. Ifno arguments are given then the C<Net::FTP> uses the C<Net::Netrc>package to lookup the login information for the connected host.If no information is found then a login of I<anonymous> is used.If no password is given and the login is I<anonymous> then I<anonymous@>will be used for password.If the connection is via a firewall then the C<authorize> method willbe called with no arguments.=item authorize ( [AUTH [, RESP]])This is a protocol used by some firewall ftp proxies. It is usedto authorise the user to send data out.  If both arguments are not specifiedthen C<authorize> uses C<Net::Netrc> to do a lookup.=item site (ARGS)Send a SITE command to the remote server and wait for a response.Returns most significant digit of the response code.=item asciiTransfer file in ASCII. CRLF translation will be done if required=item binaryTransfer file in binary mode. No transformation will be done.B<Hint>: If both server and client machines use the same line ending fortext files, then it will be faster to transfer all files in binary mode.=item rename ( OLDNAME, NEWNAME )Rename a file on the remote FTP server from C<OLDNAME> to C<NEWNAME>. Thisis done by sending the RNFR and RNTO commands.=item delete ( FILENAME )Send a request to the server to delete C<FILENAME>.=item cwd ( [ DIR ] )Attempt to change directory to the directory given in C<$dir>.  IfC<$dir> is C<"..">, the FTP C<CDUP> command is used to attempt tomove up one directory. If no directory is given then an attempt is madeto change the directory to the root directory.=item cdup ()Change directory to the parent of the current directory.=item pwd ()Returns the full pathname of the current directory.=item restart ( WHERE )Set the byte offset at which to begin the next data transfer. Net::FTP simplyrecords this value and uses it when during the next data transfer. For thisreason this method will not return an error, but setting it may causea subsequent data transfer to fail.=item rmdir ( DIR [, RECURSE ])Remove the directory with the name C<DIR>. If C<RECURSE> is I<true> thenC<rmdir> will attempt to delete everything inside the directory.=item mkdir ( DIR [, RECURSE ])Create a new directory with the name C<DIR>. If C<RECURSE> is I<true> thenC<mkdir> will attempt to create all the directories in the given path.Returns the full pathname to the new directory.=item alloc ( SIZE [, RECORD_SIZE] )The alloc command allows you to give the ftp server a hint about the sizeof the file about to be transferred using the ALLO ftp command. Some storagesystems use this to make intelligent decisions about how to store the file.The C<SIZE> argument represents the size of the file in bytes. TheC<RECORD_SIZE> argument indicates a maximum record or page size for filessent with a record or page structure.The size of the file will be determined, and sent to the serverautomatically for normal files so that this method need only be called ifyou are transferring data from a socket, named pipe, or other stream notassociated with a normal file.=item ls ( [ DIR ] )Get a directory listing of C<DIR>, or the current directory.In an array context, returns a list of lines returned from the server. Ina scalar context, returns a reference to a list.=item dir ( [ DIR ] )Get a directory listing of C<DIR>, or the current directory in long format.In an array context, returns a list of lines returned from the server. Ina scalar context, returns a reference to a list.=item get ( REMOTE_FILE [, LOCAL_FILE [, WHERE]] )Get C<REMOTE_FILE> from the server and store locally. C<LOCAL_FILE> may bea filename or a filehandle. If not specified, the file will be stored inthe current directory with the same leafname as the remote file.If C<WHERE> is given then the first C<WHERE> bytes of the file willnot be transferred, and the remaining bytes will be appended tothe local file if it already exists.Returns C<LOCAL_FILE>, or the generated local file name if C<LOCAL_FILE>is not given. If an error was encountered undef is returned.=item put ( LOCAL_FILE [, REMOTE_FILE ] )Put a file on the remote server. C<LOCAL_FILE> may be a name or a filehandle.If C<LOCAL_FILE> is a filehandle then C<REMOTE_FILE> must be specified. IfC<REMOTE_FILE> is not specified then the file will be stored in the currentdirectory with the same leafname as C<LOCAL_FILE>.Returns C<REMOTE_FILE>, or the generated remote filename if C<REMOTE_FILE>is not given.B<NOTE>: If for some reason the transfer does not complete and an error isreturned then the contents that had been transferred will not be removeautomatically.=item put_unique ( LOCAL_FILE [, REMOTE_FILE ] )Same as put but uses the C<STOU> command.Returns the name of the file on the server.=item append ( LOCAL_FILE [, REMOTE_FILE ] )Same as put but appends to the file on the remote server.Returns C<REMOTE_FILE>, or the generated remote filename if C<REMOTE_FILE>is not given.=item unique_name ()Returns the name of the last file stored on the server using theC<STOU> command.=item mdtm ( FILE )Returns the I<modification time> of the given file=item size ( FILE )Returns the size in bytes for the given file as stored on the remote server.B<NOTE>: The size reported is the size of the stored file on the remote server.If the file is subsequently transferred from the server in ASCII modeand the remote server and local machine have different ideas about"End Of Line" then the size of file on the local machine after transfermay be different.=item supported ( CMD )Returns TRUE if the remote server supports the given command.=item hash ( [FILEHANDLE_GLOB_REF],[ BYTES_PER_HASH_MARK] )Called without parameters, or with the first argument false, hash marksare suppressed.  If the first argument is true but not a reference to a file handle glob, then \*STDERR is used.  The second argument is the numberof bytes per hash mark printed, and defaults to 1024.  In all cases thereturn value is a reference to an array of two:  the filehandle glob referenceand the bytes per hash mark.=item feature ( NAME )Determine if the server supports the specified feature. The returnvalue is a list of lines the server responded with to describe theoptions that it supports for the given feature. If the feature isunsupported then the empty list is returned.  if ($ftp->feature( 'MDTM' )) {    # Do something  }  if (grep { /\bTLS\b/ } $ftp->feature('AUTH')) {    # Server supports TLS  }=backThe following methods can return different results depending onhow they are called. If the user explicitly calls eitherof the C<pasv> or C<port> methods then these methods willreturn a I<true> or I<false> value. If the user does notcall either of these methods then the result will be areference to a C<Net::FTP::dataconn> based object.=over 4=item nlst ( [ DIR ] )Send an C<NLST> command to the server, with an optional parameter.=item list ( [ DIR ] )Same as C<nlst> but using the C<LIST> command=item retr ( FILE )Begin the retrieval of a file called C<FILE> from the remote server.=item stor ( FILE )Tell the server that you wish to store a file. C<FILE> is thename of the new file that should be created.=item stou ( FILE )Same as C<stor> but using the C<STOU> command. The name of the uniquefile which was created on the server will be available via the C<unique_name>method after the data connection has been closed.=item appe ( FILE )Tell the server that we want to append some data to the end of a filecalled C<FILE>. If this file does not exist then create it.=backIf for some reason you want to have complete control over the data connection,this includes generating it and calling the C<response> method when required,then the user can use these methods to do so.However calling these methods only affects the use of the methods above thatcan return a data connection. They have no effect on methods C<get>, C<put>,C<put_unique> and those that do not require data connections.=over 4=item port ( [ PORT ] )Send a C<PORT> command to the server. If C<PORT> is specified then it is sentto the server. If not, then a listen socket is created and the correct informationsent to the server.=item pasv ()Tell the server to go into passive mode. Returns the text that represents theport on which the server is listening, this text is in a suitable form tosent to another ftp server using the C<port> method.=backThe following methods can be used to transfer files between two remoteservers, providing that these two servers can connect directly to each other.=over 4=item pasv_xfer ( SRC_FILE, DEST_SERVER [, DEST_FILE ] )This method will do a file transfer between two remote ftp servers. IfC<DEST_FILE> is omitted then the leaf name of C<SRC_FILE> will be used.=item pasv_xfer_unique ( SRC_FILE, DEST_SERVER [, DEST_FILE ] )Like C<pasv_xfer> but the file is stored on the remote server usingthe STOU command.=item pasv_wait ( NON_PASV_SERVER )This method can be used to wait for a transfer to complete between a passiveserver and a non-passive server. The method should be called on the passiveserver with the C<Net::FTP> object for the non-passive server passed as anargument.=item abort ()Abort the current data transfer.=item quit ()Send the QUIT command to the remote FTP server and close the socket connection.=back=head2 Methods for the adventurousC<Net::FTP> inherits from C<Net::Cmd> so methods defined in C<Net::Cmd> maybe used to send commands to the remote FTP server.=over 4=item quot (CMD [,ARGS])Send a command, that Net::FTP does not directly support, to the remoteserver and wait for a response.Returns most significant digit of the response code.B<WARNING> This call should only be used on commands that do not requiredata connections. Misuse of this method can hang the connection.=back=head1 THE dataconn CLASSSome of the methods defined in C<Net::FTP> return an object which willbe derived from this class.The dataconn class itself is derived fromthe C<IO::Socket::INET> class, so any normal IO operations can be performed.However the following methods are defined in the dataconn class and IO shouldbe performed using these.=over 4=item read ( BUFFER, SIZE [, TIMEOUT ] )Read C<SIZE> bytes of data from the server and place it into C<BUFFER>, alsoperforming any <CRLF> translation necessary. C<TIMEOUT> is optional, if notgiven, the timeout value from the command connection will be used.Returns the number of bytes read before any <CRLF> translation.=item write ( BUFFER, SIZE [, TIMEOUT ] )Write C<SIZE> bytes of data from C<BUFFER> to the server, alsoperforming any <CRLF> translation necessary. C<TIMEOUT> is optional, if notgiven, the timeout value from the command connection will be used.Returns the number of bytes written before any <CRLF> translation.=item bytes_read ()Returns the number of bytes read so far.=item abort ()Abort the current data transfer.=item close ()Close the data connection and get a response from the FTP server. ReturnsI<true> if the connection was closed successfully and the first digit ofthe response from the server was a '2'.=back=head1 UNIMPLEMENTEDThe following RFC959 commands have not been implemented:=over 4=item B<SMNT>Mount a different file system structure without changing login oraccounting information.=item B<HELP>Ask the server for "helpful information" (that's what the RFC says) onthe commands it accepts.=item B<MODE>Specifies transfer mode (stream, block or compressed) for file to betransferred.=item B<SYST>Request remote server system identification.=item B<STAT>Request remote server status.=item B<STRU>Specifies file structure for file to be transferred.=item B<REIN>Reinitialize the connection, flushing all I/O and account information.=back=head1 REPORTING BUGSWhen reporting bugs/problems please include as much information as possible.It may be difficult for me to reproduce the problem as almost every setupis different.A small script which yields the problem will probably be of help. It wouldalso be useful if this script was run with the extra options C<Debug => 1>passed to the constructor, and the output sent with the bug report. If youcannot include a small script then please include a Debug trace from arun of your program which does yield the problem.=head1 AUTHORGraham Barr <gbarr@pobox.com>=head1 SEE ALSOL<Net::Netrc>L<Net::Cmd>ftp(1), ftpd(8), RFC 959http://www.cis.ohio-state.edu/htbin/rfc/rfc959.html=head1 USE EXAMPLESFor an example of the use of Net::FTP see=over 4=item http://www.csh.rit.edu/~adam/Progs/C<autoftp> is a program that can retrieve, send, or list files viathe FTP protocol in a non-interactive manner.=back=head1 CREDITSHenry Gabryjelski <henryg@WPI.EDU> - for the suggestion of creating directoriesrecursively.Nathan Torkington <gnat@frii.com> - for some input on the documentation.Roderick Schertler <roderick@gate.net> - for various inputs=head1 COPYRIGHTCopyright (c) 1995-2004 Graham Barr. All rights reserved.This program is free software; you can redistribute it and/or modify itunder the same terms as Perl itself.=cut

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲电影一级片| 欧美一区二区三区四区久久| 欧美日本视频在线| 国产日产欧产精品推荐色| 亚洲自拍都市欧美小说| 国产精品一区在线观看你懂的| 日本高清免费不卡视频| 国产精品嫩草影院com| 日韩电影在线一区| 欧美伊人久久久久久久久影院| 国产日韩欧美综合在线| 蜜桃精品在线观看| 在线观看视频91| 亚洲人精品一区| 国产乱码精品一区二区三| 日韩精品一区二区在线| 国产精品视频九色porn| 国产综合色精品一区二区三区| 欧美精品精品一区| 婷婷久久综合九色综合绿巨人 | 久久狠狠亚洲综合| 欧美在线你懂的| 最新中文字幕一区二区三区| 顶级嫩模精品视频在线看| 精品91自产拍在线观看一区| 麻豆91在线播放免费| 91精品欧美一区二区三区综合在| 亚洲欧美一区二区三区孕妇| 99久久国产综合精品女不卡| 国产精品嫩草影院av蜜臀| 成熟亚洲日本毛茸茸凸凹| 久久精品一区二区三区四区| 国产在线视视频有精品| 日韩免费看的电影| 精品中文av资源站在线观看| 日韩女优av电影在线观看| 麻豆国产精品官网| 久久久综合九色合综国产精品| 久久精品国产一区二区三区免费看| 91精品在线麻豆| 久久精品国产99国产| 欧美电影免费观看高清完整版在| 久久精品国产网站| 精品久久久久久综合日本欧美| 韩国理伦片一区二区三区在线播放| 久久综合色天天久久综合图片| 国产精品1区二区.| 中文字幕永久在线不卡| 在线观看中文字幕不卡| 青娱乐精品在线视频| 精品福利视频一区二区三区| 国产乱码精品一区二区三| 亚洲欧美自拍偷拍色图| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 国产精品自产自拍| 综合色中文字幕| 69堂精品视频| 国产美女久久久久| 亚洲精品久久嫩草网站秘色| 5月丁香婷婷综合| 国产在线播放一区三区四| 亚洲欧美一区二区三区孕妇| 欧美放荡的少妇| 国产成人免费9x9x人网站视频| 亚洲精品成人在线| 久久人人爽人人爽| 欧美日韩一区高清| 国产一区二区导航在线播放| 亚洲精品国产a久久久久久| 精品国产一区二区三区不卡 | 精品国内二区三区| 99精品国产视频| 日本在线播放一区二区三区| 国产欧美日韩精品一区| 在线这里只有精品| 国产一区在线观看视频| 中文字幕在线观看不卡| 精品奇米国产一区二区三区| 91亚洲午夜精品久久久久久| 日本不卡高清视频| 中文字幕一区二区三区四区| 91精品国产综合久久久久| 国产成人午夜片在线观看高清观看| 亚洲综合一区二区三区| 久久久精品国产免费观看同学| 色噜噜夜夜夜综合网| 国产v综合v亚洲欧| 捆绑调教美女网站视频一区| 亚洲国产一区在线观看| 国产精品日日摸夜夜摸av| 日韩一级片在线观看| 在线一区二区三区| 9l国产精品久久久久麻豆| 国产在线国偷精品产拍免费yy| 午夜免费欧美电影| 樱花草国产18久久久久| 中文字幕在线一区| 欧美精品一区二区精品网| 51精品视频一区二区三区| 日本精品视频一区二区| 成人av网址在线观看| 国产成人av电影在线观看| 老司机免费视频一区二区三区| 一区二区三区波多野结衣在线观看| 国产欧美久久久精品影院| 精品国产一区二区三区忘忧草| 欧美人妖巨大在线| 欧美色精品在线视频| 欧美在线free| 色婷婷av一区二区| 91国产精品成人| 在线一区二区观看| 欧美日韩国产天堂| 91.麻豆视频| 欧美一区在线视频| 欧美成人a视频| 日韩欧美卡一卡二| 欧美不卡视频一区| 久久久精品蜜桃| 国产精品美女一区二区三区| 18成人在线观看| 亚洲女人****多毛耸耸8| 亚洲女性喷水在线观看一区| 亚洲精品高清在线| 天天综合色天天| 九色综合国产一区二区三区| 国内精品伊人久久久久av一坑| 精品亚洲成av人在线观看| 狠狠色狠狠色合久久伊人| 国产精品456| 色综合久久中文字幕综合网| 色八戒一区二区三区| 91精品国产综合久久香蕉的特点 | 日韩黄色免费网站| 久久精品国产亚洲aⅴ| 国产精品亚洲午夜一区二区三区| 国产 欧美在线| 欧美在线观看18| 日韩欧美亚洲国产另类| 久久久久久99精品| 亚洲靠逼com| 激情综合色播五月| 97国产一区二区| 欧美一区二区福利视频| 国产日韩av一区| 亚洲国产日韩综合久久精品| 美女视频网站久久| 成人精品视频一区二区三区尤物| 日本韩国欧美国产| 欧美精品一区男女天堂| 亚洲欧美一区二区三区久本道91| 日韩av电影天堂| caoporn国产精品| 日韩一区二区三区在线| 日韩毛片精品高清免费| 美女高潮久久久| 色天使色偷偷av一区二区| 精品国产乱码久久久久久免费| 亚洲色图制服诱惑| 韩国av一区二区三区| 欧美综合色免费| 欧美激情一区二区在线| 日韩在线一二三区| 91蜜桃免费观看视频| 欧美精品一区二区不卡 | 欧美精三区欧美精三区| 久久精品视频免费观看| 亚洲国产精品精华液网站| 国产乱子轮精品视频| 欧美日韩国产三级| 亚洲视频在线观看三级| 国产精品原创巨作av| 777午夜精品免费视频| 亚洲女同女同女同女同女同69| 国产一区二区毛片| 日韩欧美在线综合网| 亚洲国产精品视频| www.日本不卡| 国产视频一区二区三区在线观看| 亚洲成在线观看| 色婷婷激情综合| 日韩毛片高清在线播放| 国产成人免费高清| 久久精品一区八戒影视| 国产一区二区三区美女| 欧美成人精品高清在线播放 | 欧美肥大bbwbbw高潮| 一区二区三区免费在线观看| 东方aⅴ免费观看久久av| 久久久久久久久99精品| 久久精品久久综合| 欧美精品乱人伦久久久久久| 亚洲国产精品视频| 欧美嫩在线观看| 天天射综合影视| 日韩你懂的在线播放| 久久成人精品无人区| 精品国内二区三区| 国产酒店精品激情| 国产日本一区二区|