The backend is written in php.
<code><a href="../CollectionjobAgent /CollectionJobDashboard/doDownload/ ./uploads/collectionjob/0_21111.txt"></a></code>
The interface in the controller is "../CollectionjobAgent/CollectionJobDashboard/doDownload",
Now the backend hopes to get the string ./uploads/collectionjob/0_21111.txt, but it can only read it because of '/' After taking uploads, the collectionjob/0_21111.txt behind is gone. I would like to ask if there is a way to solve this problem.
The backend is written in php.
<code><a href="../CollectionjobAgent /CollectionJobDashboard/doDownload/ ./uploads/collectionjob/0_21111.txt"></a></code>
The interface in the controller is "../CollectionjobAgent/CollectionJobDashboard/doDownload",
Now the backend hopes to get the string ./uploads/collectionjob/0_21111.txt, but it can only read it because of '/' After taking uploads, the collectionjob/0_21111.txt behind is gone. I would like to ask if there is a way to solve this problem.
Just use the query string
method.
<code class="html"><a href="../CollectionjobAgent /CollectionJobDashboard/doDownload?path=./uploads/collectionjob/0_21111.txt"></a></code>
But due to '/', only uploads can be read. Why?