+
1 5 5
  1. #1
    Evgesha_572       Evgesha_572
    25.01.2009
    49
    ()
    0
    : 0 (: 0).

     FTP-

    !
    *.rar ( C:\Temp\.rar)
    FTP- ( Gene6 FTP Server 3.10.0 Build 2), .
    ( *.bat), , FTP-.
    *.bat ?

  2. #2
    Arkan       Arkan
    13.10.2006
    bezopasnik.org
    3,112
    ()
    0
    : 0 (: 0).

  3. #3
    Evgesha_572       Evgesha_572
    25.01.2009
    49
    ()
    0
    : 0 (: 0).

    Arkan
    1. ftp.bat

    @echo off
    ftp -n -s:C:\Temp\ftp_Vol.4_Inteleca\ftp_cmd.txt "IP FTP - "

    2. ftp_cmd.txt

    USER price
    PASS price
    bin
    cd /price
    put C:\Temp\price.rar
    quit


    - ftp.exe
    , -

    The FAR manager, version 1.70 (build 2087)
    Copyright 1996-2000 Eugene Roshal, Copyright 2000-2006 FAR Group
    ,
    C:\Temp\ftp_Vol.4_Inteleca>ftp.bat
    "IP FTP - "
    220 Gene6 FTP Server v3.10.0 (Build 2) ready...
    ftp> USER price
    331 Password required for price.

    530 Login or Password incorrect.
    .
    ftp> bin
    530 Please login with USER and PASS first.
    ftp> cd /price
    530 Please login with USER and PASS first.
    ftp> put C:\Temp\price.rar
    ftp> quit
    221 Goodbye.

    ?

  4. #4
    Arkan       Arkan
    13.10.2006
    bezopasnik.org
    3,112
    ()
    0
    : 0 (: 0).

  5. #5
    Evgesha_572       Evgesha_572
    25.01.2009
    49
    ()
    0
    : 0 (: 0).



    -
    @echo off
    ftp -s:ftp_cmd.txt -n

    ftp_cmd.txt
    open 10.10.10.10
    USER price price
    binary
    quote PASV
    send C:\Windows\Temp\Price\price.rar
    quit

    -

    C:\Temp\ftp_Vol.10_fexclub.net>ftp_cmd.bat
    ftp> open 10.10.10.10
    10.10.10.10.
    220 Gene6 FTP Server v3.10.0 (Build 2) ready...
    ftp> USER price price
    331 Password required for price.
    230 User price logged in.
    ftp> binary
    200 Type set to I.
    ftp> quote PASV
    227 Entering Passive Mode (10,10,10,10,254,105)
    ftp> send C:\Windows\Temp\Price\price.rar
    200 Port command successful.
    150 Opening data connection for price.rar
    226 File received ok.
    ftp: 1211467 32,45 () 37,33 (/).
    ftp> quit
    221 Goodbye.