Jun 16, 2010
This is a simple Perl script to upload files from a server via the PHP shell interface to some anonymous FTP server.

use Net::FTP;
my $host = '';
my $port = 21;
my $user = ”;
my $pass = ”;

my $file = shift || die "usage: $0 file";
my $ftp = Net::FTP->new($host) or die "failed.$!";
$ftp->login($user, $pass);
$ftp->binary();
$ftp->put($file);
$ftp->quit();

cheers

M
__________________
This will be their great security.

$6.00 Welcome Survey After Free Registration!

Artikel Terkait:

0 comments:

Daftar Isi
Loading...
Baca juga
Octovensa Purba. Powered by Blogger.
Search
Google
Chat
TV Online






New Posting
Buku Tamu
Arsip Terbaru
   Browse Items
Widgets
Copy this small text link code below and then paste on your page.

Blog Archive
Link
Comment
Converter
Exchange Link Gambar
Seby-Antoe.Com
Add Us
PDF24 Article To PDF
Send articles as PDF to