ftp deployment problem

Suddenly I'm unable to ftp files.  I've looked and looked for a solution to this, however I'm unable to make any headway it seems.  From what I can tell, it fails when trying to upload because it's attempting to create a directory that exists on the server (see log, I intentionally masked out some information).  This seems to be happening to all of my projects.



So what am I doing wrong?


NOTE: /httpdocs is the webroot for my account on the server

2011-07-07 15:07:16,623 [ 859551]  DEBUG - ains.plugins.webDeployment.ftp - > MKD httpdocs
2011-07-07 15:07:16,683 [ 859611]  DEBUG - ains.plugins.webDeployment.ftp - 550 httpdocs: File exists
2011-07-07 15:07:16,683 [ 859611]   WARN - ins.webDeployment.TransferTask - Copy: file:///Z:/####/Reservations 2.0/Source/robots.txt to ftp://ftp.####.com/httpdocs/robots.txtfailed
org.apache.commons.vfs.FileSystemException: Could not copy "file:///Z:/####/Reservations 2.0/Source/robots.txt" to "ftp://ftp.####.com/httpdocs/robots.txt".
    at org.apache.commons.vfs.provider.AbstractFileObject.copyFrom(AbstractFileObject.java:1040)
    at com.jetbrains.plugins.webDeployment.TransferOperation.copyFile(TransferOperation.java:738)
    at com.jetbrains.plugins.webDeployment.TransferOperation.access$200(TransferOperation.java:23)
    at com.jetbrains.plugins.webDeployment.TransferOperation$Copy.execute(TransferOperation.java:238)
    at com.jetbrains.plugins.webDeployment.TransferTask.executeOperations(TransferTask.java:483)
    at com.jetbrains.plugins.webDeployment.RemoteHostTask$5.compute(RemoteHostTask.java:226)
    at com.jetbrains.plugins.webDeployment.RemoteHostTask$5.compute(RemoteHostTask.java:224)
    at com.jetbrains.plugins.webDeployment.connections.RemoteConnection$2.compute(RemoteConnection.java:50)
    at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool$RemoteConnectionImpl.executeServerOperation(RemoteConnectionPool.java:80)
    at com.jetbrains.plugins.webDeployment.connections.RemoteConnection.executeServerOperation(RemoteConnection.java:48)
    at com.jetbrains.plugins.webDeployment.RemoteHostTask.doRun(RemoteHostTask.java:224)
    at com.jetbrains.plugins.webDeployment.RemoteHostTask.run(RemoteHostTask.java:104)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:464)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:181)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:172)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:340)
    at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:375)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)
Caused by: org.apache.commons.vfs.FileSystemException: Could not create folder "ftp://ftp.####.com/httpdocs".
    at org.apache.commons.vfs.provider.AbstractFileObject.createFolder(AbstractFileObject.java:977)
    at org.apache.commons.vfs.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1403)
    at org.apache.commons.vfs.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:463)
    at org.apache.commons.vfs.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:443)
    at org.apache.commons.vfs.FileUtil.copyContent(FileUtil.java:112)
    at org.apache.commons.vfs.provider.AbstractFileObject.copyFrom(AbstractFileObject.java:1031)
    ... 24 more
Caused by: org.apache.commons.vfs.FileSystemException: Could not create FTP directory "ftp://ftp.####.com/httpdocs".
    at org.apache.commons.vfs.provider.ftp.FtpFileObject.doCreateFolder(FtpFileObject.java:568)
    at org.apache.commons.vfs.provider.AbstractFileObject.createFolder(AbstractFileObject.java:966)
    ... 29 more
2011-07-07 15:07:16,685 [ 859613]  DEBUG - t.connections.RemoteConnection - Releasing one of the connections to ftp://ftp.####.com:21/
2011-07-07 15:07:16,685 [ 859613]  DEBUG - t.connections.RemoteConnection - Disconnecting from ftp://ftp.####.com:21/

1 comment
Comment actions Permalink

Hello Chris,

Right now I'm not sure about the cause of the problem. Can you please take FTP logs? You can send them privately to me at kirill (dot) safonov (at) jetbrains (dot) com.

Regards,
Kirill

0

Please sign in to leave a comment.