I want to upload all files to my FTP Server, what i do now is:
1. Use the defautProvider upload files to the web server temp directory.
2. Use FTP Command to move temp files to the FTP Server
But i don't think it is a good idea, when i upload a file (100M or above), i have to wait 30 seconds or more after the precessbar is stop.
Is there any other better solution?
I know how to Create a Custom UploadStorageProvider that streams the upload to a remote server(use the Network Neighborhood),
but i don't know how to do this in a FTP Server, would u please give me some sample code or more detail advice.
I've never actually tried, but it looks like your provider's subclass of UploadedFile subclass would implement CreateStream() to return the Stream you get when calling GetRequestStream() on the FtpWebRequest you use to send the file to the FTP server.