jochen-jung / phpcodeedit

PHP Code Editor is a web based interface to edit your code.
http://edit.orgapage.de/
5 stars 1 forks source link

FTP not reading server #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My FTP does not expand to show server listing.  Site requires passive mode and 
I believe the editor does not use passive mode.

Original issue reported on code.google.com by yoyo.p...@gmail.com on 2 Mar 2011 at 6:35

GoogleCodeExporter commented 9 years ago
I'm experansing the same issue.

When also when I drag and drop a file from "My Files" to my FTP server then 
open the file from the FTP server I get the following error (as the text of the 
file)

<br />
Warning:  ftp_connect() [<a 
href='function.ftp-connect'>function.ftp-connect</a>]: 
php_network_getaddresses: getaddrinfo failed: Name or service not known in 
/kunden/116316_67705/orgapage/edit/htdocs/ftp-get-file.php on line 17<br />
<br />
Warning:  ftp_login() expects parameter 1 to be resource, boolean given in 
/kunden/116316_67705/orgapage/edit/htdocs/ftp-get-file.php on line 18<br />
FTP connection has failed 
!​​​​​​​​​​​​​​​​​​​​​​​​​​�
��​​​​​​​​​​​​​​​​​​​​​​​​​​
​​​​​​​​​​​​​​​​​​​​​​​​​​��
�​​​​​​​​​​​​​​​​​​​​​​​​​​�
��​​​

I'm not sure if this is suggesting my FTP server name is incorrect (the same 
credencals work on a different cloud based IDE so it shouldn't (unless I can't 
copy n paste which is always an option) 

Either way this is a bit leaky as it shows the internal structure of your 
server and so you may want to fix this from a security POV.

Scott

Original comment by Scott.A....@googlemail.com on 25 Mar 2011 at 1:22

GoogleCodeExporter commented 9 years ago
to clarifier the issue,

as per the attached screenshot shows, the FTP server is hanging off the menu, 
but none of the files are showing.

I wonder if the issue may be down to my shared hosting forcing FTP user names 
to be in the format name@domain and that's confusing your FTP library.

Original comment by Scott.A....@googlemail.com on 25 Mar 2011 at 1:28

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I am having the same issue. see the main folder, click on it and after waiting 
a few seconds, no files are shown

Original comment by robert%g...@gtempaccount.com on 7 Jun 2011 at 5:35