Rev 997 | Rev 1006 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 997 | Rev 1005 | ||
---|---|---|---|
Line 293... | Line 293... | ||
293 | FtpServer server = null; |
293 | FtpServer server = null; |
294 | if(client == null) |
294 | if(client == null) |
295 | { |
295 | { |
296 | server = FtpServer.getNewServer(Globals.FTP_IONLINE_URL,Globals.FTP_IONLINE_USER,Globals.FTP_IONLINE_PASS); |
296 | server = FtpServer.getNewServer(Globals.FTP_IONLINE_URL,Globals.FTP_IONLINE_USER,Globals.FTP_IONLINE_PASS); |
297 | client = server.getClient(); |
297 | client = server.getClient(); |
- | 298 | if(client == null) |
|
- | 299 | { |
|
- | 300 | logger.warn("###################"); |
|
- | 301 | logger.warn("################### > CANT CONNECT FTP"); |
|
- | 302 | return; |
|
- | 303 | } |
|
- | 304 | ||
298 | } |
305 | } |
299 | client.setFileType(FTP.BINARY_FILE_TYPE); |
306 | client.setFileType(FTP.BINARY_FILE_TYPE); |
300 | 307 | ||
301 | 308 | ||
302 | 1.5.0/docs/api/java/lang/String.html">String pastaFichaCurricular = ((CourseUnitImpl)cu).getSummariosPathIntranet(); |
309 | 1.5.0/docs/api/java/lang/String.html">String pastaFichaCurricular = ((CourseUnitImpl)cu).getSummariosPathIntranet(); |