NetTalk Central

NetTalk FTP => FTP - Ask For Help => Topic started by: Steve2106 on May 28, 2010, 02:23:53 AM

Title: File Exists
Post by: Steve2106 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]
Title: Re: File Exists
Post by: Alberto 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
Title: Re: File Exists
Post by: Steve2106 on May 28, 2010, 04:21:50 AM
Hi Alberto,
Thanks for the reply.

I'll give this a try.

Best Regards,

Steve.