Sha256: c30eb18f0f5865c49160972e8487ecfd91e72198a858c30601faae080c37df73

Contents?: true

Size: 294 Bytes

Versions: 13

Compression:

Stored size: 294 Bytes

Contents

Connecting to an FTP server:

    ftp = ftp_connect('ftp.osuosl.org')
    # => #<Net::FTP:...>
    ftp.chdir('/pub')
    puts ftp.list

Or create a temporary FTP session that automatically closes:

    ftp_connect('ftp.osuosl.org') do |ftp|
      ftp.chdir('/pub')
      puts ftp.list
    end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ronin-2.1.0 data/tips/scripting/ftp_connect.txt
ronin-2.1.0.rc1 data/tips/scripting/ftp_connect.txt
ronin-2.0.5 data/tips/scripting/ftp_connect.txt
ronin-2.0.4 data/tips/scripting/ftp_connect.txt
ronin-2.0.3 data/tips/scripting/ftp_connect.txt
ronin-2.0.2 data/tips/scripting/ftp_connect.txt
ronin-2.0.1 data/tips/scripting/ftp_connect.txt
ronin-2.0.0 data/tips/scripting/ftp_connect.txt
ronin-2.0.0.beta5 data/tips/scripting/ftp_connect.txt
ronin-2.0.0.beta4 data/tips/scripting/ftp_connect.txt
ronin-2.0.0.beta3 data/tips/scripting/ftp_connect.txt
ronin-2.0.0.beta2 data/tips/scripting/ftp_connect.txt
ronin-2.0.0.beta1 data/tips/scripting/ftp_connect.txt