We used files_2_FTP regularly but when changing the FTP directory to a new partition we can not export files anymore.
The FTP server is working correctly as I can upload files to the server and import them into galaxy.
The error that the tool outputs is [User dir on FTP could not be created: </path/to/user/dir>] and this happens because the script does not recognize that the dir actually exists and tries to create it again (os.path.exists(path) returns False for the existing path).
If I take the tool_script.sh from the job_working_dir and run it on the command line within the galaxy virtual environment, the script runs without a problem.
Any idea how to solve this problem?
And also what is the difference between running the tool from the interface or from the command line as the galaxy user?