Many free websites (supporting Asp.net) do not support ftp. They can only upload files one by one on the Web end, which is troublesome;
After many files are compressed, the volume can be much reduced, and multiple files can be compressed and uploaded together, and then decompressed on the server. If this problem can be solved, it will bring a lot of convenience.
I will useCodeIt is easy and fast to package and upload the files to be uploaded and decompress them on the server.
Use sharpziplib to easily compress and decompress files
Currently, my simple practices (using aspspider.net as an example ):
1. compress the file to be uploaded, for example, compress all the assembly files to bin.zips, and compress all aspxs under the local file to the local file. ZIP file, and use the control panel provided by the website (you can alsoProgramAdded the upload function) to the webroot directory;
2.use unpack.aspxto uncompress the bin.zip file to the BINLOG directory and zip it to the PDF directory (the directory can be created automatically if it does not exist ).
If you are interested, try the demo on the following website:
Http://aspspider.net/tonyfox/Unpack.aspx
Want to apply for free ASP. net2.0 space? Look at this:
A free space supporting ASP. net2.0 and SQL Server and access
Because the code is very rough, no aspx code is provided for the time being, the core code is provided, and more functions and a good name are being considered (if necessary)