Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

tres1k

Posts

5

Joined

Thu Aug 26, 2010 5:32 am

Read timed out while trying to close FileTransferInputStream

by tres1k » Thu Aug 26, 2010 5:43 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Read timed out while trying to close FileTransferInputSt

by support2 » Thu Aug 26, 2010 9:18 am

no avatar
User

tres1k

Posts

5

Joined

Thu Aug 26, 2010 5:32 am

by tres1k » Thu Aug 26, 2010 6:56 pm

no avatar
User

tres1k

Posts

5

Joined

Thu Aug 26, 2010 5:32 am

by tres1k » Thu Aug 26, 2010 7:26 pm

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Fri Aug 27, 2010 3:54 pm

no avatar
User

tres1k

Posts

5

Joined

Thu Aug 26, 2010 5:32 am

by tres1k » Mon Aug 30, 2010 5:56 pm

Sorry for answering so late, I was away for a few days. Downloading with FileZilla is working fine I'm using the latest free jar, 2.1.0 free.

The log for a transfer ist always like:

30.08.2010 09:32:24 date_small.EventListenerImpl replyReceived
INFO: Reply received: 220 ProFTPD 1.3.1 Server (*******) [127.0.0.1]
30.08.2010 09:32:24 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> USER sgate
30.08.2010 09:32:24 date_small.EventListenerImpl replyReceived
INFO: Reply received: 331 Password required for sgate
30.08.2010 09:32:24 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> PASS ********
30.08.2010 09:32:24 date_small.EventListenerImpl replyReceived
INFO: Reply received: 230 User sgate logged in
30.08.2010 09:32:24 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> TYPE I
30.08.2010 09:32:24 date_small.EventListenerImpl replyReceived
INFO: Reply received: 200 Type set to I
30.08.2010 09:32:24 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> CWD incoming/test/
30.08.2010 09:32:24 date_small.EventListenerImpl replyReceived
INFO: Reply received: 250 CWD command successful
30.08.2010 09:32:24 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> PASV
30.08.2010 09:32:24 date_small.EventListenerImpl replyReceived
INFO: Reply received: 227 Entering Passive Mode (127,0,0,1,234,139).
30.08.2010 09:32:24 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> RETR 4.pdf
30.08.2010 09:32:24 date_small.EventListenerImpl replyReceived
INFO: Reply received: 150 Opening BINARY mode data connection for 4.pdf (28946 bytes)
30.08.2010 09:32:24 date_small.EventListenerImpl bytesTransferred
INFO: Bytes transferred=28946
30.08.2010 09:35:24 date_small.EventListenerImpl replyReceived
INFO: Reply received: 226 Transfer complete
30.08.2010 09:35:24 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> QUIT
30.08.2010 09:35:24 date_small.EventListenerImpl replyReceived
INFO: Reply received: 221 Goodbye.

after the last Byte is transferred, it's needing excatly 3 minutes for recieving the 226 Transfer complete Message.

A Filezilla Log looks like:

Antwort: 250 CWD command successful
Befehl: TYPE I
Antwort: 200 Type set to I
Befehl: PASV
Antwort: 227 Entering Passive Mode (127,0,0,1,234,191).
Befehl: RETR 6.pdf
Antwort: 150 Opening BINARY mode data connection for 6.pdf (28945 bytes)
Antwort: 226 Transfer complete
Status: Dateitransfer erfolgreich, 28.945 Bytes in 1 Sekunde ?bertragen

no timecode here, but i'm only waiting about 5-10 secs after the data was transferred.

For both transfers i'm using a tunnel to the remote server and a Pfw on the ports 20,21, 60000 - 60100.
no avatar
User

tres1k

Posts

5

Joined

Thu Aug 26, 2010 5:32 am

by tres1k » Mon Aug 30, 2010 6:17 pm

Strange, this delay occurs only if the file i'm downloading is a PDF. With .rar or .txt files the downloas works quite nicely.

Log:

30.08.2010 10:15:07 date_small.EventListenerImpl replyReceived
INFO: Reply received: 220 ProFTPD 1.3.1 Server (*******) [127.0.0.1]
30.08.2010 10:15:07 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> USER sgate
30.08.2010 10:15:07 date_small.EventListenerImpl replyReceived
INFO: Reply received: 331 Password required for sgate
30.08.2010 10:15:07 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> PASS ********
30.08.2010 10:15:07 date_small.EventListenerImpl replyReceived
INFO: Reply received: 230 User sgate logged in
30.08.2010 10:15:07 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> TYPE I
30.08.2010 10:15:07 date_small.EventListenerImpl replyReceived
INFO: Reply received: 200 Type set to I
30.08.2010 10:15:07 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> CWD incoming/test/
30.08.2010 10:15:07 date_small.EventListenerImpl replyReceived
INFO: Reply received: 250 CWD command successful
30.08.2010 10:15:07 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> PASV
30.08.2010 10:15:07 date_small.EventListenerImpl replyReceived
INFO: Reply received: 227 Entering Passive Mode (127,0,0,1,234,187).
30.08.2010 10:15:07 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> RETR test.txt
30.08.2010 10:15:07 date_small.EventListenerImpl replyReceived
INFO: Reply received: 150 Opening BINARY mode data connection for test.txt (11 bytes)
30.08.2010 10:15:08 date_small.EventListenerImpl bytesTransferred
INFO: Bytes transferred=11
30.08.2010 10:15:08 date_small.EventListenerImpl replyReceived
INFO: Reply received: 226 Transfer complete
30.08.2010 10:15:08 date_small.EventListenerImpl commandSent
INFO: Command sent: ---> QUIT
30.08.2010 10:15:08 date_small.EventListenerImpl replyReceived
INFO: Reply received: 221 Goodbye.

No delay at all.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Tue Aug 31, 2010 9:13 pm

Now that is strange ... something weird with the server?

Who is online

Users browsing this forum: No registered users and 119 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron