Роутер WL-500g Premium. Прошивка 1.9.2.7-8. Нужно зааплоадить файл по ftp. Поставил себе wput:
Code:
ipkg install wput
Все без проблем поставилось.
Но при попытке upload'а на выходе получаем это:
Code:
[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 клиент с той же задачей без проблем справляется
Code:
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.
В чем может быть дело?