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 06-13-2014, 05:01 AM   #1
TheDoctorII
Junior Member
 
Join Date: Jun 2014
Posts: 4
Default Transfert failed - Unable to change data channel protection to clear

Hi,

So, first of all, basic informations :

FlashFXP 4.4.4 (build 2046) . Unregistered (trial version, planning on buying if it works )
OS : Windows 7 64 bits
FTP 1 : Dedicated server, FTP 2 : SYnology NAS behind a Freebox V6 (french ISP), W7 client : behind a arkoon firewall (or Freebox v6, depending on where I try to transfert the files)
W7 client runs a trend micro client/server antivirus (the other one has avast and the windows firewall)
Connection : FTP 1 : symetric opical fibre, FTP 2 : ADSL 10 mbps, W7 client : ADSL 10 mbps (or 5)

FTP 1 running on Debian 7 with ProFTPD, standalone mod (with allowforeignaddress on)
FTP 2 running on a synology NAS, FXP enabled and passive and FTP port rerouted through the Freebox

So, my issue is the following :

I'm unable to perform a file transfer.
I successfully connect the 2 FTP, but when it comes to tranfer the files, it doesn't work, though directory are created anyway.

Here is the log (sorry, i set language to english, but some of it is in french. If you can translate, just ask )
Quote:
[11:58:14] [L] TYPE I
[11:58:14] [L] 200 Type set to I.
[11:58:14] [L] SIZE Frank Herbert - Dune -1- Dune.epub
[11:58:15] [L] 550 Frank Herbert - Dune -1- Dune.epub: No such file or directory.
[11:58:15] [L] PROT C
[11:58:15] [L] 200 Protection level set to Clear.
[11:58:15] Unable to change data channel protection to clear.
[11:58:15] [L] Transfer Failed: /Téléchargements/Frank Herbert - Dune -1- Dune.epub
[11:58:15] [L] TYPE A
[11:58:15] [L] 200 Type set to A.
[11:58:15] [L] PROT P
[11:58:15] [L] 200 Protection level set to Private.
[11:58:15] [L] PASV
[11:58:15] [L] 227 Entering Passive Mode (192,168,0,10,216,243)
[11:58:15] [L] Opening data connection IP: x.x.x.x PORT: 55539
[11:58:15] [L] LIST -al
[11:58:15] [L] Connected. Negotiating SSL/TLS session
[11:58:15] [L] SSLv3 negotiation successful...
[11:58:15] [L] SSLv3 encrypted session using cipher AES256-SHA (256 bits)
[11:58:15] [L] 150 Opening ASCII mode SSL data connection for 'file list'.
[11:58:15] [L] 226 Transfer complete.
[11:58:15] [L] List Complete: 137 bytes in 0,38 second (0,1 KB/s)
[11:58:15] [R] PASV
[11:58:15] [R] 227 Entering Passive Mode (x,x,x,x,217,231).
[11:58:15] [R] Opening data connection IP: x.x.x.x PORT: 55783
[11:58:15] [R] MLSD
[11:58:15] [R] Connected. Negotiating SSL/TLS session
[11:58:15] [R] SSLv3 negotiation successful...
[11:58:15] [R] SSLv3 encrypted session using cipher DHE-RSA-AES256-SHA (256 bits)
[11:58:15] [R] 150 Ouverture d'une connexion de données en mode ASCII pour MLSD
[11:58:15] [R] 226 Téléchargement terminé
[11:58:15] [R] List Complete: 2 KB in 0,23 second (2,9 KB/s)
[11:58:15] Transfer queue completed
[11:58:15] Transferred 0 Files (0 bytes) in 0,79 second (0,0 KB/s)

Well, if you can (or try to) help me, thanks in advance


Best regards, TheDoctor

Last edited by TheDoctorII; 06-18-2014 at 03:00 AM.
TheDoctorII is offline  
Old 06-13-2014, 06:54 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

It looks like the reason for the failure is this line here

[11:58:15] Unable to change data channel protection to clear.

For SSL FXP transfers you need ProFTPD 1.3.5rc4 or newer.

To transfer the files without SSL both servers need to allow changing data channel to clear (unencrypted).
bigstar is offline  
Old 06-13-2014, 07:26 AM   #3
TheDoctorII
Junior Member
 
Join Date: Jun 2014
Posts: 4
Default

Quote:
Originally Posted by bigstar View Post
It looks like the reason for the failure is this line here

[11:58:15] Unable to change data channel protection to clear.

For SSL FXP transfers you need ProFTPD 1.3.5rc4 or newer.

To transfer the files without SSL both servers need to allow changing data channel to clear (unencrypted).
Ok, thanks. I'm on 1.3.4a-5. Il will update and get back to you

BTW, I wish to keep the encryption.

Thanks a lot.
TheDoctorII is offline  
Old 06-18-2014, 02:59 AM   #4
TheDoctorII
Junior Member
 
Join Date: Jun 2014
Posts: 4
Default

Hello again Time for an update !

So, still having trouble, but not the same.

Indeed, I tried to update my version of ProFTPd via the sources (since I'm using Deb7, I do not have the latest version on the reps), but I got some errors trying to do it (and with the modules when reinstalling), and I spent a large amount of time trying to fix it, without success.

So, I deinstalled ProFTPd and installed Pure-FTPd 1.0.36-1.1(a lot easier, by the way).
Both FTPs use Explicit TLS and work fine (and Pure-FTPd is said to support FXP, and specifically FlashFXP).

But when it comes to files transfer, the connection with the dedicated server (PureFTPD) times out after 1 minute (exactly), leaving only a 0 kB file on the NAS instead of the full files.

Here's the log :
Quote:
[09:46:02] [L] TYPE I
[09:46:02] [L] 200 Type set to I.
[09:46:02] [L] SIZE 03. C2C - Someday.flac
[09:46:02] [L] 550 03. C2C - Someday.flac: No such file or directory.
[09:46:02] [L] PROT C
[09:46:02] [L] 200 Protection level set to Clear.
[09:46:02] [R] PROT C
[09:46:02] [R] 200 Data protection level set to "clear"
[09:46:02] [R] TYPE I
[09:46:02] [R] 200 TYPE is now 8-bit binary
[09:46:02] [R] PASV
[09:46:02] [R] 227 Entering Passive Mode (x,x,x,x,17,225)
[09:46:02] [L] PORT x,x,x,x,17,225
[09:46:02] [L] 200 PORT command successful.
[09:46:02] [L] STOR 03. C2C - Someday.flac
[09:46:02] [L] 150 Opening BINARY mode data connection for '03. C2C - Someday.flac'.
[09:46:02] [R] RETR 03. C2C - Someday.flac
[09:47:02] [R] Transfer Failed: 03. C2C - Someday.flac
[09:47:02] [R] Connection lost: Smell of napalm (Duration: 1 minute 12 seconds / Idle: 1 minute 0 second)
[09:47:02] [L] 226 Transfer complete.
[09:47:02] [L] TYPE A
[09:47:02] Transferred 0 Files (0 bytes) in 1 minute 0 second (0,0 KB/s)
[09:47:02] 1 File Failed
[09:47:03] [L] 200 Type set to A.
[09:47:03] [L] PROT P
[09:47:03] [L] 200 Protection level set to Private.
[09:47:03] [L] PASV
[09:47:03] [L] 227 Entering Passive Mode (192,168,0,10,216,241)
[09:47:03] [L] Opening data connection IP: x.x.x.x PORT: 55537
[09:47:03] [L] LIST -al
[09:47:03] [L] Connected. Negotiating SSL/TLS session
[09:47:03] [L] SSLv3 negotiation successful...
[09:47:03] [L] SSLv3 encrypted session using cipher AES256-SHA (256 bits)
[09:47:03] [L] 150 Opening ASCII mode SSL data connection for 'file list'.
[09:47:03] [L] 226 Transfer complete.
[09:47:03] [L] List Complete: 1*021 bytes in 0,36 second (1,0 KB/s)
[09:47:03] Transfer queue completed
[09:47:03] Transferred 0 Files (0 bytes) in 1 minute 0 second (0,0 KB/s)
[09:47:03] 1 File Failed


PS : Pardon my english, I'm French


Best regards,
TheDoctor
TheDoctorII is offline  
Old 06-26-2014, 01:30 AM   #5
TheDoctorII
Junior Member
 
Join Date: Jun 2014
Posts: 4
Default

Up Sorry if you were just busy.
TheDoctorII is offline  
Closed Thread

Tags
failed transfer, flashfxp, ftp, fxp, fxp transfer, [115815]

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 08:48 PM.

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