No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi guys, I have the following information in a text file, which looks like this: -rw-rw-r-- 1 user user 12203 Aug 6 01:02 app1.sql -rw-rw-r-- 1 user user 12343 Aug 6 01:02 app2.sql -rw-rw-r-- 1 user user 12238 Aug 6 01:02 app3.sql I need to Trim the unwanted strings and … |
|
I have written ftp code which will download a single file from the Server using the below code: [code] require 'rubygems' require 'net/ftp' require 'fileutils' URL = 'IP address' username = 'test' passwd = "test" filename = "file1" directory = '/home/test/' localfile = 'C:\\Documents and Settings\\User1\\Desktop\\file1' ftp=Net::FTP.new ftp.connect(URL,21) ftp.login(username,passwd) ftp.chdir(directory) … |