File and Directory Manipulation

Questions, tips and tricks and techniques for scripting in Servoy

File and Directory Manipulation

Postby idoctor » Sun Sep 28, 2003 6:48 pm

Is it possible to automate file and folder/directory manipulation from a Servoy method similar to the way one can use the Troi File Plug-in in Filemaker scripts? I am particularly interested in:
Getting a List of Files in a Directory
Copying files
Deleting files
Renaming files
idoctor
 
Posts: 254
Joined: Sun Sep 28, 2003 6:37 pm

Postby Jan Blok » Tue Sep 30, 2003 10:33 am

A file plugin is on our planning, expect it to be ready in about 2 months.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

File Manipulation Request

Postby idoctor » Wed Dec 03, 2003 8:48 am

After working with Servoy for a few months and realizing that my JPG and PDF files can be stored in the database, I have decided that the 3 most important functions I need in a file manipulation plug-in are:
1) Ability to obtain a series of file names from a specified directory
2) Ability to delete files when the path is specified
3) Ability to launch a PDF file (stored in the database) for the purpose of display and or printing. Ideally I would like it to open in Acrobat Reader.

With these functions and those already available in Servoy one could get the files from a specified directory, write them to the backend database, retrieve them, for print or display.

Will these 3 functions be built into a file manipulation plug-in? PDF plug-in?

John McCann
idoctor
 
Posts: 254
Joined: Sun Sep 28, 2003 6:37 pm

Postby jcompagner » Wed Dec 03, 2003 9:42 am

here is some more info what already is possible:
http://forum.servoy.com/viewtopic.php?t ... xecute+pdf
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8840
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Methods

Who is online

Users browsing this forum: No registered users and 1 guest

cron