Cross-server upload file perfect solution

zhaozj2021-02-17  31

If you have two spaces, a big and slow, another small and fast, or one of them does not support FSO, then the problem across the server is in front of you, the following is I am solving the cross in Ylog.Net. The server uploads the file diary, this problem seems simple, the details inside are very interesting

Prerequisites, space must support ASP, the server supports the server supports FSO, the following narrative, DiyGame.com servers, YLog.NET is the website server, that is, the server display user interface ...

Implement function, file upload, upload, automatically add the UBB code for the image after the page, for clear, all of which list all the files used below

Server file name

Diygame.com blog_upfile.asp Receives uploaded files

YLOG.NET Blog_Add.asp Add blog, upload file function appears here

YLOG.NET Blog_upload.asp Upload File Form, in the form of iframe in blog_add.asp

Ylog.Net Blog_upResult.asp Displays the upload result, work good work

Ylog.Net Blog_upcheck.asp Verify User Name and Password

Add a IFRAME to the BLOG page blog_add.asp, call blog_upload.asp to upload operations