Flash+asp+sql server

i’m using flash and sql server with asp as middleware to upload and download images to/from a server.
The database is getting updated quite well but the files are not physically uploaded to the server(but files are uploaded to local pc).

can somebody help me?