Project: aptanastudio
Issue APSTUD-7509: Can not upload file via ftp
after update my aptana 3.2.2.201208201020 to 3.3 RC when trying to upload file I always get this error, but when I click synchronize everything works just fine. Aptana log looks like this: {code} !ENTRY com.aptana.syncing.ui 4 0 2012-10-15 14:20:23.796 !MESSAGE Failed to upload file !STACK 0 java.lang.IllegalArgumentException: File {0} is not contained inside {1}. com.aptana.ide.syncing.core.old.Synchronizer.getCanonicalPath(Synchronizer.java:184) com.aptana.ide.syncing.core.old.Synchronizer.createSyncItems(Synchronizer.java:437) com.aptana.ide.syncing.ui.actions.UploadAction$1.run(UploadAction.java:114) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} and my FTP server log looks like this: {code} (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 230 Logged on (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PWD (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 257 "/" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD /folder_name (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/folder_name" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> TYPE I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 200 Type set to I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> FEAT (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 211-Features: (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MDTM (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> REST STREAM (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> SIZE (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MLST type*;size*;modify*; (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MLSD (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> UTF8 (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CLNT (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> MFMT (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 211 End (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> SITE HELP (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 504 Command not implemented for that parameter (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> SYST (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 215 UNIX emulated by FileZilla (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> STAT / (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 500 Syntax error, command unrecognized. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD / (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,99) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> NOOP (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 200 OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> TYPE I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 200 Type set to I (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD /folder_name (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/folder_name" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,100) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> CWD /folder_name/Scripts (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 CWD successful. "/folder_name/Scripts" is current directory. (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,101) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,102) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> STOR 1350287443194._tmp_upload.txt (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> PASV (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (0,0,0,0,215,103) (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> LIST -a (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 150 Connection accepted (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 226 Transfer OK (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> DELE 1350287443194._tmp_upload.txt (002191) 2012-10-15 09:50:12 - xxx (xxx.xxx.xxx.xxx)> 250 File deleted successfully {code}
Story points: 5