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 |
08-05-2013, 05:17 AM
|
#1
|
Junior Member
Join Date: Aug 2013
Posts: 5
|
PORT / PASV strange matter
Dear all,
We hare facing a very annoying trouble since several monthes.
We have more than 10 folders in IIS Root. Only on one of them, we have this strange problem :
> PORT downloads fail.
> PASV uploads fail.
We are obliged to, each time, change the type of connection between upload and download actions.
I've stopped searching the cause because we planned a server migration. But after having changed the machine, upgraded from IIS 6 to IIS 8, the problem remains, on the same and only folder !!!
Do you have any idea for the origin of this problem ?
Many thankds
FXP Version : 4.4.0 (build 1991), but same problem with older releases. Registered Version.
Win Server 2012 AND 2003, IIS 8 AND 6 respectively.
Client machines in W7.
Last edited by iguypouf; 08-07-2013 at 03:06 AM.
Reason: Requirements
|
|
|
08-06-2013, 10:32 PM
|
#2
|
Super Duper
FlashFXP Beta Tester
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
|
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
|
|
|
08-07-2013, 04:09 AM
|
#3
|
Senior Member
FlashFXP Beta Tester
Join Date: Feb 2006
Location: location, location.
Posts: 324
|
Welcome to forums
Post a time-stamped session log for Flashfxp as requested please
__________________
Regards
|
|
|
08-07-2013, 04:21 AM
|
#4
|
Junior Member
Join Date: Aug 2013
Posts: 5
|
What do you mean ?
A session log when I receive failure ?
|
|
|
08-07-2013, 10:52 AM
|
#5
|
Junior Member
Join Date: Aug 2013
Posts: 5
|
OK
1. Trying to download in active mode :
Quote:
FlashFXP 4.4.0 (build 1991)
Support Forums http://forum.flashfxp.com
Winsock 2.2 -- OpenSSL 1.0.1e 11 Feb 2013
[R] Connexion à X.X.X.X
[R] Connecté à X.X.X.X
[R] 220 Microsoft FTP Service
[R] USER XXX
[R] 331 Password required
[R] PASS (hidden)
[R] 230 User logged in.
[R] SYST
[R] 215 Windows_NT
[R] FEAT
[R] 211-Extended features supported:
[R] LANG EN*
[R] UTF8
[R] AUTH TLS;TLS-C;SSL;TLS-P;
[R] PBSZ
[R] PROT C;P;
[R] CCC
[R] HOST
[R] SIZE
[R] MDTM
[R] REST STREAM
[R] 211 END
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] À l'écoute sur le PORT : 16817, En attente de connexion.
[R] PORT 192,168,0,25,65,177
[R] 200 PORT command successful.
[R] LIST -al
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
[R] Liste terminée: 1 KB dans 0,10 seconde (1,4 KB/s)
[R] CWD Management
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/Management" is current directory.
[R] À l'écoute sur le PORT : 16818, En attente de connexion.
[R] PORT 192,168,0,25,65,178
[R] 200 PORT command successful.
[R] LIST -al
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
[R] Liste terminée: 1 KB dans 0,05 seconde (1,3 KB/s)
[R] Calcul du décalage horaire du serveur...
[R] MDTM 500-100.asp
[R] 213 20060602130135
[R] Les décalages de fuseau horaire : Server : 7200 secondes. Local : 7200 secondes. Différence : 0 secondes.
[R] CWD Scheduled
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/Management/Scheduled" is current directory.
[R] À l'écoute sur le PORT : 16819, En attente de connexion.
[R] PORT 192,168,0,25,65,179
[R] 200 PORT command successful.
[R] LIST -al
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
[R] Liste terminée: 1 KB dans 0,05 seconde (1,3 KB/s)
[R] SIZE BkReminder.asp
[R] 213 7357
[R] MDTM BkReminder.asp
[R] 213 20130807091219
[R] PORT 192,168,0,25,65,184
[R] 200 PORT command successful.
[R] RETR BkReminder.asp
[R] 125 Data connection already open; Transfer starting.
[R] 550 The specified network name is no longer available.
[R] Échec du transfert: BkReminder.asp
Transfert de la file d'attente terminé
Transferé 0 Fichiers (0 bytes) dans 1 seconde (0,0 KB/s)
1 Fichier Échec
[R] SIZE BkRemindsSched.asp
[R] 213 2433
[R] MDTM BkRemindsSched.asp
[R] 213 20130801195909
[R] PORT 192,168,0,25,65,186
[R] 200 PORT command successful.
[R] RETR BkRemindsSched.asp
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
Télécharger: BkRemindsSched.asp 2 KB dans 0,04 seconde (2,4 KB/s)
Transfert de la file d'attente terminé
Transferé 1 Fichier (2 KB) dans 1 seconde (1,6 KB/s)
|
The two files are in the same directory; same owner, same properties, etc.
The download makes without problem in passive mode.
2. Trying to upload in passive mode :
Quote:
FlashFXP 4.4.0 (build 1991)
Support Forums http://forum.flashfxp.com
Winsock 2.2 -- OpenSSL 1.0.1e 11 Feb 2013
[R] Connexion à X.X.X.X
[R] Connecté à X.X.X.X
[R] 220 Microsoft FTP Service
[R] USER XXX
[R] 331 Password required
[R] PASS (hidden)
[R] 230 User logged in.
[R] SYST
[R] 215 Windows_NT
[R] FEAT
[R] 211-Extended features supported:
[R] LANG EN*
[R] UTF8
[R] AUTH TLS;TLS-C;SSL;TLS-P;
[R] PBSZ
[R] PROT C;P;
[R] CCC
[R] HOST
[R] SIZE
[R] MDTM
[R] REST STREAM
[R] 211 END
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] PASV
[R] 227 Entering Passive Mode (X,X,X,X,204,232).
[R] Ouverture d'une connexion de données IP : X.X.X.X PORT : 52456
[R] LIST -al
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
[R] Liste terminée: 1 KB dans 0,12 seconde (1,4 KB/s)
[R] CWD Management
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/Management" is current directory.
[R] PASV
[R] 227 Entering Passive Mode (X,X,X,X,204,233).
[R] Ouverture d'une connexion de données IP : X.X.X.X PORT : 52457
[R] LIST -al
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
[R] Liste terminée: 1 KB dans 0,07 seconde (1,3 KB/s)
[R] Calcul du décalage horaire du serveur...
[R] MDTM 500-100.asp
[R] 213 20060602130135
[R] Les décalages de fuseau horaire : Server : 7200 secondes. Local : 7200 secondes. Différence : 0 secondes.
[R] CWD Scheduled
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/Management/Scheduled" is current directory.
[R] PASV
[R] 227 Entering Passive Mode (X,X,X,X,204,234).
[R] Ouverture d'une connexion de données IP : X.X.X.X PORT : 52458
[R] LIST -al
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
[R] Liste terminée: 1 KB dans 0,07 seconde (1,3 KB/s)
[R] SIZE BkReminder.asp
[R] 213 7357
[R] MDTM BkReminder.asp
[R] 213 20130807091219
[R] PASV
[R] 227 Entering Passive Mode (X,X,X,X,204,235).
[R] Ouverture d'une connexion de données IP : X.X.X.X PORT : 52459
[R] STOR BkReminder.asp
[R] 125 Data connection already open; Transfer starting.
[R] 550 The specified network name is no longer available.
[R] Échec du transfert: BkReminder.asp (7 KB de 7 KB) dans 0,03 seconde (7,2 KB/s)
[R] PASV
[R] 227 Entering Passive Mode (X,X,X,X,204,236).
[R] Ouverture d'une connexion de données IP : X.X.X.X PORT : 52460
[R] LIST -al
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
[R] Liste terminée: 1 KB dans 0,07 seconde (1,3 KB/s)
Transfert de la file d'attente terminé
Transferé 0 Fichiers (0 bytes) dans 1 seconde (0,0 KB/s)
1 Fichier Échec
[R] SIZE BkRemindsSched.asp
[R] 213 2433
[R] MDTM BkRemindsSched.asp
[R] 213 20130801195909
[R] PASV
[R] 227 Entering Passive Mode (X,X,X,X,204,237).
[R] Ouverture d'une connexion de données IP : X.X.X.X PORT : 52461
[R] STOR BkRemindsSched.asp
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
Envoyer: BkRemindsSched.asp 2 KB dans 0,03 seconde (2,4 KB/s)
[R] MDTM 20130801195908 /Management/Scheduled/BkRemindsSched.asp
[R] 213 20130801195908
[R] PASV
[R] 227 Entering Passive Mode (X,X,X,X,204,238).
[R] Ouverture d'une connexion de données IP : X.X.X.X PORT : 52462
[R] LIST -al
[R] 125 Data connection already open; Transfer starting.
[R] 226 Transfer complete.
[R] Liste terminée: 1 KB dans 0,07 seconde (1,3 KB/s)
Transfert de la file d'attente terminé
Transferé 1 Fichier (2 KB) dans 1 seconde (1,7 KB/s)
|
Same remarks.
Upload in active mode makes without any problem.
Uuuuuuuuuuuu : |
Last edited by iguypouf; 08-08-2013 at 04:25 AM.
|
|
|
08-09-2013, 04:39 AM
|
#6
|
Junior Member
Join Date: Aug 2013
Posts: 5
|
When I try to upload in PASV mode, it seems that the upload stops after exactly 1.400 bytes.
I don't if it could help.
|
|
|
08-14-2013, 09:44 PM
|
#7
|
Junior Member
FlashFXP Beta Tester
Join Date: Jan 2010
Posts: 25
|
Is this a problem that happens on any ftp client or only specifically FlashFXP?
|
|
|
08-15-2013, 03:35 AM
|
#8
|
Senior Member
FlashFXP Beta Tester
Join Date: Feb 2006
Location: location, location.
Posts: 324
|
It is not a FlashFXP problem (its not a problem) some FTP servers are configured in active (PORT) mode because its more secure.
This mean that you need to set ACTIVE mode per site for this to work properly.
The servers you are trying to connect DO NOT accept passive connections (need reconfigurations) passive mode is also less secure.
- Make sure your site is in site manager, if it is not put it in.
- Select site in site manager
- See example setting site to PORT screenshot.
Done and "problem" should be gone.
For future reference, FlashFXP has two passvive mode/Active mode settings, one setting is global (which affects all sites) the other setting is per site.
Per Site settings override global settings and allow extra configuration, for special cases such as this.
Global settings are accessed via F6
Per site settings are accessed via F4 > select site > change settings> click apply
enjoy.
__________________
Regards
Last edited by X3; 08-15-2013 at 03:41 AM.
|
|
|
08-15-2013, 04:31 AM
|
#9
|
Junior Member
FlashFXP Beta Tester
Join Date: Jan 2010
Posts: 25
|
You missed the point here, what i was asking to the reporter was if this situation only happen with client FlashFXP when connecting to the server or if it happens also with other clients. Ex: Filezzila
Exactly because what you've written, the "problem" will happen with any client if the case, what means it's the server config.
Last edited by hggomes; 08-15-2013 at 04:37 AM.
|
|
|
08-15-2013, 05:06 AM
|
#10
|
Senior Member
FlashFXP Beta Tester
Join Date: Feb 2006
Location: location, location.
Posts: 324
|
I understood, however intention was to provide a reply/information why this happens and also provided information on how to correct the configuration.
For future reference.
By default FlashFXP is configured ( globally) for passive connections as below screenshot. It may be required to add a port range and IP for active mode transfers, depending on Server Configuration.
This may not work as desired with FTP servers which are only accepting connections in active mode (PORT) this is also why I provided info on how to change per-site so as not to affect all other existing sites. Global Settings should be handled with care.
@hggomes
Some clients may indeed handle this automatically and thus it may be transparent to users, so it may help or not to test another client.
Filezilla for by default e.g. allows automatically fallback to other transfer mode on failure, and that in some peoples minds, is immediately a BUG with FlashFXP, when really its not.
Perhaps FlashFXP could handle this in a more transparent manner. but Ill leave that for a feature request if anyone wants to make one.
@iguypouf
Please upgrade to latest build of flashfxp 4.4.0 build 1995 https://oss.azurewebsites.net/download
If any of the above has no effect, you may want to look at server configuration, Ive read somewhere you need to add some ports to the server config, but I have no experience with IIS. please see http://technet.microsoft.com/en-GB/library/hh831655 steps
Maybe thers some information there which could help double check configurations.
If your sure its not server configuration perhaps more information is required by bigstar. Ill poke him.
It may be helpful to know what your configuration is for this site and any global settings, in that case bigstar may ask for your flashfxp.ini by private msg only or direct email... do not post your flashfxp.ini on forums.
Your flashfxp logs are not time stamped. please make your logs timestamped it will help determine server response times delays etc.
Also server side logs may have other clews why this is failing....
__________________
Regards
Last edited by X3; 08-15-2013 at 06:21 AM.
|
|
|
08-15-2013, 09:25 AM
|
#11
|
FlashFXP Developer
FlashFXP Administrator ioFTPD Beta Tester
Join Date: Oct 2001
Posts: 8,012
|
Could the error be related to this? http://support.microsoft.com/kb/961293
If not perhaps its a very similar issue.
|
|
|
08-19-2013, 06:27 AM
|
#12
|
Junior Member
Join Date: Aug 2013
Posts: 5
|
Hello all,
Thanks for your help BUT :
If my server was configured to disallow active / passive connections, I could'nt be able to transfer some files, and not some others.
I remember you that two files on the same folder on the same disk, one is transfered, one not...
I've just made the update and the problem still happens.
@Bigstar : of course, this is not a FlashFXP problem, I've the same with FileZilla, but I don't know where I can find FTP experts to find my problem...
@X3 : do you need the same logs timestamped ?
Thanks for you help.
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:10 AM.
|