Re: ftp error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
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

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux