阅读背景:

如果route params与文件名匹配,如何从目录发送文件?

来源:互联网 

I have a directory ./Logs where i am logging files from server and also displaying to the client all file names, Now each file has download option from client so when user call download method i am sending file name to the server route as param and look for file in provided path using forEach on ./Logs directory i am able to get file name that is coming from client and able to print as I have a directory ./Logs where i am logging fi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: