| Net :: FTP :: Simple. NET :: FTP°¡ÀÖ´Â ¸î °¡Áö ÀϹÝÀûÀÎ FTP ÀÛ¾÷¿¡ ´ëÇÑ °£¼ÒÈ µÈ ÀÎÅÍÆäÀ̽º |
Áö±Ý ´Ù¿î·Îµå |
Net :: FTP :: Simple. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~wilco/
Net :: FTP :: Simple. ű×
Net :: FTP :: Simple. ¼³¸í
Net :: FTP°¡ÀÖ´Â ¸î °¡Áö ÀϹÝÀûÀÎ FTP ÀÛ¾÷¿¡ ´ëÇÑ °£¼ÒÈ µÈ ÀÎÅÍÆäÀ̽º net :: ftp :: simpleÀº net :: ftp.synopsis¿Í ÇÔ²² ¸î °¡Áö °øÅëµÈ FTP ŽºÅ©¿¡ ´ëÇÑ ´Ü¼øÈ µÈ ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. net :: ftp :: simple; my @remote_files = net :: ftp :: simple-> list_files ({username => $ username, password => $ password, server => $ server, remote_dir => 'path / to / dir', debug_ftp => 1, file_filter => qr / foo /,}); Àμâ "¸ñ·Ï : ", °¡ÀÔÇÏ´Ù(" ", @remote_files)," ") @remote_files; my @sent_files = net :: ftp :: simple-> send_files ({username => $ username, password => $ password, server => $ server, remote_dir => 'path / to / dir' , debug_ftp => 1, files => ,}); Àμâ "´ÙÀ½ ÆÄÀÏÀÌ ¼º°øÀûÀ¸·Î Àü¼ÛµÇ¾ú½À´Ï´Ù. ", °¡ÀÔÇÏ´Ù(" ", @sent_files)," "my @sent_files; my @received_files = net :: ftp :: simple-> retrieve_files ({username => $ username, password => $ password, server => $ server, remote_dir => 'path / to / dir', debug_ftp => 1, files => [ 'foo.txt', 'bar.txt', 'baz.txt',}); Àμâ "´ÙÀ½ ÆÄÀÏÀÌ ¼º°øÀûÀ¸·Î °Ë»öµÇ¾ú½À´Ï´Ù. ", °¡ÀÔÇÏ´Ù(" ", @received_files)," "@Received_Files ÀÎ °æ¿ì, My @Received_Filtered_Files = net :: ftp :: Simple-> retrieve_files ({username => $ username, password => $ password, server => $ server, remote_dir => path / to / dir ', debug_ftp => 1, file_filter => qr / ^ ba..txt /, delete_after => 1,}); "´ÙÀ½ ÆÄÀÏÀÌ ¼º°øÀûÀ¸·Î °Ë»öµÇ¾ú½À´Ï´Ù. ", °¡ÀÔÇÏ´Ù(" ", @Received_Filtered_files)" "@RECEIVED_FILTERED_FILES; my @renamed_files = net :: ftp :: simple-> rename_files ({username => $ username, password => $ password, server => $ server, remote_dir => 'path / to / dir', debug_ftp => 1, rename_files => { 'old_name'=> 'new_name',},}); ¿ä±¸ »çÇ× : ¡¤ Perl.
Net :: FTP :: Simple. °ü·Ã ¼ÒÇÁÆ®¿þ¾î