ispCP - Board - Support
Ftp problem - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Ftp problem (/thread-1784.html)

Pages: 1 2 3 4 5 6


RE: Ftp problem - rbtux - 11-16-2007 06:51 AM

or install package tofrodos

there is a unix2dos and a dos2unix script...


RE: Ftp problem - scoutsniper - 11-16-2007 07:47 AM

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 ) { .. }


RE: Ftp problem - joximu - 11-16-2007 07:54 AM

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


RE: Ftp problem - scoutsniper - 11-16-2007 07:59 AM

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


RE: Ftp problem - joximu - 11-16-2007 08:04 AM

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


RE: Ftp problem - scoutsniper - 11-16-2007 08:20 AM

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?


RE: Ftp problem - joximu - 11-16-2007 08:36 AM

is there something in the error.log of the domain?


RE: Ftp problem - scoutsniper - 11-16-2007 07:57 PM

No...


RE: Ftp problem - rbtux - 11-16-2007 07:58 PM

please post the error.log... I don't believe you ;-)

Please also post the patch of the error.log you used...


RE: Ftp problem - scoutsniper - 11-17-2007 05:17 AM

In the domain folder in logs there is no files