Are you asking about a file you are uploading from your local machine? If so, you could use the delfile command to delete the local file.
aspect@aspectscripting.com
I don't see anywhere in your script where fname is being set to a value by your user, such as them choosing a file from an ASPECT dialog box. However, if you modified your script to do as such (see the discussion of the dirlistbox command for an example), you would then know what file the user selected due to the dirlistbox command saving it to a string variable, then could use that string value with the delfile command to delete the file.
aspect@aspectscripting.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.