method

puttextfile

v1_9_3_392 - Show latest stable - Class: Net::FTP
puttextfile(localfile, remotefile = File.basename(localfile))
public

Transfers localfile to the server in ASCII (text) mode, storing the result in remotefile. If callback or an associated block is supplied, calls it, passing in the transmitted data one line at a time.