NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike McLoughlin on February 03, 2010, 03:38:42 PM
-
I'm using the File Upload field type in NTWS 4 - where I can check if the file upload actually completed successfully?
I guess somewhere in WebHandler?
regards
Mike
-
How will you know if it completed correctly?
I mean, what about the incoming file will tell you that it's "complete"?
I'm not sure how the _server_ will be able to tell the difference between a complete and incomplete submission.
hmm - as I say, not sure.
Actually I'm not terribly sure you have to do anything. Off the top of my head I'd say that if the user gets a page back then it completed. If not, then probably not.
Cheers
Bruce
-
I'm keeping a log of files uploaded by users and it would be very handy to mark an upload as 'Failed' - it would cut down support massively if they were stopped from clicking to download files that weren't there.
Mike
-
use the Clarion EXISTS command to see if a file exists.
cheers
Bruce
-
Mike
Disable the download button if the file doesn't exist. I have some code that works if it will help.
-
Yes I'd like to see that
thanks
Mike
-
Sorry about the delay. salt to taste iro variables
[attachment deleted by admin]