Results 1 to 1 of 1

Thread: FTP problems

  1. #1
    Join Date
    Feb 2004
    Posts
    1

    Unanswered: FTP problems

    I use a zcript that is like this:


    # CONFIG OPTIONS
    # Working directory. Usually where you extracted it (/home/username/rvsstats
    statsfiledir="/home/nicky/public_html/cgi-bin/rvsstats";

    # This is the directory where the log files get downloaded too.
    serverlogdir="/home/nicky/public_html/cgi-bin/rvsstats/logs";

    # Ftp info.
    FTPHOST="22.222.222.2";
    FTPUSER="*****";
    FTPPASS="******";

    cd $serverlogdir;
    ncftpget -u $FTPUSER -p $FTPPASS -v $FTPHOST -DD . '*./.log'
    cd $statsfiledir;
    sleep 5
    $statsfiledir/rvsstats_1_7_0.pl


    the script execute and connect to the ftp i got at home on a windows xp computer.
    But i get error like this from my ftp:


    13/02/2004/16:30:14 ! 62.70.0.24 connected
    Detail-LOG: Key: USER Parameter: *******
    Detail-LOG: Key: PASS Parameter: ******
    13/02/2004/16:30:14 User: rvsstats IP: 62.70.0.24 logged in.
    Detail-LOG: Key: PWD Parameter:
    Detail-LOG: Key: FEAT Parameter:
    Detail-LOG: Key: HELP Parameter: SITE
    Detail-LOG: Key: CLNT Parameter: NcFTPGet 3.1.3 linux-x86
    Detail-LOG: Key: PASV Parameter:
    User **.**.**.** tried to LIST a path not allowed. Path modified!
    Detail-LOG: Key: NLST Parameter: Sock 2.0
    13/02/2004/16:35:14 ! User: rvsstats IP: **.**.**.** disconnected


    and i get an error from my site like this:

    ncftpget .: no error.
    Data connection timed out.
    Could not read directory listing data: Connection timed outCould not read reply from control connection -- timed out.
    ncftpget *./.log: remote directory listing failed.
    file is empty
    exiting.....


    and some times i get: "can not find files." or something like that

    even there is files there.


    I really need help with this, is it my ftp on my home computer?
    I have tried many different ones.
    Or is it the script that need some improvment to connect to my ftp.

    I can access and delete and all that stuff from a remote computer.
    But the script dont work on it.
    I use a router, but i have redirected it all to the server i got.

    Please help.
    Last edited by Trauma; 02-13-04 at 11:42.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •