Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

jjcarneiro
jjcarneiro
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
2

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by jjcarneiro
Customize the badges you want to showcase on your profile
Re: Is there a way to know if a file REALLY exists? - Adobe LiveCycle 27-02-2013
Hi Steve,That is exactly what I ended up doing.For future reference here is the script code I used, seems to do the job:File filename =pathToFile( patExecContext.getProcessDataStringValue("/process_data/@filepath"));boolean doesFileReallyExists = filename.canWrite();if (doesFileReallyExists ) { try { ran = new RandomAccessFile(filename , "rw"); try { if (ran != null) ran.close(); } catch (IOException ioe) { } } catch (Exception ex) { doesFileReallyExists = false; } }patExecContext.setProcessData...

Views

81

Likes

0

Replies

0
Is there a way to know if a file REALLY exists? - Adobe LiveCycle 22-02-2013
If a large file is being copied into a diretory. FileUtilService.Exists will return TRUE. That only indicates a 'directory entry' exists, not that the file is there and available.Is there a way to get that information? If you get Windows' file proeprties it will tell you that the file is 'locked', but I do not see any FileUtilService to get that info.Is there a solution to that?TIAjulio

Views

1.9K

Likes

0

Replies

2