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

not response after "PORT" #568

Open
idanless opened this issue Mar 15, 2022 · 1 comment
Open

not response after "PORT" #568

idanless opened this issue Mar 15, 2022 · 1 comment

Comments

@idanless
Copy link

we have GW try upload File to PYFTP
but i see we have a issue with "port request"

anyone have idea what to do to fix the issue?

issue:
image

work:
Screenshot 2022-03-15 110855

with the issue:
NFO:pyftpdlib: :57355-[] FTP session opened (connect)
DEBUG:pyftpdlib: :57355-[] -> 220 Nokia ER
DEBUG:pyftpdlib: :57355-[] <- USER NokiaER
DEBUG:pyftpdlib: :57355-[] -> 331 Username ok, send password.
DEBUG:pyftpdlib: :57355-[NokiaER] <- PASS ******
DEBUG:pyftpdlib: :57355-[NokiaER] -> 230 Login successful.
INFO:pyftpdlib: :57355-[NokiaER] USER 'NokiaER' logged in.
DEBUG:pyftpdlib: :57355-[NokiaER] <- TYPE I
DEBUG:pyftpdlib: :57355-[NokiaER] -> 200 Type set to: Binary.
DEBUG:pyftpdlib: :57355-[NokiaER] <- PORT 192,168,0,13,224,12

work fine
INFO:pyftpdlib:>>> starting FTP server on 0.0.0.0:21, pid=27393 <<<
INFO:pyftpdlib: :61165-[] FTP session opened (connect)
DEBUG:pyftpdlib: :61165-[] -> 220 Nokia ER
DEBUG:pyftpdlib: :61165-[] <- USER NokiaER
DEBUG:pyftpdlib: :61165-[] -> 331 Username ok, send password.
DEBUG:pyftpdlib: :61165-[NokiaER] <- PASS ******
DEBUG:pyftpdlib: :61165-[NokiaER] -> 230 Login successful.
INFO:pyftpdlib: :61165-[NokiaER] USER 'NokiaER' logged in.
DEBUG:pyftpdlib: :61165-[NokiaER] <- SYST
DEBUG:pyftpdlib: :61165-[NokiaER] -> 215 UNIX Type: L8
DEBUG:pyftpdlib: :61165-[NokiaER] <- FEAT
DEBUG:pyftpdlib: :61165-[NokiaER] -> 211 End FEAT.
DEBUG:pyftpdlib: :61165-[NokiaER] <- OPTS UTF8 ON
DEBUG:pyftpdlib: :61165-[NokiaER] -> 501 Invalid argument.
DEBUG:pyftpdlib: :61165-[NokiaER] <- PWD
DEBUG:pyftpdlib: :61165-[NokiaER] -> 257 "/home/engauto/pcap/NokiaER" is the current directory.
DEBUG:pyftpdlib: :61165-[NokiaER] <- CWD /home/engauto/pcap
DEBUG:pyftpdlib: :61165-[NokiaER] -> 250 "/home/engauto/pcap" is the current directory.
DEBUG:pyftpdlib: :61165-[NokiaER] <- PWD
DEBUG:pyftpdlib: :61165-[NokiaER] -> 257 "/home/engauto/pcap" is the current directory.
DEBUG:pyftpdlib: :61165-[NokiaER] <- TYPE A
DEBUG:pyftpdlib: :61165-[NokiaER] -> 200 Type set to: ASCII.
DEBUG:pyftpdlib: :61165-[NokiaER] <- PASV
DEBUG:pyftpdlib: :61165-[NokiaER] -> 227 Entering passive mode (10,0,60,16,158,17).
DEBUG:pyftpdlib: :61165-[NokiaER] <- MLSD
DEBUG:pyftpdlib: :61165-[NokiaER] -> 150 File status okay. About to open data connection.
DEBUG:pyftpdlib:[debug] call: close() (<pyftpdlib.handlers.PassiveDTP listening 10.0.60.16:40465 at 0x7fe05b7d9160>)
DEBUG:pyftpdlib:[debug] call: close() (<pyftpdlib.handlers.PassiveDTP 10.0.60.16:40465 at 0x7fe05b7d9160>)
DEBUG:pyftpdlib:[debug] starting transfer using send() (<DTPHandler(id=140601809470016, addr=' :61165', user='NokiaER')>)
DEBUG:pyftpdlib:[debug] call: close() (<DTPHandler(id=140601809470016, addr=' :61165', user='NokiaER')>)
DEBUG:pyftpdlib: :61165-[NokiaER] -> 226 Transfer complete.
DEBUG:pyftpdlib: :61165-[NokiaER] <- TYPE I
DEBUG:pyftpdlib: :61165-[NokiaER] -> 200 Type set to: Binary.

@W2Q3Q1
Copy link

W2Q3Q1 commented Apr 24, 2024

Hi,
I have met the same problem. Do you have any solutions?
Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants