English Amiga Board


Go Back   English Amiga Board > Support > support.OtherUAE

 
 
Thread Tools
Old 21 March 2011, 13:08   #1
DDNI
Targ Explorer
 
DDNI's Avatar
 
Join Date: Mar 2006
Location: Northern Ireland
Posts: 5,431
Send a message via ICQ to DDNI Send a message via MSN to DDNI
Wht can't I get a directory listing on my PC hosted FTP from my Amiga?

Hi all,

I have my A1200 connected to my PC Ethernet port via a wired PCMCIA card.
My PC accesses the net via a wireless card.
I use ICS to share the wireless internet connection with the Ethernet port

I can browse the web from the Amiga.
I can nearly connect to my FTP server (Filezilla Server) which is hosted on 192.168.1.66 port 21.

But when AmiTradecenter is connecting to the FTP server it cannot complete a directory listing. It seems to be trying, but it does not complete the list.

Filezilla output is this.

000005)21/03/2011 12:03:26 - (not logged in) (192.168.1.66)> Connected, sending welcome message...
(000005)21/03/2011 12:03:26 - (not logged in) (192.168.1.66)> 220-FileZilla Server version 0.9.37 beta
(000005)21/03/2011 12:03:26 - (not logged in) (192.168.1.66)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000005)21/03/2011 12:03:26 - (not logged in) (192.168.1.66)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000005)21/03/2011 12:03:26 - (not logged in) (192.168.1.66)> USER ddni
(000005)21/03/2011 12:03:26 - (not logged in) (192.168.1.66)> 331 Password required for ddni
(000005)21/03/2011 12:03:26 - (not logged in) (192.168.1.66)> PASS ****
(000005)21/03/2011 12:03:26 - ddni (192.168.1.66)> 230 Logged on
(000005)21/03/2011 12:03:26 - ddni (192.168.1.66)> CWD /
(000005)21/03/2011 12:03:26 - ddni (192.168.1.66)> 250 CWD successful. "/" is current directory.
(000005)21/03/2011 12:03:26 - ddni (192.168.1.66)> PWD
(000005)21/03/2011 12:03:26 - ddni (192.168.1.66)> 257 "/" is current directory.
(000005)21/03/2011 12:03:27 - ddni (192.168.1.66)> PORT 192,168,0,2,48,12
(000005)21/03/2011 12:03:27 - ddni (192.168.1.66)> 200 Port command successful
(000005)21/03/2011 12:03:27 - ddni (192.168.1.66)> LIST
(000005)21/03/2011 12:03:27 - ddni (192.168.1.66)> 150 Opening data channel for directory list.
(000005)21/03/2011 12:03:27 - ddni (192.168.1.66)> 226 Transfer OK


My sytem is setup like this.

Amiga
(miamiDX)
IP 192.168.0.2
Netmask 255.255.255.0
Gateway 192.168.0.1
DNS 192.168.1.254

PC Ethernet
IP 192.168.0.1
Netmask 255.255.255.0
GAteway 192.168.1.254

PC
IP 192.168.1.66
Netmask 255.255.255.0
Gateway 192.168.1.254

I have no third party firewalls running. Windows XP firewall is up, stopping it makes no difference.

I am on BT infinity.
DDNI is offline  
Old 21 March 2011, 23:31   #2
rare_j
Zone Friend
 
rare_j's Avatar
 
Join Date: Apr 2005
Location: London
Posts: 1,176
Your setup sounds ok. Do you get no list at all, or a partial list? Does the ftp client hang, or just do nothing? Is filezilla set up to mimic unix paths? Can you try another ftp client? How about something like amiftp or ncftp?
rare_j is offline  
Old 22 March 2011, 07:54   #3
DDNI
Targ Explorer
 
DDNI's Avatar
 
Join Date: Mar 2006
Location: Northern Ireland
Posts: 5,431
Send a message via ICQ to DDNI Send a message via MSN to DDNI
Hi, amiftp hangs when trying to create a listing.
DDNI is offline  
Old 22 March 2011, 10:09   #4
Doc Mindie
In deep Trouble
 
Join Date: Sep 2004
Location: Manchester, Made in Norway
Age: 51
Posts: 841
Tried a browser? use FTP://192.168.0.2:21 in iBrowse or whatever you use... worth a try

Check both active and passive connections on the Amiga FTP-client

Not sure why you're gateways and your DNS are different?
Doc Mindie is offline  
Old 22 March 2011, 11:39   #5
Mr B
Registered User
 
Join Date: Nov 2005
Location: Sweden
Posts: 749
Tried switching active / passive mode on the client? It shouldn't be the cause since it claims
Quote:
(000005)21/03/2011 12:03:27 - ddni (192.168.1.66)> PORT 192,168,0,2,48,12
(000005)21/03/2011 12:03:27 - ddni (192.168.1.66)> 200 Port command successful
But just to make sure.
The next option i would look at is that you simply haven't set up FileZilla right. Try 127.0.0.1 as "target" on the host system (PC) and see what you get there when you try to connect to the FTP. If there is a misconfiguration with the virtual filesystem you should get the same as you get on the Amiga, if not, then it's a connectivity issue.
B!
Mr B is offline  
Old 23 March 2011, 13:18   #6
vk3heg
Registered User
 
vk3heg's Avatar
 
Join Date: Oct 2008
Location: Australia
Age: 55
Posts: 222
Quote:
Originally Posted by DDNI View Post

I have my A1200 connected to my PC Ethernet port via a wired PCMCIA card.

Amiga
(miamiDX)
IP 192.168.0.2
Netmask 255.255.255.0
Gateway 192.168.0.1
DNS 192.168.1.254

PC Ethernet
IP 192.168.0.1
Netmask 255.255.255.0
GAteway 192.168.1.254
Your using a cross over cable between the pc and Amiga?

If so then don't have a gateway setup on either, plus you have two different gateway ip's set.

When using a cross over cable or even just a hub with two pc's you don't need to set a gateway, as the two are on the same network (subnet).
vk3heg is offline  
Old 23 March 2011, 14:10   #7
Zetr0
Ya' like it Retr0?
 
Zetr0's Avatar
 
Join Date: Jul 2005
Location: United Kingdom
Age: 49
Posts: 9,768
@DDNI

my friend, just try logging into the FTP host on the PC with another PC, say a laptop or something.

I had a similar issue with an XBox and the File server a few weeks back, to fix the problem I just updated the FTP host on the File server.

Since both the host and client are connecting, this is likely to be a software setup issue rather than a connection issue.


although saying that, is it possible that your router might be dropping some types of data packets?, I would be surprised as this is an internal network, but just double check =)
Zetr0 is offline  
Old 23 March 2011, 14:34   #8
DDNI
Targ Explorer
 
DDNI's Avatar
 
Join Date: Mar 2006
Location: Northern Ireland
Posts: 5,431
Send a message via ICQ to DDNI Send a message via MSN to DDNI
Hi all, many thanks for the replies.

Using Aweb to browse to my ftp results in the same issue, the directory is not listed.

I am using a cross over cable.
Removing the gateway on the amiga side results in my Amiga web access being lost and no improvement with FTP

Filezilla displays my FTP as being on 127.0.0.1
I had been telling Amitradecenter to connect to 192.168.1.66. I decided to try 192.168.0.1. It sees the FTP on both of these ip addresses but still cannot creat the listing (this is with and without a gateway listed)

I tried a normal non cross over cable but that resulted in no connection at all.

I am stumped!

@zetr0 I just tried connecting to my FTP from my PC using firefox. It connected but did not give a directory listing. Using filezilla client to connect results in the same issue. There must be a problem with filezilla server settings..


@TCD post thief

Tried a different FTP server (xlight) I still get an empty listing.

Last edited by DDNI; 23 March 2011 at 15:11. Reason: Back-to-back posts merged. Use the edit function.
DDNI is offline  
Old 23 March 2011, 18:11   #9
cosmicfrog
The 1 who ribbits
 
cosmicfrog's Avatar
 
Join Date: Apr 2006
Location: leek, Staffs, UK
Age: 56
Posts: 3,557
Send a message via MSN to cosmicfrog
Amiga (miamiDX)
IP 192.168.0.2
Netmask 255.255.255.0
Gateway 192.168.0.1
DNS 192.168.1.254

these are on 2 diffrent networks
try setting DNS to 192.168.0.1

hope it works for you
cosmicfrog is offline  
Old 23 March 2011, 18:18   #10
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
Quote:
Originally Posted by cosmicfrog View Post
Amiga (miamiDX)
IP 192.168.0.2
Netmask 255.255.255.0
Gateway 192.168.0.1
DNS 192.168.1.254

these are on 2 diffrent networks
try setting DNS to 192.168.0.1

hope it works for you

The DNS is not involved in retrieving a directory listing from an already connected FTP server. DNS query is only done once during connect to get the IP address for a name. Once the IP address is known, the DNS is no longer used. So this cannot be the solution.

More than that, your tip is not right, because the PC is not running a name server, so using 192.168.0.1 as a DNS cannot work. Using the real DNS as DNS address is right, even if it's on a seperate network. Your ISP's DNS is not on your private network, either, but it works nevertheless.

As another PC cannot retrieve a directory listing from the FTP server, too, it clearly points towards a mistake in the FTP server configuration.
thomas is offline  
Old 23 March 2011, 18:59   #11
DDNI
Targ Explorer
 
DDNI's Avatar
 
Join Date: Mar 2006
Location: Northern Ireland
Posts: 5,431
Send a message via ICQ to DDNI Send a message via MSN to DDNI
I "think" that I have fixed it....

I changed the DNS server in MiamiDX database to 192.168.0.1
So far so good, I can get a directory listing
DDNI is offline  
Old 23 March 2011, 19:23   #12
Mr B
Registered User
 
Join Date: Nov 2005
Location: Sweden
Posts: 749
Quote:
Originally Posted by DDNI View Post
@zetr0 I just tried connecting to my FTP from my PC using firefox. It connected but did not give a directory listing. Using filezilla client to connect results in the same issue. There must be a problem with filezilla server settings..
This would point in the direction of a configuration issue, usually with the virtual filesystem Filezilla uses. But it doesn't fit with:
Quote:
Originally Posted by DDNI View Post
I "think" that I have fixed it....

I changed the DNS server in MiamiDX database to 192.168.0.1
So far so good, I can get a directory listing
Best of luck, keep us updated ;- )
B!
Mr B is offline  
Old 23 March 2011, 23:04   #13
cosmicfrog
The 1 who ribbits
 
cosmicfrog's Avatar
 
Join Date: Apr 2006
Location: leek, Staffs, UK
Age: 56
Posts: 3,557
Send a message via MSN to cosmicfrog
I see where you are comeing from thomas I think, blood net works heheheh
but 192.168.xxx.xxx are all local nets I know that at least
cosmicfrog is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Applications Directory disappeared from ftp.magix.ws videofx project.Amiga File Server 1 21 January 2013 19:38
Recursive Directory Listing atrionfo support.Other 4 01 July 2009 22:58
Amiga sites hosted on EmuUnlim MethodGit Amiga scene 7 19 May 2009 03:04
back2roots ftp 2000 listing limit rockersuke support.Other 0 19 February 2007 18:54
CD listing of Amiga CD's lopos2000 Amiga scene 2 25 November 2005 23:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:09.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09643 seconds with 15 queries