If you type debug before the put/get you can see the ipaddress & port
number. The port number is the last 2 'bytes' given, multiply one by 256 &
add the other. Now on each system try netstat option 3 & find the open port.
On the ftpclient system you should find its in a listening state & on the
server it should be trying to open.
I have had exactly the same problem with my windows pc to the 400 quite
recently. I originally thought it could be some change in the firewalls,
particularly the one on my pc, however I found the port numbers just didnt
match. Some other ftp software client worked fine on the pc so the ftp.exe
is bust. Cant see any way to refresh it from windows install/remove.
Also try the pasv command before you start any operations. This sets a
different port usage scheme.
HTH
--
Jonathan
that 1 guy
I had that problem about 6 months ago.
Try from another PC, if it works from there, then it is your PC that
is the issue. The only real way to resolve this is to do a reload of
your system. You MIGHT be able to fix it by running a repair
installation of windows, but I doubt that will fix it.
Good luck.
Never used filezilla. from windows ftp command after signing on:
ftp> debug
Debugging On .
ftp> ls
---> PORT 192,168,1,181,16,74
200 PORT subcommand request successful.
---> NLST
& nothing else
16*256+74=4170
then in another cmd box:
C:\>netstat -a
Active Connections
Proto Local Address Foreign Address State
TCP localhost:4166 10.1.16.100:ftp ESTABLISHED
TCP localhost:4168 10.1.16.100:ftp ESTABLISHED
TCP localhost:4170 localhost:0 LISTENING
on the target as400
netstat
take option 3
subset by remote ip address:
Remote Remote Local
Opt Address Port Port Idle Time State
172.16.67.140 3902 telnet 000:00:02 Established
172.16.67.140 4168 ftp-data 000:00:31 SYN-sent
172.16.67.140 4168 ftp-con > 000:05:13 Established
172.16.67.140 4175 telnet 000:00:00 Established
So the as400 has decided to contact my pc on 4168 when the pc has told it to
use port 4170!
Does filezilla have a passive option? MS FTP dosnt.
--
Jonathan
--
Jonathan
On Mon, 12 Oct 2009 13:56:36 +0100, "jonathan bailey"
<jonatha...@tesco.net> wrote:
>Does filezilla have a passive option? MS FTP dosnt.
Yes. I'm running an older version, so the options may have moved ...
Global: Edit > Settings... > Firewall settings > Set the Passive Mode
option.
Site-specifc: Bring up the configuration for the site > Advanced >
Passive transfer mode settings
Personally I set the global option to passive and allow all sites to
default to Use default, then set any sites to Active if needed.
--
Ken
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.
Make sure that you do not have an auxiliary storage problem.
Run WRKSYSSTS and check "% system ASP used".
Giovanni
> but when I use commands such as DIR or GET
> or PUT, the command window displays message "200 PORT subcommand
> request successful" and then it freezes.
The FTP PORT command means that the data-transfer (the directory
listing, the up- or downloaded data) should be done by initiating
a connection from the FTP-server to the client. This is known
as active mode in FTP.
So if this freezes (and don't immediately come back with an
error) that means, that a firewall is dropping (instead of
rejecting them leading to a clear error-message) the packets
for this.
So check the firewall-settings on the Window-box, of an
intermediate firewall or your AS/400 box if there are rules
that prevent the data-transfer.
Alternatively change from active to passive mode where the
data-connection is established by the client.
> I have no problems using FTP
> with the remote AS/400 and I did not change anything on my local AS/
> 400. Thanks in advance for all responses.
So most likely it's the Windows-box where a new firewall is
installed or an existing one was losing the rules for allowing
the operation of a FTP server.
Regards, Lothar
--
Lothar Kimmeringer E-Mail: spam...@kimmeringer.de
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)
Always remember: The answer is forty-two, there can only be wrong
questions!
> Does filezilla have a passive option? MS FTP dosnt.
MS FTP does. It just isn't obvious about it.
When using ftp through Internet Explorer and wanting PASV try:
http://tinyurl.com/cvw8f or
http://compnetworking.about.com/cs/novellgroupwise/ht/setpassiveftpie.htm
When using command-line ftp.exe try:
http://edi.stylusstudio.com/msg08284.htm
They both work for me on W2K with IE6. They may be easier to find or
more obvious in newer installations. I don't have newer Windows --
all upgrades go a Linux route.
--
Tom Liotta
http://zap.to/tl400
I left off this link:
http://support.microsoft.com/kb/323446
I didn't find an 'official' link for ftp.exe, but it might be
obvious from reading the technique how it might work.
ftp.exe on XP sp3 dosnt have a pasv command listed in help - or a hidden one
which works. I'm hoping to get less ms & more of something else but things
arent looking good-I'm firmly in the .net office in our company now. :(
--
Jonathan
>> I didn't find an 'official' link for ftp.exe, but it might be obvious from
>> reading the technique how it might work.
>
> ftp.exe on XP sp3 dosnt have a pasv command listed in help - or a hidden one
> which works. I'm hoping to get less ms & more of something else but things
> arent looking good-I'm firmly in the .net office in our company now. :(
Jonathan:
As I noted in my first reply...
> When using command-line ftp.exe try:
>
> http://edi.stylusstudio.com/msg08284.htm
...ftp.exe does allow the LITERAL subcommand to pass a literal value
that can be "PASV" and it works when I try it. I just couldn't find
an 'official' Microsoft document that talks about it.
As I understand it, LITERAL simply sends whatever you want as if it
was a ftp subcommand. Since PASV is valid, it should work if it's
been implemented in the server. And if it's not implemented, it's
not going to work no matter what.
OK I admit I didnt get to your last like as I read IE6 & assumed the worst!
I get
ftp> LITERAL PASV
---> PASV
227 Entering Passive Mode (192,168,5,12,12,46).
ftp> ls
---> PORT 192,168,1,181,11,235
200 PORT command successful.
---> NLST
150 Opening ASCII mode data connection for file list.
11*256+235=3051(unless ms calc is broken)
netstat gives
TCP 192.168.1.181:3051 0.0.0.0:0 LISTENING
which implies its not in passive mode at all.
Also
ftp> help literal
literal Send arbitrary ftp command
so you can set the target to be in passive mode but I dont think ftp.exe
really understands pasv at all. I think my version is broken in some way in
any case.
I'm not too bothered. I have another ftp client which works OK. Its just
there dosnt seem to be a method of fixing it. You cant just re-install an
rpm.
--
Jonathan
Thanks a lot to all folks who took part in this thread - I learned a
lot!
Thomas