method
puttextfile
v2_4_6 -
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.