Skip navigation
Muddie Funkster
Currently Being Moderated

Very Annoying FTP Problem

Apr 29, 2013 3:58 AM

Dreamweaver will not let me FTP to the root directory of my site but allows me to read and write to any subdirectory.  The reason, according to the FTP log is outlined below:

 

< 226 Directory send OK.

> CWD /

< 250 Directory successfully changed.

> CWD /images

< 550 Failed to change directory.

 

Even though I'm trying to upload a file to the root for some reason DW is trying to change directory to '/images'.  This folder is a symlink (and is picked up by DW) and I'm using passive mode:

 

> CWD /

< 250 Directory successfully changed.

> PASV

< 227 Entering Passive Mode (*).

> LIST -al

< 150 Here comes the directory listing.

< lrwxrwxrwx    1 502      50             16 Apr 16 14:49 images -> /mnt/san/images/

 

This folder is cloaked on the remote server and does not exist on my local machine so I've no idea why DW is trying to access this folder.  Permissions are fine and I can FTP to the root directory using the command line and the same FTP account without issue:

 

ftp> put "foo.bar" /foo.bar

local:foo.bar: /foo.bar

229 Entering Extended Passive Mode (|||44317|).

150 Ok to send data.

100% |**************************************************************|   834        5.89 MiB/s    00:00 ETA

226 Transfer complete.


It's driving me mad because I'm using Subversion (which works fine) and every time I need to commit a change to live in the root directory I have to revert to the command line.

 

So, why is DW doing this and more importantly how can I stop it from trying to CWD to '/images', which is effectively killing the FTP process?


 
Replies
  • Currently Being Moderated
    Apr 29, 2013 7:25 AM   in reply to Muddie Funkster

    What entries do you have in the FTP section of your site definition?

     
    |
    Mark as:
  • Jim Carpenter
    546 posts
    Apr 6, 2006
    Currently Being Moderated
    Apr 29, 2013 7:56 AM   in reply to Muddie Funkster

    What version of DW are you using?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 29, 2013 8:59 AM   in reply to Muddie Funkster

    Hi -

     

    I use a third-party FTP program, but every site definition includes specifying the root folder on the remote site as well as the local.

     

    In my case it's an advanced setting appearing as /var/www/html which matches the hosting company's folder hierarchy.

     

    HTH

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2013 5:34 AM   in reply to Muddie Funkster

    Sorry, I don't have a recent Version, but IMHO you need an entry an the "root" directory site definition.(as shown in this video)

    http://tv.adobe.com/watch/learn-dreamweaver-cs5/simplified-site-setup- in-dreamweaver-cs5/

     

    That "images" target is coming from somewhere, perhaps a symlink you could move or delete?

    Have you tried deleting the current site definition and setting it up again?

     

    You're not on Godaddy by any chance?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2013 5:50 AM   in reply to Muddie Funkster

    Instead of cloaking the images symlink, why not delete it?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2013 6:43 AM   in reply to Muddie Funkster

    I feel your frustration, but I am way outside my knowledge area. 

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points