Leser: 4
|< 1 2 3 >| | 25 Einträge, 3 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
$gameserverip="xxxxxxxxxxxxx";
$username="xxxxxxxxxx";
$eventfolder="events";
$password="xxxxxxxxxxx";
$dateiholen="user.txt";
$dateiupload="spuaf.txt";
$spufolder="spuaf";
print "Content-Type: text/html\n\n";
sub SendFileOverSFTP {
use strict;
use warnings;
use Modules::Net::SFTP;
use Data::Dumper;
my %args = (
user => "$username",
password => "$password",
debug => "true",
);
my %defaultArgs = (
FTPServer => "$gameserverip",
FTPRemoteDir => "/home/$username/source/cstrike/cfg/$eventfolder/spuaf/");
my $sftp = Modules::Net::SFTP-> new($defaultArgs{FTPServer},%args);
my $openFtpDir = $sftp-> do_open($defaultArgs{FTPRemoteDir});
if ( !defined($ENV{'DOCUMENT_ROOT'}/$spufolder/) ) {
print "failed to open the ftp directory\n";
}
my $local = "spuaf.txt";
my $remote = "spuaf.txt";
my $ergebnis = $sftp-> put($local,$remote);
if ( !defined($ergebnis) )
{
print "error\n";
}
#$sftp-> quit;
undef $sftp;
}
SendFileOverSFTP;
QuoteCan't locate Net/SFTP/Constants.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at Modules/Net/SFTP.pm line 6.
BEGIN failed--compilation aborted at Modules/Net/SFTP.pm line 6.
Compilation failed in require at test.pl line 21.
BEGIN failed--compilation aborted at test.pl line 21.
QuoteCan't locate loadable object for module Math::Pari
Modules/Net/SSH/Perl/Util/SSH2MP.pm line 6
Quote# $Id: SSH2MP.pm,v 1.4 2005/01/16 21:05:18 dbrobins Exp $
package Net::SSH::Perl::Util::SSH2MP;
use strict;
use Math::Pari qw( PARI floor pari2num Mod lift );
QuoteTrying to unpack $tarf...
/bin/tar -xvzf Math-Pari-2.010702.tar.tar 2>&1:
Math-Pari-2.010702/
Math-Pari-2.010702/Changes
Math-Pari-2.010702/func_codes.h
Math-Pari-2.010702/INSTALL
Math-Pari-2.010702/libPARI/
Math-Pari-2.010702/libPARI/codes_2014
Math-Pari-2.010702/libPARI/expected_codes
Math-Pari-2.010702/libPARI/extract_codes.pl
Math-Pari-2.010702/libPARI/gphelp
Math-Pari-2.010702/libPARI/Makefile.PL
Math-Pari-2.010702/Makefile.PL
Math-Pari-2.010702/MANIFEST
Math-Pari-2.010702/META.yml
Math-Pari-2.010702/Pari.pm
Math-Pari-2.010702/Pari.xs
Math-Pari-2.010702/PariInit.pm
Math-Pari-2.010702/patches/
Math-Pari-2.010702/patches/diff_2.1.2_gccism
Math-Pari-2.010702/patches/diff_2.1.3_interface
Math-Pari-2.010702/patches/diff_2.1.4_interface
Math-Pari-2.010702/patches/diff_2.1.6_no-common
Math-Pari-2.010702/patches/diff_2.1.6_ploth64
Math-Pari-2.010702/patches/diff_2.1.7_-O
Math-Pari-2.010702/patches/diff_2.1.7_restart
Math-Pari-2.010702/patches/diff_2.2.2_interface
Math-Pari-2.010702/patches/diff_pari-2.1.3-ix86-divl
Math-Pari-2.010702/patches/patch-pari-unnormalized-float
Math-Pari-2.010702/README
Math-Pari-2.010702/t/
Math-Pari-2.010702/t/00_Pari.t
Math-Pari-2.010702/t/PlotRect.t
Math-Pari-2.010702/t/zz_leak.t
Math-Pari-2.010702/test_eng/
Math-Pari-2.010702/test_eng/ex.t
Math-Pari-2.010702/test_eng/Testout.pm
Math-Pari-2.010702/TODO
Math-Pari-2.010702/typemap
Math-Pari-2.010702/utils/
Math-Pari-2.010702/utils/chap3_to_pod
Math-Pari-2.010702/utils/comp_funcs.pl
Math-Pari-2.010702/utils/foncpari.pl
Math-Pari-2.010702/utils/inc.h
Math-Pari-2.010702/utils/Math/
Math-Pari-2.010702/utils/Math/PariBuild.pm
/bin/tar: Skipping to next header
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
if everything looks okay, you should see the unpacked directory: start
Quote1144 Installierte Module (@INC)
Math::BigFloat 1.51
Math::BigFloat::Subclass 0.05
Math::BigFloat::Trace 0.01
Math::BigInt 1.77
Math::BigInt::BareCalc 0.04
Math::BigInt::BitVect 1.12
Math::BigInt::Calc 0.47
Math::BigInt::CalcEmu 0.05
Math::BigInt::Constant 1.06
Math::BigInt::FastCalc 0.10
Math::BigInt::GMP 1.18
Math::BigInt::Lite 0.11
Math::BigInt::Named 0.02
Math::BigInt::Named::English 0.01
Math::BigInt::Named::German 0.01
Math::BigInt::Pari 1.11
Math::BigInt::Scalar 0.12
Math::BigInt::Subclass 0.04
Math::BigInt::Trace 0.01
Math::BigRat 0.07
Math::Complex 1.34
Math::Pari 2.010702
Math::PariBuild 1.3
Math::PartialOrder 0.01
Math::PartialOrder::Base ?
Math::PartialOrder::Caching 0.01
Math::PartialOrder::CEnum 0.01
Math::PartialOrder::CMasked 0.01
Math::PartialOrder::LRUCaching 0.01
Math::PartialOrder::Std 0.01
Math::Polygon 0.003
Math::Polygon::Calc 0.003
Math::Polygon::Clip 0.003
Math::Polygon::Surface 0.003
Math::Polygon::Transform 0.003
Math::Polyhedra 0.7
Math::Polynomial 0.03
Math::Trig 1.01
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);
use strict;
use warnings;
use FindBin;
use lib "$FindBin::Bin/Modules";
use Net::SFTP;
print "Content-Type: text/html\n\n";
sub SendFileOverSFTP {
my %args = (
user => $username,
password => $password,
debug => true,
);
my %defaultArgs = (
FTPServer => "$gameserverip",
FTPRemoteDir => "$gameserverroot");
my $sftp = Net::SFTP-> new($defaultArgs{FTPServer},%args);
my $openFtpDir = $sftp-> do_open($defaultArgs{FTPRemoteDir});
if ( !defined($ENV{'DOCUMENT_ROOT'}/$spufolder/) ) {
print "failed to open the ftp directory\n";
}
my $local = "spuaf.txt";
my $remote = "spuaf.txt";
my $ergebnis = $sftp-> put($local,$remote);
if ( !defined($ergebnis) )
{
print "error\n";
}
#$sftp-> quit;
undef $sftp;
}
SendFileOverSFTP;
1
2
3
4
5
6
7
8
9
/bin/tar -xvzf Math-Pari-2.010702.tar.tar 2>&1:
...
/bin/tar: Skipping to next header
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
Quote/usr/bin/make 2>&1:
make: *** No targets specified and no makefile found. Stop.
Quote/usr/bin/make test 2>&1:
make: *** No rule to make target `test'. Stop.
Quoteusr/bin/make install 2>&1:
make: *** No rule to make target `install'. Stop.
|< 1 2 3 >| | 25 Einträge, 3 Seiten |