Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 03-12-2022, 01:36 PM   #1
Lansend
Junior Member
 
Join Date: Mar 2022
Posts: 4
Default active mode

I have a Windows 2019 server with FileZilla FTP server in Active mode.
I can connect in Active mode using the FileZilla client and Windows Explorer in active mode & get a directory listing
I cannot get a directory listing with FlashFXP client, I believe I have followed all available instructions but no luck.
425 Can't open data connection for transfer of /
I am the server admin and do not need to FTP , the designer uses FlashFXP and needs to connect via FTP.
So I downloaded the trial to see what it takes to connect using FlashFXP

I have attached the logs from the FileZilla FTP server , as it shows both clients reaching the server. I can upload session logs too if required.
Please note with the FlashFXP client I tried both LIST & MLSD
I can make changes on the server except use Passive mode
Any help afforded would be greatly appreciated
Attached Files
File Type: zip fzs-2022-03-12 .zip (2.0 KB, 1 views)
Lansend is offline  
Old 03-16-2022, 05:03 PM   #2
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

When ftp client is in passive mode(sends PASV command), it asks ftp server for IP:PORT to which to connect for data connection.
When ftp client is in active mode it sends PORT command which tells ftp server to which IP:PORT it should try to connect for data connection.


Unless a user has a smart enough router that monitors and understand FTP connection's commands, or if FTP encryption is in play, they need to manually go into their router's configuration and manually forward a range of ports which would be used for FTP data connections. Then they also need to configure FlashFXP or any other FTP client to use that port range.


To save users the hassle of doing all that, server admins who are generally more savvy configure necessary things on their end and tell their clients to just use PASV mode.


Alternatively, switch to SSH/SFTP protocol which is both, encrypted and doesn't need any extra open ports to work. FlashFXP supports this as well.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 03-16-2022, 10:11 PM   #3
Lansend
Junior Member
 
Join Date: Mar 2022
Posts: 4
Default Active mode

MxxCon , Thank you for your response.
As I indicated , I can connect in Active mode using the FileZilla client and Windows Explorer.
I have access to many other networks and could connect in Active mode using the FileZilla client and Windows Explorer.
Moreover I have many other servers with FTP in Active mode only and have not had any issues with FileZilla client and Windows Explorer.
Typically on routers /Firewalls , we configure outbound to be any any.
I have not had to NAT or forward port 22 to a specific IP.
It is my understanding that once an internal IP connects to an external IP ( regardless of protocol). Stickiness on the routers /Firewall kicks in and all traffic on any port is routed from that external IP address to the initiating internal IP address.

I dare say that this is some config issue in FlashXP
Will look into SSH/SFTP

Thank you
Lansend is offline  
Old 03-17-2022, 10:42 PM   #4
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

Port 22 is SSH port and I'm not sure what you mean by not having to NAT it.

FTP protocol uses 2 of ports. One port for control connection, often tcp/21, and another port for the data connection

You'd need to post session logs from both clients to see what they are doing different that doesn't work.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 03-18-2022, 10:14 AM   #5
Lansend
Junior Member
 
Join Date: Mar 2022
Posts: 4
Default

Thanks MxxCon , we typically use 22 as the data port , active mode. If I am not mistaken , this has been default.
Lansend is offline  
Old 03-19-2022, 11:55 PM   #6
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

As far as I know that has never been a default port for that since 22 has always been SSH port.
On some clients and servers OUTGOING connection ORIGINATES on port 20. But that's a separate thing.


Data connection ports are usually on ranges above 1024 to allow unprivileged server user to create connections. Additionally, it's usually more than just a single port, but a range to support multiple user connections or simultaneous transfers.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 03-20-2022, 06:46 PM   #7
Lansend
Junior Member
 
Join Date: Mar 2022
Posts: 4
Default

I stand corrected. The outgoing port 20 is open
Lansend is offline  
Closed Thread

Tags
flashfxp, ftp, mode, server, upload

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 -5. The time now is 07:23 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)