I have been in the company is to use the FTP upload files to the server, replace jars, normal at the beginning, quickly, but then can appear sometimes upload speed appeared only a few KB, and once you start to upload the original jar packages on the server will drop, swagger can't open it, only waiting for him to transfer is completed, restart the process to normal use, thought it was a server problem at the beginning, but later found with project team colleague upload soon, I also changed the upload tool, has failed to solve the problem, your bosses have encountered this kind of situation, any good solution can share for, this problem in the daily development of is very troublesome, thank you for your bosses!!!!!
CodePudding user response:
You don't directly uploaded to the directory, uploaded to the temporary directory first, then move the file