Source language: Translate to:

external file system

Questions about our File Management and Internet FTP plug-in

external file system

Postby cp4w » Thu Mar 25, 2010 5:56 am

improved detection of external file system changes (such as inserting or removing a thumb drive or CD)


Can you please explain?
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby Neosoft Support » Thu Mar 25, 2010 10:33 am

If someone inserts or removes a thumb drive or CD, then that change will be reflected automatically in the plug-in's file browser. Similarly, if another application adds or removes a file that will be reflected automatically too.
Of course, if the changes happen in a folder not visible to the user then they won't notice.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby cp4w » Thu Mar 25, 2010 10:50 am

Is that event captured, where the publication would have the ability to take action (run a subroutine) when that event occurs?

btw, Thanks for the checkboxes and root folder :)
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby Neosoft Support » Thu Mar 25, 2010 10:59 am

Is that event captured, where the publication would have the ability to take action (run a subroutine) when that event occurs?


No it doesn't trigger an event. If necessary, a timer could be used to monitor changes to an off screen file system connection to detect when drive changes occur.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby cp4w » Thu Mar 25, 2010 11:16 am

off screen file system connection to detect when drive changes occur


What would it be checking for ?

Would it be checking for something like the number of folders in a directory?
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby Neosoft Support » Thu Mar 25, 2010 11:42 am

It depends on what you want to know, but basically you would use the fmFileListToVar action to get a list of files and/or folders. Then parse that and see if anything has changed. The connection's current directory should be set to the folder you want to keep an eye on.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBookFM/FTP

Who is online

Users browsing this forum: No registered users and 1 guest