|
Ftp problem
|
| Author |
Message |
rbtux
Member
  
Posts: 1,200
Group: Registered
Joined: Feb 2007
Status:
Away
Reputation: 22
|
RE: Ftp problem
or install package tofrodos
there is a unix2dos and a dos2unix script...
OS: Debian Lenny
ispCP Version: Trunk r1033
Activated: AWStats dynamic, Dovecot, Avelsieve, Selective Greylisting, Bogus MX Filter,
No Webtools, Roundcube, Some own modifications
|
|
| 11-16-2007 06:51 AM |
|
 |
scoutsniper
Junior Member

Posts: 95
Group: Registered
Joined: Jul 2007
Status:
Offline
Reputation: -3
|
RE: Ftp problem
Here is my script:
#!/usr/bin/perl/
use Mysql;
$db = Mysql->connect($localhost, $globe, $globe, $pass);
$db->selectdb($globe);
$query = $db->query($sql_query);
@array = $query->fetchrow;
while( @array = $query->fetchrow ) { .. }
ISPCP Is Open Source!!! And it's very nice if u want u can make donations for ISPCP :-) I will do it soon :-)
Ако си Булгарин драскай...
|
|
| 11-16-2007 07:47 AM |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: Ftp problem
well the / at the end of the first line is too much...
and the other thing: the lines...
just try both way to upload the files and check both results if it's throwing an error...
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 11-16-2007 07:54 AM |
|
 |
scoutsniper
Junior Member

Posts: 95
Group: Registered
Joined: Jul 2007
Status:
Offline
Reputation: -3
|
RE: Ftp problem
Well script must be like this:
#!/usr/bin/perl
use Mysql;
$db = Mysql->connect($localhost, $globe, $globe, $cyber-shot.1);
$db->selectdb($globe);
$query = $db->query($sql_query);
@array = $query->fetchrow;
while( @array = $query->fetchrow ) { .. }
In extension .pl or *.cgi? because it return me same error 500
ISPCP Is Open Source!!! And it's very nice if u want u can make donations for ISPCP :-) I will do it soon :-)
Ако си Булгарин драскай...
|
|
| 11-16-2007 07:59 AM |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: Ftp problem
make it a .pl
is perl enabled on the domain you'd like to run it?
did you try both "ASCII" and "binary" ftp upload to the server?
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 11-16-2007 08:04 AM |
|
 |
scoutsniper
Junior Member

Posts: 95
Group: Registered
Joined: Jul 2007
Status:
Offline
Reputation: -3
|
RE: Ftp problem
yes i make it .pl i enable pl in domain No now i will try binary but cuteftp... ok np i will try
UPD: It's same in binary and ASC11 no result apache_mod_rewrite?
ISPCP Is Open Source!!! And it's very nice if u want u can make donations for ISPCP :-) I will do it soon :-)
Ако си Булгарин драскай...
This post was last modified: 11-16-2007 08:23 AM by scoutsniper.
|
|
| 11-16-2007 08:20 AM |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: Ftp problem
is there something in the error.log of the domain?
2008-03-16 ispCP RC4 released!!!
|
|
| 11-16-2007 08:36 AM |
|
 |
scoutsniper
Junior Member

Posts: 95
Group: Registered
Joined: Jul 2007
Status:
Offline
Reputation: -3
|
RE: Ftp problem
ISPCP Is Open Source!!! And it's very nice if u want u can make donations for ISPCP :-) I will do it soon :-)
Ако си Булгарин драскай...
|
|
| 11-16-2007 07:57 PM |
|
 |
rbtux
Member
  
Posts: 1,200
Group: Registered
Joined: Feb 2007
Status:
Away
Reputation: 22
|
RE: Ftp problem
please post the error.log... I don't believe you ;-)
Please also post the patch of the error.log you used...
OS: Debian Lenny
ispCP Version: Trunk r1033
Activated: AWStats dynamic, Dovecot, Avelsieve, Selective Greylisting, Bogus MX Filter,
No Webtools, Roundcube, Some own modifications
|
|
| 11-16-2007 07:58 PM |
|
 |
scoutsniper
Junior Member

Posts: 95
Group: Registered
Joined: Jul 2007
Status:
Offline
Reputation: -3
|
RE: Ftp problem
In the domain folder in logs there is no files
ISPCP Is Open Source!!! And it's very nice if u want u can make donations for ISPCP :-) I will do it soon :-)
Ако си Булгарин драскай...
|
|
| 11-17-2007 05:17 AM |
|
 |
|
|