Re: [squid-users] Ftp put gives bad gateway but put is correct

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 24 Jul 2008 01:20:53 +1200

David Rodríguez Fernández wrote:
> Hi list.
>
> I'm having an issue with a ftp server. When I put a file in the remote
> server Squid gives me an "502 Bad Gateway" error, and the error message gives
> me this:
>
>> ERROR
>> FTP PUT/upload failed
>> While trying to PUT the following URL:
>> ftp://user@hostname-ipaddress/path/file.txt
>> Squid sent the following FTP command:
>> STOR file.txt
>> and then received this reply.
>> File transfer completed successfully
>> This means that:
>> Check path, permissions, diskspace and try again
>
> But the file is corrected uploaded in the server. This is annoying,
> because I have an automated task that fail with this error message.
>
> I have squid 2.5 in Linux and the remote server is an AS400.

The logic in your squid may be bad. 2.5 is obsolete now for some years.
Try upgrading.

Amos

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE8
Received on Wed Jul 23 2008 - 13:20:52 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 23 2008 - 12:00:05 MDT