PDA

View Full Version : wput не хочет upload'ить


rotor
11-05-2008, 14:42
Роутер WL-500g Premium. Прошивка 1.9.2.7-8. Нужно зааплоадить файл по ftp. Поставил себе wput:
ipkg install wput
Все без проблем поставилось.
Но при попытке upload'а на выходе получаем это:
[admin@(none) harddisk]$ wput -d hello.txt ftp://anonymous:anonymous@81.9.101.73
Added file `hello.txt' to queue.
Added URL `ftp://anonymous:anonymous@81.9.101.73' to queue.
processing queue:
File: `hello.txt'
URL : `ftp://anonymous:anonymous@81.9.101.73'
IP of `81.9.101.73' is `81.9.101.73'
PRE_GUESS: local_file: hello.txt
remote_path: remote_file: (0)
POST_GUESS: local_file: hello.txt
remote_path: remote_file: hello.txt
Searching for skip_entry ftp://anonymous:anonymous@81.9.101.73:21/
--16:21:22-- `hello.txt'
=> ftp://anonymous:xxxxx@81.9.101.73:21/hello.txt
starting again
Connecting to 81.9.101.73:21... c_sock: 5
initiating timeout connect (300)
[Operation now in progress]Closing socket 429ea0
failed!
Waiting 10 seconds... Connection ended. (0)
starting again
Connecting to 81.9.101.73:21... c_sock: 5
initiating timeout connect (300)
[Operation now in progress]Closing socket 429ea0
failed!
Waiting 10 seconds...
и т.д.
Виндовый ftp клиент с той же задачей без проблем справляется
C:\Documents and Settings\noname>ftp -A 81.9.101.73
Связь с 81.9.101.73.
220 FTP Server ready.
331 Anonymous login ok, send your complete email address as your password
230 User anonymous logged in.
Установлено анонимное соединение для noname@SER2
ftp> put c:\Hello.txt
200 PORT command successful
150 Opening ASCII mode data connection for Hello.txt
226 Transfer complete
ftp: 5 байт отправлено за 0,00 (сек) со скоростью 5000,00 (КБ/сек).
ftp> quit
221 Goodbye.
В чем может быть дело?

rotor
17-05-2008, 16:02
Так wput и не заработал, судя по тому, что здесь написано http://sourceforge.net/forum/forum.php?thread_id=1900388&forum_id=474270, это бага wput'а
Поставил curl, с ним полный порядок.

naves
18-05-2008, 17:07
такая же фигня.
начал пробовать lftp, но у него с некоторыми серверами косяк
---- Data connection established
---> ALLO 88
<--- 501 Not enough space, only 0 Bytes available in "/test"
---> STOR test.rrd
<--- 150 Opening BINARY mode data connection for test.rrd.
---- Closing data socket
<--- 452-Maximum disk quota limited to 2 000,00 MB
<--- 452-Used disk quota 17 592 186 044 413,83 MB, available 0,00 MB
<--- 452 Sorry, insufficient disk quota - receive file /test/test.rrd aborted.

а другими клиентами на сервер все заливает :(