Search squid archive

Client <--> Squid <--> FTP usecase

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

 



Hi All,

 

I have been working to check squid v4.13 functionality with a FTP.

My use case is simple and it says we have a file on FTP at root and I just have to wget that file from my client.

 

So I have,

 

àCreated a file on root of FTP “touch test.txt

àAllowed the destination IP of FTP in my squid.conf

 

Then I have exported proxy on my client as

export ftp_proxy=http://${squid.IP}:${Squid.Port}/

and

Now when I try to download the file like this,

wget -m ftp://<id>:<pass>@${FTP.Prod_IP}/test.txt

 

I am facing below error on client:

 

Proxy request sent, awaiting response... 502 Bad Gateway

 

which indicates that the squid (server acting as a proxy) was not able to get a valid or any response from the FTP server.

So, I tried wget directly from my squid to FTP, it ended in error,

 

“Logging in as root ... Error in server greeting. Retrying.” (which is my concern)

 

It’d be great, If there is any advice I could get from you guys as about where I am wrong or what am I missing.

 

Thank You

 

Bien cordialement,

Piyush Gaba

Tower B, 8th Floor, DLF Infinity Towers, 

DLF Cyber City Phase - II
Gurgaon - 122002, Haryana, INDIA

[Email] piyush.gaba@xxxxxxxxxx  

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux