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.
cheers
M
__________________
This will be their great security.
$6.00 Welcome Survey After Free Registration!
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:
Labels:
script
Subscribe to:
Post Comments (Atom)
Daftar Isi
Loading...
Baca juga
Octovensa Purba. Powered by Blogger.
Search
TV Online
New Posting |
|
Buku Tamu |
|
Arsip Terbaru |
|
||||||||||
|
Widgets
Blog Archive
Link
Comment
Converter
Exchange Link
Add Us
PDF24 Article To PDF
Send articles as PDF to
0 comments:
Post a Comment