| Poe :: Componente :: client :: ftp POE :: Component :: client :: FTP è un modulo Perl che implementa un componente POE del client FTP. |
Scarica ora |
Poe :: Componente :: client :: ftp Classifica e riepilogo
- Licenza:
- Perl Artistic License
- Nome editore:
- Michael Ching
- Sito web dell'editore:
- http://search.cpan.org/~bingos/POE-Component-Client-FTP-0.10/lib/POE/Component/Client/FTP.pm
Poe :: Componente :: client :: ftp Tag
Poe :: Componente :: client :: ftp Descrizione
Poe :: Componente :: client :: ftp è un modulo perl che implementa un componente POE del client FTP. PoE :: Component :: client :: ftp è un modulo perl che implementa un computer client ftp componente.synopsisuse poe :: componente :: client :: ftp; poe :: componente :: client :: ftp-> spawn (alias = > 'FTP', USERNAME => 'TEST', PASSWORD => 'TEST', remotenDDR => 'localhost', events => ); # Siamo autenticati Sub Authenticati {$ poe_kernel-> post ('ftp', 'comando', 'args'); } # Connessione dati è pronta per i dati sub put_connected {My ($ Stato, $ LINE, $ Param) = @_ ; Apri file, "/ etc / passwd" o Die $!; $ poe_kernel-> post ('ftp', 'put_data', $ _) while (); chiudere il file; $ poe_kernel-> post ('ftp', 'put_close');} # qualcosa di brutto successo sub put_error {my ($ errore, $ param) = @_ ; Warn "Error: Errore:" Errore $ "si è verificato durante il tentativo di archiviare" $ param "";} # Connessione dati chiusa sub put_closed {my ($ param) = @_ ; } # file sulla strada ... sub get_connected {my ($ filename) = @_ ; } # Ottenere dati dal file ... sub get_data {my ($ dati, $ file filename) = @_ ;} # e il suo su sub get_done {my ($ filename) = @_ ; } # Risposta a una dimensione Command Sub Size {My ($ codice, $ Dimensione, $ file filename) = @_ ; Stampa "$ filename era $ Dimensione";} $ Poe_kernel-> run (); Requisiti: · Perl.
Poe :: Componente :: client :: ftp Software correlato