Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FSO - delaying the deleting of a file

Status
Not open for further replies.

SonJ

Programmer
Oct 24, 2002
166
GB
Howdy,

I am building a file upload facility for a website that I am building. How can I display a file before it is deleted? At the moment the logic in the page goes:

Display image
Display Details - name, size, type
response.flush
Delete file

However, the image does not display as it seems to get deleted before the buffer is flushed. The file details display fine. Is there anyway that I can increase the delay before it is deleted?

SonD
 
What about using a meta tag refresh tag .?
Delete the image after the page is refreshed.

Note:
Check your file size and calculate its download time(say for 28 k connection for getting idea for setting the refresh time.
 
Thanks for the suggestion adriot. I shall check this one out.

SonD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top