Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 5th, 2008, 3:11 PM   #1
Drenlin
Newbie
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0 Drenlin is on a distinguished road
How is Ruby with file handling

I am looking to progress my programming knowledge out of the dark ages and into something more modern (and to higher levels) but I am unsure which method of scripting to choose. Having heard things regarding Ruby I was wondering if someone could advise if things are possible. I have learnt java but mostly been creating routines for the Windows command prompt due to knowing tasks are possible. I figured a good way to start a new lanuage is to attempt what know from another language/script.

I am aiming for a script to be ran locally on other stations (without having to install web servers) that can look, delete and copy files but also start an application (with parameters). A bonus is being able to create encrypted zip files.

PHP has exec() but seems to require a web server. Java (at my last look) was not able to run a local executable file with parameters (and took ages to start).

Am I on the verge of joining the Ruby bandwagon or just wishfully thinking on inflated expectations. Alternately if you know of a different tree sniff then please comment.

Thanks in advanced
Drenlin is offline   Reply With Quote
Old Feb 5th, 2008, 3:46 PM   #2
MiKuS
Programmer
 
Join Date: Jun 2007
Posts: 79
Rep Power: 1 MiKuS is on a distinguished road
Re: How is Ruby with file handling

I would suggest looking into python, there are heaps of modules already out there - so stuff like managing zip files and files in general shouldn't be too much of a problem
MiKuS is offline   Reply With Quote
Old Feb 5th, 2008, 3:48 PM   #3
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 777
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Re: How is Ruby with file handling

You might want to consider Python. It is very similar to Ruby but has a much larger user base which will make it easier to get help.

EDIT: MiKuS beat me to it.

Last edited by titaniumdecoy; Feb 5th, 2008 at 4:17 PM.
titaniumdecoy is offline   Reply With Quote
Old Feb 5th, 2008, 5:19 PM   #4
Drenlin
Newbie
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0 Drenlin is on a distinguished road
Re: How is Ruby with file handling

It didn't matter who replied first, just that the reply being friendly and helpful.
Thanks both and I shall look into it.
I'll save Ruby for later.
Drenlin is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem processing file into a char array csrocker101 C++ 1 May 8th, 2007 11:50 PM
PHP File Handling - File handling in PHP smita PHP 0 Mar 15th, 2007 7:39 AM
After execution - Error cannot locate /Skin File? wchar Visual Basic 1 Mar 5th, 2005 9:04 PM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM
Structure char field to a disk file ehab_aziz2001 C++ 0 Feb 10th, 2005 2:42 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:10 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC