空間,我無法用具有拍拍空間的URLConnection下載從FTP服務器上文件的URLConnection從FTP服務器上下載文件無法使用具有路徑
String s = "ftp://username:[email protected]:21/AAB BBC/hhhh 0001.jpg";
URL U =新的URL(S); URLConnection uc = u.openConnection(); BufferedOutputStream bos = new BufferedOutputStream(uc.getOutputStream());
不想要FTP客戶端解決方案。
使用URLencoder得到550錯誤文件未找到。
感謝, 拉夫