Please help me. Its very urgent.....I want to develop a page in ASP where i need to upload a table content from MS SQL database and write to a text file in ftp server, if file not present then i need to open new text file and write the log to that file and save that file as mm-dd-yyyy-hh-mm-ss.:'( :S :(

You can use "filesystemobject" to accomplish this. The filesystem object has methods to read/write files and to check for existance of a file.

Google for "FileSystemObject Sample Code" and you will get a few sample codes by Microsoft.

You need to change the permissions of the folder that you are writing to so that the Internet Guest Account has write permissions.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.