[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-users
Subject:    Re: [SM-USERS] ftp error
From:       "Paul Lesniewski" <paul () squirrelmail ! org>
Date:       2007-07-20 1:51:51
Message-ID: 58191e420707191851s330622caub15034d0129d9ec6 () mail ! gmail ! com
[Download RAW message or body]

Sorry for the late reply.

> I'm not sure if this is a squirrelmail or a php issue. I apologise in
> advance if this is posted on the wrong list.
>
> Here it goes:
>
> I'm using vacation-local, with the ftp backend, non-passive.
> When I access the vac_init page (through Options), I get:
>
> User: marcel, PWD: ---mypassword---     (password changed)
>
> Warning: ftp_login(): Password required for marcel. in
> /usr/share/squirrelmail/plugins/vacation_local/vac_init.php on line 448
>
> - From that line the code says (the TEMP line just in front of it I added
> for testing):
>
> echo "User: $username, PWD: ---$password---<br />"; ## TEMP ADDED
>
>       if (!($FTPConn = ftp_login($FTP, $username,$password)))

As you have verified, the command is being run with user and password,
so I'd say it has to be an issue with how PHP is talking to the FTP
server.  The plugin code is not errant that I can see.

If you've since fixed this, please let us know.

Thanks very much,

  Paul


>       {
>          plain_error_message(_("Error: Unable to log in to FTP server.
> Please contact your system administrator."), $color);
>          ftp_quit($FTP);
>          return FALSE;
>       }
>
> When just plain ftp-ing, I can login, but the plugin gives me this
> php-warning, and a squirrelmail error (Unable to log in to FTP server....)
>
> This started out of the blue (It worked on my last vacation in june).
>
> I'm using Debian Sarge, with the latest packages, and the packaged
> version of Squirrelmail (1.4.4) and PHP (4.3.10-16)
>
> Anyone?
>
> MArcel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic