Topic: FlashFXP disconnects on download attempt

FlashFXP connects fine, navigates around, and uploads with no issue.  However, the second I try to download anything, it disconnects.  Here's what I see in the logs:

2009-07-14 19:31:32 [30602]New client [username] from [68-28-104-239.pools.spc
sdns.n]
2009-07-14 19:36:33 [30601][username][68-28-104-239.pools.spcsdns.n]Connection
 time out
2009-07-14 19:36:33 [30601][username][68-28-104-239.pools.spcsdns.n]Quit.
2009-07-14 19:36:36 [30602][username][68-28-104-239.pools.spcsdns.n]Connection
 time out
2009-07-14 19:36:36 [30602][username][68-28-104-239.pools.spcsdns.n]Quit.

Here's what my sftp_config file contains:

## MySecureShell Configuration File ##
#Default rules for everybody
<Default>
        GlobalDownload          0       #total speed download for all clients
                                        # o -> bytes   k -> kilo bytes   m -> mega bytes
        GlobalUpload            0       #total speed download for all clients (0 for unlimited)
        Download                0       #limit speed download for each connection
        Upload                  0       #unlimit speed upload for each connection
        StayAtHome              true    #limit client to his home
        VirtualChroot           true    #fake a chroot to the home account
        LimitConnection         20      #max connection for the server sftp
        LimitConnectionByUser   5       #max connection for the account
        LimitConnectionByIP     5       #max connection by ip for the account
        Home                    /www/$USER.com/     #overrite home of the user but if you want you can use
                                                #       environment variable (ie: Home /home/$USER)
        IdleTimeOut             300     #(in second) deconnect client is idle too long time
        ResolveIP               true    #resolve ip to dns
#       IgnoreHidden            true    #treat all hidden files as if they don't exist
#       DirFakeUser             true    #Hide real file/directory owner (just change displayed permissions)
#       DirFakeGroup            true    #Hide real file/directory group (just change displayed permissions)
#       DirFakeMode             0400    #Hide real file/directory rights (just change displayed permissions)
                                        #Add execution right for directory if read right is set
#       HideFiles               "^(lost\+found|public_html)$"   #Hide file/directory which match
                                                                #this extented POSIX regex
        HideNoAccess            true    #Hide file/directory which user has no access
#       MaxOpenFilesForUser     20      #limit user to open x files on same time
#       MaxWriteFilesForUser    10      #limit user to x upload on same time
#       MaxReadFilesForUser     10      #limit user to x download on same time
        DefaultRights                   0664 0775       #Set default rights for new file and new directory

#       PathDenyFilter          "^\."   #deny upload of directory/file which match this extented POSIX regex

        ShowLinksAsLinks        false   #show links as their destinations
#       ConnectionMaxLife       1d      #limits connection lifetime to 1 day

        Charset                 "ISO-8859-15"   #set charset of computer
#       GMTTime                 +1      #set GMT Time (change if necessary)
</Default>

Any ideas?

Re: FlashFXP disconnects on download attempt

Hi,

Just for a test, could you tell us what happens if you comment the line containing IdleTimeOut.

Thanks

Re: FlashFXP disconnects on download attempt

Removing that had no impact.

Re: FlashFXP disconnects on download attempt

Can you execute this command under your user:

MySecureShell -v -v -v --configtest

And past the result, thanks smile

Re: FlashFXP disconnects on download attempt

- Parse config file: /etc/ssh/sftp_config -
--- seanr ---
GlobalDownload        = 0 bytes/s
GlobalUpload          = 0 bytes/s
Download              = 0 bytes/s
Upload                = 0 bytes/s
StayAtHome            = true
VirtualChroot         = true
LimitConnection       = 20
LimitConnectionByUser = 5
LimitConnectionByIP   = 5
Home                  = /www/seanr.com
ResolveIP             = true
HideNoAccess          = true
ShowLinksAsLinks      = false
SftpProtocol          = {default}
LogFile               = {default}
Charset               = ISO-8859-15
CanRemoveDir          = true
CanRemoveFile         = true
CanChangeRights       = true
CanChangeTime         = true
MinimumRights         = 0000 0000
DefaultRights         = 0664 0775
Config is valid.

Re: FlashFXP disconnects on download attempt

This configuration doesn't show any timeout... your client should work correcty hmm

After modify configuration of MySecureShell, you have to reconnect your sftp client.