I'd agree with Sai,

 So ftpserver is being deployed on Amazon services? :-)

 Tell your user to check their connection settings or firewall ... can
they connect with a regular ftp client?


2009/5/12 Sai Pullabhotla <[email protected]>:
> It does not appear to be the issue of SITE UMASK command. Various FTP
> clients send various commands as part of initial login. I'm assuming that
> the UMASK comand is supported by some ftp servers to indicate the
> permissions to set on the files uploaded. In your case, the FTP client
> marked it as a warning and continued on. Since it got stuck on the PASV, it
> probably has something to do with the network settings on your client's
> side, such as firewall does not allow connection on the received PASV port
> etc.
>
> Sai Pullabhotla
> www.jMethods.com
>
>
>
> On Mon, May 11, 2009 at 6:28 PM, Dan <[email protected]> wrote:
>
>> We have a user that is having trouble uploading a file. Is there something
>> about the SITE UMASK command that could be causing the failures? He is
>> using
>> Evocam (a webcam program) that should be able to upload files to an FTP
>> server. When he tries he can login but then it just immediately fails after
>> opening the passive data connection as the log below shows.
>>
>> Any ideas? Both logs are below
>>
>> Thanks,
>>
>> Dan
>>
>> EVOCAM LOG:
>> -----------
>> //
>> // EvoCam 3.6.4 Transcript
>> //
>>
>> * Preparing to upload file to <ftp://ftp.hostedftp.com/webcam.jpg>
>> * Opening connection to <ftp.hostedftp.com>
>> * Connection established
>> * Opening FTP session
>>
>> > 220 Service ready for new user.
>>
>> < USER [email protected]
>> > 331 User name okay, need password for [email protected].
>>
>> < PASS ********
>> > 230 User logged in, proceed.
>>
>> < SITE UMASK 022
>> > 502 Command SITE not implemented for UMASK.
>>
>> < PWD
>> > 257 "/" is current directory.
>>
>> < TYPE I
>> > 200 Command TYPE okay.
>>
>> < PASV
>> > 227 Entering Passive Mode (174,129,220,134,4,176)
>>
>>
>>
>> FTP SERVER LOG:
>> ---------------
>> INFO: Login success - [email protected] May 11, 2009 5:38:49 AM
>> org.apache.mina.filter.logging.LoggingFilter log
>> WARNING: SENT: 230 User logged in, proceed.^M
>>
>> May 11, 2009 5:38:49 AM org.apache.ftpserver.listener.nio.FtpLoggingFilter
>> messageReceived
>> INFO: RECEIVED: SITE UMASK 022
>> May 11, 2009 5:38:49 AM org.apache.mina.filter.logging.LoggingFilter log
>> WARNING: SENT: 502 Command SITE not implemented for UMASK.^M
>>
>> May 11, 2009 5:38:49 AM org.apache.ftpserver.listener.nio.FtpLoggingFilter
>> messageReceived
>> INFO: RECEIVED: PWD
>> May 11, 2009 5:38:49 AM org.apache.mina.filter.logging.LoggingFilter log
>> WARNING: SENT: 257 "/" is current directory.^M
>>
>> May 11, 2009 5:38:49 AM org.apache.ftpserver.listener.nio.FtpLoggingFilter
>> messageReceived
>> INFO: RECEIVED: TYPE I
>> May 11, 2009 5:38:49 AM org.apache.mina.filter.logging.LoggingFilter log
>> WARNING: SENT: 200 Command TYPE okay.^M
>>
>> May 11, 2009 5:38:49 AM org.apache.ftpserver.listener.nio.FtpLoggingFilter
>> messageReceived
>> INFO: RECEIVED: PASV
>> May 11, 2009 5:38:49 AM org.apache.ftpserver.impl.IODataConnectionFactory
>> initPassiveDataConnection
>> FINE: Initiating passive data connection May 11, 2009 5:38:49 AM
>> org.apache.ftpserver.impl.IODataConnectionFactory initPassiveDataConnection
>> FINE: Opening passive data connection on address "/10.250.17.188" and port
>> 1200 May 11, 2009 5:38:49 AM
>> org.apache.ftpserver.impl.IODataConnectionFactory initPassiveDataConnection
>> FINE: Passive data connection created on address "/10.250.17.188" and port
>> 1200 May 11, 2009 5:38:49 AM org.apache.mina.filter.logging.LoggingFilter
>> log
>> WARNING: SENT: 227 Entering Passive Mode (174,129,220,134,4,176)^M
>>
>> May 11, 2009 5:40:49 AM org.apache.mina.filter.logging.LoggingFilter log
>> WARNING: CLOSED
>> May 11, 2009 5:40:49 AM org.apache.ftpserver.impl.DefaultFtpHandler
>> sessionClosed
>> FINE: Closing session
>> May 11, 2009 5:40:49 AM org.apache.ftpserver.impl.DefaultFtpHandler
>> sessionClosed
>> FINE: Statistics login and connection count decreased due to session close
>> May 11, 2009 5:40:49 AM org.apache.ftpserver.impl.DefaultFtpHandler
>> sessionClosed
>> FINE: Session closed
>>
>>
>

Reply via email to