2013年11月19日星期二

Will Java how to achieve cross-server file upload ?

Will Java how to achieve cross-server file upload ?

file information is stored in a web server database file is saved in another machine .
------ Solution - -------------------------------------------
WEBservice Interface should be
------ Solution -------------------------------------- ------
how to understand cross-server file upload it ?
general document on the web service where the container , the file path information is saved to the database, the path taken by loading the file .
------ Solution ---------------------------------------- ----
certainly this demand ah ! If I could get a dedicated file server storage resources ?
------ Solution ---------------------------------------- ----
landlord resolve Results posted when I remember sharing Guixie ~
------ Solution --------------------- -----------------------
via FTP to upload files to the server, and then save the path into the database .
------ Solution ---------------------------------------- ----
I can think of is : Can you get a special way , incoming file server ip address, so go read the file server 's file system.
------ Solution ---------------------------------------- ----
top, I would like to know .
------ Solution ---------------------------------------- ----
5 Floor positive solution . Want to upload files to another separate file server, you must use FTP to do .
------ Solution ---------------------------------------- ----
the easiest way is to make a disk mapping , the file server's disk is mapped to the web server. Then taken in a local directory with the web server .
------ Solution ---------------------------------------- ----
we use controls do . Pass directly to the storage server above .
------ Solution ---------------------------------------- ----
2 Floor positive solution of data between systems webservice can call
------ Solution --------------------- -----------------------
our system is thrift frame.
------ For reference only -------------------------------------- -
3K, currently using FTP mode , time studies Web Service. . .
------ For reference only ---------------------------------------
is the user uploaded files can be saved A single server in which you can save on the B server , etc., but the application only exists in a single server.
------ For reference only -------------------------------------- -
certainly this demand ah ! If I could get a dedicated file server storage resources ?   file server. . .
------ For reference only -------------------------------------- -
record for a moment, you can look at : http://blog.csdn.net/for_china2012/article/details/16820607
------ For reference only -------- -------------------------------
certainly this demand ah ! If I could get a dedicated file server storage resources ?   record for a moment, you can look at : http://blog.csdn.net/for_china2012/article/details/16820607
------ For reference only -------- -------------------------------
landlord resolve Results posted when I remember sharing Guixie ~   you go and see : http://blog.csdn.net/for_china2012/article/details/16820607
------ For reference only ----------- ----------------------------
general document on the web service where the container , the file path information is saved to the database , load when the path taken by the file . --- Positive solution, you said cross-server , in fact, to interact with the interface .
------ For reference only -------------------------------------- -
present in this way , but still have to study a another method. . .
------ For reference only ---------------------------------------
record a bit, you can see look : http://blog.csdn.net/for_china2012/article/details/16820607
------ For reference only ------------------- --------------------
FTP is not required , Java implemented in a variety of ways . . .

没有评论:

发表评论