Lines Matching refs:FTP
77 =head1 Using Net::FTP
79 =head2 How do I download files from an FTP server ?
87 use Net::FTP;
89 # for debugging: $ftp = Net::FTP->new('site','Debug',10);
92 $ftp = Net::FTP->new('target_site.somewhere.xxx');
119 To transfer files without <LF><CR> translation Net::FTP provides
124 =head2 How can I get the size of a file on a remote FTP server ?
126 =head2 How can I get the modification time of a file on a remote FTP server ?
130 The FTP protocol does not have a command for changing the permissions
140 =head2 How do I get a directory listing from an FTP server ?
148 $ftp = Net::FTP->new($host, Debug => 1);
154 Net::FTP=GLOB(0x82196d8)>>> CWD /
155 Net::FTP=GLOB(0x82196d8)<<< 250 CWD command successful.
162 To use Net::FTP, or any other module in the libnet distribution,
166 =head2 I am behind an FTP proxy firewall, but cannot access machines outside ?
168 Net::FTP implements the most popular ftp proxy firewall approach. The scheme
173 still use Net::FTP to traverse these firewalls, but a more manual approach
176 $ftp = Net::FTP->new($firewall) or die $@;
182 FTP servers usually listen on the same port number, port 21, as any other
183 FTP server. But there is no reason why this has to be the case.
185 If you pass a port number to Net::FTP then it assumes this is the port
186 number of the final destination. By default Net::FTP will always try
189 Net::FTP uses IO::Socket to open the connection and IO::Socket allows
195 =head2 Is it possible to change the file permissions of a file on an FTP server ?
197 The answer to this is "maybe". The FTP protocol does not specify a command to change
205 Net::FTP, like several other packages in libnet, inherits from Net::Cmd, so
206 all the methods described in Net::Cmd are also available on Net::FTP
209 =head2 Why does Net::FTP not implement mput and mget methods
269 use Net::FTP;
271 my $ftp = new Net::FTP($host, Debug => 1);
277 Net::FTP: Net::FTP(2.22)
278 Net::FTP: Exporter
279 Net::FTP: Net::Cmd(2.0801)
280 Net::FTP: IO::Socket::INET
281 Net::FTP: IO::Socket(1.1603)
282 Net::FTP: IO::Handle(1.1504)
284 …Net::FTP=GLOB(0x8152974)<<< 220 imagine FTP server (Version wu-2.4(5) Tue Jul 29 11:17:18 CDT 1997…
285 Net::FTP=GLOB(0x8152974)>>> user gbarr
286 Net::FTP=GLOB(0x8152974)<<< 331 Password required for gbarr.
287 Net::FTP=GLOB(0x8152974)>>> PASS ....
288 Net::FTP=GLOB(0x8152974)<<< 230 User gbarr logged in. Access restrictions apply.
289 Net::FTP=GLOB(0x8152974)>>> QUIT
290 Net::FTP=GLOB(0x8152974)<<< 221 Goodbye.
292 The first few lines tell you the modules that Net::FTP uses and their versions,