Project: aptanastudio
Issue APSTUD-4252: Studio infers wrong remote path after using both "Go Into" and having FTP time out
You can reproduce this if you do the following steps. # Connect to an FTP server and work remotely. # Select a sub folder and use the "go into" function. # Now wait a little bit and let the ftp connection timeout. # After that do something again--Save a file or refresh a filter. Now Aptana tries to enter every file as it's a directory. You don't even have to double click a file, just selecting it in the file tree makes aptana to try to enter the file as a folder. {quote} 421 Timeout - try typing a little faster next time ---------- RECONNECTING - FTP xxxxxxxxxxxxxxxxxxxx ---------- 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 3 of 60 allowed. 220-Local time is now 14:34. Server port: 21. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity. ftp> USER xxxxxx 331 User xxxxxx OK. Password required ftp> PASS ******** 230-User web49u1 has group access to: web49 230 OK. Current restricted directory is / ftp> PWD 257 "/" is your current location ftp> CWD /htdocs 250 OK. Current directory is /htdocs ftp> TYPE I 200 TYPE is now 8-bit binary ftp> NOOP 200 Zzz... ftp> TYPE I 200 TYPE is now 8-bit binary ftp> CWD /htdocs/system/functions.php 550 Can't change directory to /htdocs/system/functions.php: Not a directory ftp> PWD 257 "/htdocs" is your current location ftp> PASV 227 Entering Passive Mode (188,40,92,46,50,116) ftp> LIST . 150 Accepted data connection 226-Options: -a -l 226 14 matches total ftp> CWD /htdocs/system/functions.php 550 Can't change directory to /htdocs/system/functions.php: Not a directory ftp> PWD 257 "/htdocs" is your current location ftp> PASV 227 Entering Passive Mode (188,40,92,46,22,183) ftp> LIST . 150 Accepted data connection 226-Options: -a -l 226 14 matches total ftp> CWD /htdocs/system/initialize.php 550 Can't change directory to /htdocs/system/initialize.php: Not a directory {quote} Here you have some FTP logs. Greetings Leo
Story points: 8