Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Perl: download file from FTP server

use Net::FTP;
$username = "test_username";                
$password = "mypassword";            
$remotefile = "index.html";                 # File t

Python: How to Debug Output from an FTP Transfer

import ftplib
from_ftp = ftplib.FTP("www.site1.com", "login", "password")
from_ftp.cwd("/htdoc")
from_ftp.set_pasv(1)
from_ftp.set_debuglevel(1)
fr

Perl: How to connect to an FTP server and transfer files

#!/usr/bin/perl
use warnings;
use strict;
use Net::FTP;
my $ftp = Net::FTP->new("ftp.monserveurFTP.com", Timeout => 60)
		or die "Couldn't connect:e: