Bonjour
Je suis débutant en ruby et je recherche une bibliotheque pour lire
les métadonnée d’un fichier (auteur taille type de document …)
et une autre bibliothèque pour pouvoir uploader et downloader des
documents
Merci d’avance
Bonjour,
La plupart d’entre nous ne parle pas français, ainsi si vous pourriez
signaler votre question encore en anglais, qui serait très utile. (je
ne parle pas français, ainsi je suis désolé si c’est très rugueux)
Jeremy
I’m beginner in Ruby and I want to know if there are librairy for
having meta data and for uploading and downloading files.
Thank you
Jeremy McAnally a écrit :
Dom wrote:
I’m beginner in Ruby and I want to know if there are librairy for
having meta data and for uploading and downloading files.
Can you be more specific? What kind of meta-data? How do you mean
“uploading
and downloading files”?
I have the solution for uploading but not for having the metadata. The
metadata are file of musik video file image file, in a first time and
in a second time for word file excel file pdf file
Thank you
Paul L. a écrit :
Dom wrote:
I have the solution for uploading but not for having the metadata. The
metadata are file of musik video file image file, in a first time and
in a second time for word file excel file pdf file
Are the meta-data located inside the file, or outside the file? Does
“meta-data” mean the file’s size, modification time, etc.?
What sort of connection exists between the desired file and the client?
If
it is a network connection, have you considered using SSH to gather the
required information?
Are the meta-data located inside the file, or outside the file? Does
“meta-data” mean the file’s size, modification time, etc.?
YES
What sort of connection exists between the desired file and the client?
If
it is a network connection, have you considered using SSH to gather the
required information?
I’m student and it’s for a TP and it’s just in localhost
Paul L. a écrit :
On 12/11/06, Dom [email protected] wrote:
I’m beginner in Ruby and I want to know if there are librairy for
having meta data and for uploading and downloading files.
You can use File.stat (available in the core of ruby) to read the meta
data of a file.
For uploading and downloading file we can use Net::FTP available in
the standard library.
See: RDoc Documentation
Cheers,