Seite 1 von 1

Problem uploading data with mirrorupdater

Verfasst: 29 Dez 2006, 12:46
von bucko
I'm having trouble uploading my tv-data to my webserver. After starting mirrorupdater it comes with the 'dataTarget-port not set message' (not a problem, I know), then it doesn't give any feedback at all for about a minute, then the rest of the messages pop up.
I can upload files with any ftp client fine so what's the problem here? I also tried a few other webservers, but the output is allways the same.

Output (not here cause the forum thinks it contains an URL).

Verfasst: 29 Dez 2006, 12:53
von bucko
hmm, it still won't let me post URL's :?

Verfasst: 29 Dez 2006, 13:02
von ds10
You should be able to post the output now. You have to post 10 times before you're allowed to post urls, it's simply a spam blocking mod of the forum.

no dice

Verfasst: 29 Dez 2006, 13:07
von bucko
That's why I dubbel posted :wink:
but it still won't let me....

Verfasst: 29 Dez 2006, 13:39
von ds10
Ok, please send the output per mail.

Verfasst: 29 Dez 2006, 14:14
von bucko
It works! :)

output (finally):

Code: Alles auswählen

MirrorUpdater for TV-Browser v0.2
FINE: Property 'dataTarget.port' not set. Using 21
FINE: Connected to ftp.geensen.com:21
FINE: Changed to directory httpdocs/tv
INFO: In total there were 0 files checked and 0 bytes read.
FINE: Disconnected from ftp.geensen.com
INFO: In total there were 0 bytes written.
primarydatamanager.mirrorupdater.UpdateException: Getting file list failed
        at primarydatamanager.mirrorupdater.data.FtpDataTarget.listFiles(FtpDataTarget.java:167)
        at primarydatamanager.mirrorupdater.MirrorUpdater.updateMirror(MirrorUpdater.java:91)
        at primarydatamanager.mirrorupdater.MirrorUpdater.main(MirrorUpdater.java:435)
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
        at java.io.FilterInputStream.read(FilterInputStream.java:66)
        at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
        at org.apache.commons.net.io.FromNetASCIIInputStream.__read(FromNetASCIIInputStream.java:114)
        at org.apache.commons.net.io.FromNetASCIIInputStream.read(FromNetASCIIInputStream.java:209)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
        at org.apache.commons.net.telnet.TelnetInputStream.__read(TelnetInputStream.java:133)
        at org.apache.commons.net.telnet.TelnetInputStream.run(TelnetInputStream.java:407)
        at java.lang.Thread.run(Thread.java:613)

Verfasst: 29 Dez 2006, 18:33
von ds10
Mh, you simply get a timeout exception. The ftp-client is not able to receive the list of files in the current directory on the server. I don't know what's the cause of it.

Verfasst: 31 Dez 2006, 14:20
von bucko
I work around the problem now by using mirrorupdater locally and manually uploading my data to the server. This works fine for the example data extracted by SimplePDS.

Thanks for your time.