Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interoperability with fatcow FTP Server #8006

Closed
cyberduck opened this issue Jun 10, 2014 · 32 comments
Closed

Interoperability with fatcow FTP Server #8006

cyberduck opened this issue Jun 10, 2014 · 32 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Jun 10, 2014

b9d777b created the issue

Hello,
I can log into my account perfectly fine, but when attempting to display the contents of one of my directories, I get the following error message:

NOOP
425 Unable to build data connection: Connection refused
CWD /public_html/awcfilms.com/wp-content
200 NOOP command successful
TYPE A
200 NOOP command successful
PASV
250 CWD command successful
PORT 10,0,0,4,196,69
200 Type set to A
MLSD
227 Entering Passive Mode (66,96,160,149,123,123)

Please tell me what I need to do to get my directories to display. I did not have this issue before I updated.

Thank you,
Cheryl


Attachments

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 10, 2014

@dkocher commented

#7998 closed as duplicate.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 11, 2014

@dkocher commented

Please post the full transcript from the log drawer (⌘-L).

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 14, 2014

9ae8fce commented

I'm having a similar issue with three of my bookmarked sites that previously worked. In one case, the file list that opens contains only the names of folders but none of the .php files nor the contents of any of the folders. Here's the content of the alert:

NOOP
200 PORT command successful
CWD /images
200 NOOP command successful
TYPE A
250 CWD command successful
PASV
200 Type set to A
PORT 192,168,1,2,237,128
227 Entering Passive Mode (65,254,248,197,103,203)
MLSD
200 PORT command successful

== =

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 15, 2014

9ae8fce commented

Just a follow-up. I downloaded and installed FileZilla and the site is performing as it should with that application.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

34df551 commented

im having same issue…it was working fine then it stopped working (4.4.3), i didnt change any settings in cyberduck and it gave me they 200 Type set to A. Connection Failed error…then i updated to 4.4.5 and now get connection failed 250 cwd thing…i too used filezilla and my webhost file manager and can upload just fine and see directories….cyberduck does not show all the files in one of my directories even if i refresh but they appear in filezilla etc.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

@dkocher commented

#8026 closed as duplicate.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

@dkocher commented

#8023 closed as duplicate.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

@dkocher commented

#8018 closed as duplicate.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

@dkocher commented

Attempted fix with d79cf99 to fail fast on interoperability issues. Require 200 reply code for NOOP.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

@dkocher commented

Attempted fix with 1e3a3aa to fail fast on interoperability issues. Require 215 reply code for CWD.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

@dkocher commented

Please update to the latest snapshot build available.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

9ae8fce commented

Updated to latest snapshot build but still unable to see .php files or folder contents.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

@dkocher commented

Replying to [comment:13 gestler]:

Updated to latest snapshot build but still unable to see .php files or folder contents.
Thanks for your reply. Can you please post the current transcript from the log drawer (⌘-L).

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

9ae8fce commented

Here are the contents of the log frawer when I attempt to open one of the folders on my site

NOOP
213--rw-r--r--   1 1564466  15000        5635 Aug 17  2013 about.php
 -rw-r--r--   1 1564466  15000       10807 Jun  9 13:13 adoptees.php
 -rw-r--r--   1 1564466  15000         474 Aug 17  2013 analyticstracking.php
 -rw-r--r--   1 1564466  15000        2086 Dec 11  2013 application.php
 -rw-r--r--   1 1564466  15000       12608 Jun 14 12:32 available_cats.php
 -rw-r--r--   1 1564466  15000        2575 Apr 13 22:25 community.php
 -rw-r--r--   1 1564466  15000        4048 Apr 13 22:25 donate.php
 -rw-r--r--   1 1564466  15000        4186 Aug 27  2012 faq.php
 -rw-r--r--   1 1564466  15000         909 Aug  1  2011 footer.php
 -rw-r--r--   1 1564466  15000        6978 Aug 17  2013 foster.php
 -rw-r--r--   1 1564466  15000        3383 Apr 13 22:25 fundraising.php
 -rw-------   1 1564466  15000          53 Aug  1  2011 google7499cde44ef18bee.html
 -rw-r--r--   1 1564466  15000        3697 Aug 11  2012 header.php
 -rw-r--r--   1 1564466  15000       18941 Jun 14 12:32 index.php
 -rw-r--r--   1 1564466  15000       11221 Apr 24  2012 indexold.php
 -rw-r--r--   1 1564466  15000        5280 Aug 17  2013 mission.php
 -rw-r--r--   1 1564466  15000        2694 Apr 29 23:02 more_kittens.php
 -rw-r--r--   1 1564466  15000       10312 Jun 24  2013 news.php
 -rw-r--r--   1 1564466  15000        3990 Aug 17  2013 paws.php
 -rw-r--r--   1 1564466  15000        2859 Aug 27  2012 picture_album.php
 -rw-r--r--   1 1564466  15000        1980 Aug 17  2013 pie_order_form.php
 -rw-r--r--   1 1564466  15000        9975 Apr 13 22:24 pop_in_the_news.php
 -rw-r--r--   1 1564466  15000        7113 Jan  5 20:09 rehobeth.php
 -rw-r--r--   1 1564466  15000        3779 Aug 27  2012 sponsor.php
 -rw-r--r--   1 1564466  15000       15897 Jun  6 11:46 tails.php
 -rw-r--r--   1 1564466  15000       71346 Jun  6 11:46 tailsdetails.php
 -rw-r--r--   1 1564466  15000       10162 Apr 13 22:25 thanks.php
 -rw-r--r--   1 1564466  15000        5696 Feb 13 21:22 tnr.php
 -rw-r--r--   1 1564466  15000        5169 Aug 17  2013 volunteer.php
213 -rw-r--r--   1 1564466  15000        3795 Apr 13 22:25 wishlist.php
220 fatcow FTP Server Ready
USER bowwow
331 Password required for bowwow
PASS ********
230 User bowwow logged in
FEAT
211-Features:
 SITE MKDIR
 MFF modify;UNIX.group;UNIX.mode;
 REST STREAM
 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
 UTF8
 LANG en-US*
 EPRT
 SITE SYMLINK
 EPSV
 SITE UTIME
 MDTM
 SITE RMDIR
 TVFS
 SITE COPY
 MFMT
 SIZE
211 End
OPTS UTF8 ON
200 UTF8 set to on
SYST
215 UNIX Type: L8
STAT /css
212-Status of /css:
 drwxr-xr-x   2 1564466  15000           4 Jul 25  2011 .
 drwxr-x---  13 1564466  15000          44 Jun 13 18:36 ..
 End of status
212 -rw-r--r--   1 1564466  15000        5930 May  2 13:29 screen.css
NOOP
213 -rw-r--r--   1 1564466  15000        3409 Jul 13  2012 superfish.css
220 fatcow FTP Server Ready
USER bowwow
331 Password required for bowwow
PASS ********
230 User bowwow logged in
FEAT
211-Features:
 SITE MKDIR
 MFF modify;UNIX.group;UNIX.mode;
 REST STREAM
 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
 UTF8
 LANG en-US*
 EPRT
 SITE SYMLINK
 EPSV
 SITE UTIME
 MDTM
 SITE RMDIR
 TVFS
 SITE COPY
 MFMT
 SIZE
211 End
OPTS UTF8 ON
200 UTF8 set to on
SYST
215 UNIX Type: L8
STAT /cgi-bin
212-Status of /cgi-bin:
 drwxr-xr-x   3 1564466  15000           4 Jan 19 19:56 .
 drwxr-x---  13 1564466  15000          44 Jun 13 18:36 ..
 drwxr-xr-x   2 1564466  15000           2 May 25  2009 tmp
 End of status
212 -rw-r--r--   1 1564466  15000        9859 Jan 19 19:56 adoptees.php

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

9ae8fce commented

. . . and here are the log drawer contents when first opening the connection:

220 fatcow FTP Server Ready
USER bowwow
331 Password required for bowwow
PASS ********
230 User bowwow logged in
FEAT
211-Features:
 SITE MKDIR
 MFF modify;UNIX.group;UNIX.mode;
 REST STREAM
 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
 UTF8
 LANG en-US*
 EPRT
 SITE SYMLINK
 EPSV
 SITE UTIME
 MDTM
 SITE RMDIR
 TVFS
 SITE COPY
 MFMT
 SIZE
211 End
OPTS UTF8 ON
200 UTF8 set to on
SYST
215 UNIX Type: L8
PWD
257 "/" is the current directory
STAT /cgi-bin
212-Status of /cgi-bin:
 drwxr-xr-x   3 1564466  15000           4 Jan 19 19:56 .
 drwxr-x---  13 1564466  15000          44 Jun 13 18:36 ..
 drwxr-xr-x   2 1564466  15000           2 May 25  2009 tmp
 End of status
212 -rw-r--r--   1 1564466  15000        9859 Jan 19 19:56 adoptees.php
NOOP
200 NOOP command successful
STAT /
212-Status of /:
 drwxr-x---  13 1564466  15000          44 Jun 13 18:36 .
 drwxr-x---  13 1564466  15000          44 Jun 13 18:36 ..
 drwxrwxr-x   2 99       15000           2 Jun 13 18:36 .trellix
 drwxr-xr-x   3 1564466  15000           4 Jan 19 19:56 cgi-bin
 drwxr-xr-x   2 1564466  15000           4 Jul 25  2011 css
 drwxr-xr-x   5 1564466  15000           5 Dec  5  2013 data1
 drwxr-xr-x   2 1564466  15000          10 Jul 13  2012 engine1
 drwxr-xr-x   3 1564466  15000           4 Jun 28  2012 ie6update
 drwxr-xr-x   3 1564466  15000         384 Jun 14 12:31 images
 drwxr-xr-x   2 1564466  15000          12 Oct 23  2011 js
 drwxr-xr-x   3 1564466  15000           3 Mar 22 22:20 old
 drwxr-xr-x   2 1564466  15000          27 May 20 23:13 pdf
 drwxr-xr-x   2 1564466  15000         914 Jun 16 04:35 stats
 End of status
212 -rwxr-xr-x   1 1564466  15000           3 May 25  2009 .membership

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

4f8c7fe commented

I had the same experience as gestler.

  • download and install snapshot build
  • set ftp.command.stat true
  • launch cyberduck
  • directory listing fails
  • close cyberduck
  • set ftp.command.stat false
  • launch cyberduck
  • directory listing works fine.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

9ae8fce commented

Could someone provide detailed instructions for changing the ftp.command.stat to "true"?

In response to the comment about accessing the site via a bookmark, I attempted that but still do not see the .php files.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

4f8c7fe commented

to set ftp.command.stat to false (which will make cyberduck list directories correctly) do the following:
quit cyberduck

launch terminal (in the utilities folder).

in the terminal window type the following:

defaults write ch.sudo.cyberduck ftp.command.stat false

hit enter.

launch cyberduck

that's it.

to set it to true, replace "false" with "true" and repeat.

you must relaunch cyberduck after doing this to see the effect.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

9ae8fce commented

Thanks. That resolved the issue for me.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

@dkocher commented

The root cause of this issue is the server sending a malformed reply that includes a terminated reply line in between.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

@dkocher commented

#8028 closed as duplicate.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 16, 2014

4f8c7fe commented

nice detective work!!

We can use the hidden default until FatCow gets its act together. Thanks!!!

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 17, 2014

37532e5 commented

The solutions presented so far are only temporary. Eventually, it goes back to incorrectly listing the directories. This is really frustrating.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 17, 2014

34df551 commented

if this prob is a result of some recent update, is there a version we can download thats 4.4.3 or less till the prob gets fixed

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 17, 2014

4f8c7fe commented

Superman -- what do you mean by temporary?? You say it goes back to incorretly listing directories, but I don't see that on my system.

Maybe you are working with a different web server? or have a somewhat different issue?

I am using FatCow and using cyberduck to ftp to/from a FatCow hosted website.
I have entered

  defaults write ch.sudo.cyberduck ftp.command.stat false

in a terminal window.
After doing that I have been able to use cyberduck without any problems with my website on FatCow.

I ask this because its important for the person working on the problem to know any details that might be different for each of us.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 17, 2014

@dkocher commented

#8029 closed as duplicate.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 17, 2014

@dkocher commented

Replying to [comment:26 blitzkrieg917]:

if this prob is a result of some recent update, is there a version we can download thats 4.4.3 or less till the prob gets fixed

Previous releases can be found on (http://cyberduck.io/changelog/).

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 17, 2014

@dkocher commented

#8030 closed as duplicate.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 17, 2014

@dkocher commented

#8033 closed as duplicate.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 18, 2014

@dkocher commented

Replying to [comment:25 Superman]:

The solutions presented so far are only temporary. Eventually, it goes back to incorrectly listing the directories. This is really frustrating.

That should not be the case if you disable the use of STAT.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 18, 2014

@dkocher commented

Give precedence to use MLSD if available as a workaround in a9dc5c4.

Loading

@cyberduck cyberduck closed this Jun 18, 2014
@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 18, 2014

34df551 commented

went back to using 4.4.2 and my directory looks and acts like it should

Loading

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants