[squid-users] FTP recursive directory CWD

senor frio_cervesa at hotmail.com
Fri Jul 20 05:05:43 UTC 2018


Hi Guys,
I've run into an issue with proxy and FTP. Squid is doing more than a browser would do to display a directory listing but I'm not sure why.
The FTP site has a directory structure like /top/dir1/dir2/dir3/files where dir2 is not readable. Using a browser without proxy, you can navigate to /top/dir1/dir2/dir3/ and get a listing of files in dir3 as well as download any of them. Accessing via squid will fail and I've found through packet caps and poking around code that it does a CWD on each of the directories starting at top. It runs into dir2 where it has no permissions, receives and error and quits.

I'm sure there is a reason for recursively listing each directory but, in this case, I don't think a fail should be the end of the road. It may cause a specific possible future action unavailable. Is there a workaround? Is this something that should be submitted as a feature request? Am I misunderstanding something?

Enlightenment is appreciated. Thanks,

-Senor

[cid:part1.C62E7EC8.EA524190 at hotmail.com]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180720/d27d2556/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleardot.gif
Type: image/gif
Size: 43 bytes
Desc: cleardot.gif
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180720/d27d2556/attachment-0001.gif>


More information about the squid-users mailing list