Skip to content

frankf-cgn/net-ftp-putstring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

net-ftp-putstring

Allow to upload a string onto a FTP server using a StringIO object instead of a file

Example

require ‘net/ftp’

ftp = Net::FTP.open(‘ftp.target-ftp-server-example.io’)

ftp.login ‘user’, ‘password’

ftp.putstring(‘My Fancy String’, ‘target_file.txt’)

ftp.close

See LICENSE for details.

About

Allow to upload a string to a FTP server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages