NetTalk Central

Author Topic: File Exists  (Read 6001 times)

Steve2106

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
File Exists
« on: May 28, 2010, 02:23:53 AM »
Hi There,
Can you help me please?

I have a request from a client to write a little app to check if document links in his system actually point to existing files.
I have used the ftp jumpstart app provided in the examples of NetTalk 4.0 and all works well when the file is able to be downloaded I.E. it exists.
My problem is when the file does not exist. I need to be able to trap the error and stop the attached screen from showing.

How can I do that. Maybe I am using the wrong NetTalk example. My client really only wants me to check if the files exist on the server, not to download them.
Can I trap the errors and prevent the attached image from showing.

Thanks for your help.

Best Regards,

Steve.



[attachment deleted by admin]

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: File Exists
« Reply #1 on: May 28, 2010, 02:58:36 AM »
Hi Steve,
Got to the NetTalk NetSimple extention, settings tab, and check the Supress Error Messages.
Then you can trap the errors in the Error Trap embed point.
Hope this helps
Alberto
-----------
Regards
Alberto

Steve2106

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: File Exists
« Reply #2 on: May 28, 2010, 04:21:50 AM »
Hi Alberto,
Thanks for the reply.

I'll give this a try.

Best Regards,

Steve.