ftpd::Session method EPRT (protected)

 <instance of ftpd::Session[i]> EPRT arg

Defined in

This method depends on "ns_connchan opensocket", which is not implemented yet.

Parameters:
arg (required)

Testcases:
No testcase defined.
Source code:
if {![regexp {^[|]([^|]+)[|]([^|]+)[|]([^|]+)[|]$} $arg . proto host port]} {
    :reply "501 Bad Argument"
    :log warning "EPRT -> bad arg"
} else {
    :log debug "EPRT: call open to host <$host> port <$port>"
    #set :data [ns_connchan opensocket $host $port]
    :log debug "EPRT: listen on fresh port $port DONE"
    :reply "200 Command OK"
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: