
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
15.06.2007, 10:01:03
|
|||
|---|---|---|---|
посоветуйте FTP клиента для вызова из скрипта (+) |
|||
|
#18+
добрый день, уважаемые. Посоветуйте пожалуйста FTP клиента со следующими требованиями: маленький может автоматически посылать файл командами из пакетного файла или с ком.строки возвращает статус операции. хороший набор параметров (например пробовать отослать файл несколько раз итп) Для чего это надо: на VBscript пишется отправка файла на FTP, пишется это вызовом внешней утилиты. Штатная утилита FTP из windows - может работать в авторежиме, но результат никакой не возвращает, соответственно скрипт и не узнает - был передан файл или нет. Спасибо. ЗЫ Приму также другие советы по реализации, даже кусок кода vbs, в котором самописно реализована отправка на FTP (например через wininet) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
15.06.2007, 11:16:15
|
|||
|---|---|---|---|
|
|||
посоветуйте FTP клиента для вызова из скрипта (+) |
|||
|
#18+
начал использовать wget для Windows - впечатления очень сильные, рекомендую. cmd.exeC:\>wget --help GNU Wget 1.5.3.1, a non-interactive network retriever. Usage: wget [OPTION]... ... Mandatory arguments to long options are mandatory for short options too. Startup: -V, --version display the version of Wget and exit. -h, --help print this help. -b, --background go to background after startup. -e, --execute=COMMAND execute a `.wgetrc' command. Logging and input file: -o, --output-file=FILE log messages to FILE. -a, --append-output=FILE append messages to FILE. -d, --debug print debug output. -q, --quiet quiet (no output). -v, --verbose be verbose (this is the default). -nv, --non-verbose turn off verboseness, without being quiet. -i, --input-file=FILE read URL-s from file. -F, --force-html treat input file as HTML. Download: -t, --tries=NUMBER set number of retries to NUMBER (0 unlimits). -O --output-document=FILE write documents to FILE. -nc, --no-clobber don't clobber existing files. -c, --continue restart getting an existing file. --dot-style=STYLE set retrieval display style. -N, --timestamping don't retrieve files if older than local. -S, --server-response print server response. --spider don't download anything. -T, --timeout=SECONDS set the read timeout to SECONDS. -w, --wait=SECONDS wait SECONDS between retrievals. -Y, --proxy=on/off turn proxy on or off. -Q, --quota=NUMBER set retrieval quota to NUMBER. Directories: -nd --no-directories don't create directories. -x, --force-directories force creation of directories. -nH, --no-host-directories don't create host directories. -P, --directory-prefix=PREFIX save files to PREFIX/... --cut-dirs=NUMBER ignore NUMBER remote directory components. HTTP options: --http-user=USER set http user to USER. --http-passwd=PASS set http password to PASS. -C, --cache=on/off (dis)allow server-cached data (normally allowed) --ignore-length ignore `Content-Length' header field. --header=STRING insert STRING among the headers. --proxy-user=USER set USER as proxy username. --proxy-passwd=PASS set PASS as proxy password. -s, --save-headers save the HTTP headers to file. -U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION. FTP options: --retr-symlinks retrieve FTP symbolic links. -g, --glob=on/off turn file name globbing on or off. --passive-ftp use the "passive" transfer mode. Recursive retrieval: -r, --recursive recursive web-suck -- use with care!. -l, --level=NUMBER maximum recursion depth (0 to unlimit). --delete-after delete downloaded files. -k, --convert-links convert non-relative links to relative. -m, --mirror turn on options suitable for mirroring. -nr, --dont-remove-listing don't remove `.listing' files. Recursive accept/reject: -A, --accept=LIST list of accepted extensions. -R, --reject=LIST list of rejected extensions. -D, --domains=LIST list of accepted domains. --exclude-domains=LIST comma-separated list of rejected domains. -L, --relative follow relative links only. --follow-ftp follow FTP links from HTML documents. -H, --span-hosts go to foreign hosts when recursive. -I, --include-directories=LIST list of allowed directories. -X, --exclude-directories=LIST list of excluded directories. -nh, --no-host-lookup don't DNS-lookup hosts. -np, --no-parent don't ascend to the parent directory. Mail bug reports and suggestions to <bug-wget@gnu.org>. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
15.06.2007, 11:17:48
|
|||
|---|---|---|---|
|
|||
посоветуйте FTP клиента для вызова из скрипта (+) |
|||
|
#18+
а, близ извиняюсь, вам же закачка нужна :( надо подумать ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
15.06.2007, 11:26:01
|
|||
|---|---|---|---|
|
|||
посоветуйте FTP клиента для вызова из скрипта (+) |
|||
|
#18+
посмотрите еще wput и curl - тоже портированные утилиты unix cmd.exeC:\>wput --help Usage: wput [options] [file]... ... url ftp://[username[:password]@]hostname[:port][/[path/][file]] Startup: -V, --version Display the version of wput and exit. -h, --help Print this help-screen Logging and input file: -o, --output-file=FILE log messages to FILE -a, --append-output=FILE append log messages to FILE -q, --quiet quiet (no output) -v, --verbose be verbose -d, --debug debug output -nv, --less-verbose be less verbose -i, --input-file=FILE read the URLs from FILE -s, --sort sorts all input URLs by server-ip and path --basename=PATH snip PATH off each file when appendig to an URL -I, --input-pipe=COMMAND take the output of COMMAND as data-source -R, --remove-source-files unlink files upon successful upload Upload: --bind-address=ADDR bind to ADDR (hostname or IP) on local host -t, --tries=NUMBER set retry count to NUMBER (-1 means infinite) -nc, --dont-continue do not resume partially-uploaded files -u, --reupload do not skip already completed files --skip-larger do not upload files if remote size is larger --skip-existing do not upload files that exist remotely -N, --timestamping don't re-upload files unless newer than remote -T, --timeout=10th-SECONDS set various timeouts to 10th-SECONDS -w, --wait=10th-SECONDS wait 10th-SECONDS between uploads. (default: 0) --random-wait wait from 0...2*WAIT secs between uploads. --waitretry=SECONDS wait SECONDS between retries of an upload -l, --limit-rate=RATE limit upload rate to RATE -nd, --no-directories do not create any directories -Y, --proxy=http/socks/off set proxy type or turn off --proxy-user=NAME set the proxy-username to NAME --proxy-pass=PASS set the proxy-password to PASS FTP-Options: -p, --port-mode no-passive, turn on port mode ftp (def. pasv) -A, --ascii force ASCII mode-transfer -B, --binary force BINARY mode-transfer --force-tls force the useage of TLS See wput(1) for more detailed descriptions of the options. Report bugs and suggestions via SourceForge at http://sourceforge.net/tracker/?group_id=141519 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
15.06.2007, 11:29:58
|
|||
|---|---|---|---|
посоветуйте FTP клиента для вызова из скрипта (+) |
|||
|
#18+
ок, спасибо, посмотрю. ссылку на них кинете? или лучше самому погуглить? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=26&tablet=1&tid=1507124]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
55ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
37ms |
get tp. blocked users: |
1ms |
| others: | 210ms |
| total: | 345ms |

| 0 / 0 |
