[Zope] ZServer FTP and aquisition problem

Alex Rice alrice@swcp.com
Sun, 18 Jul 1999 19:56:38 -0600 (MDT)


Hi, we just noticed that sometimes with FTP, aquisition can get in the
way when recursively uploading folders. This is a problem when a folder
by the same name already exists and is aquired. Here is an example from
my logfile:

206.183.203.184:2067 <== CWD /taoswebb/import
206.183.203.184:2067 ==> 250 CWD command successful.
206.183.203.184:2067 <== CWD news

["news" was aquired-- it doesn't exist in import/!]

206.183.203.184:2067 ==> 250 CWD command successful.
206.183.203.184:2067 <== PORT 206,183,203,184,128,63
206.183.203.184:2067 ==> 200 PORT command successful.
206.183.203.184:2067 <== STOR taoswebb_masthead2.gif
206.183.203.184:2067 ==> 150 Opening Binary connection for taoswebb_masthead2.gif
206.183.203.184:2067 ==> 426 Error creating file.

[why does this fail? Here is a successful one: ]

206.183.203.184:2067 <== CWD /taoswebb/import
206.183.203.184:2067 ==> 250 CWD command successful.
206.183.203.184:2067 <== CWD rec_index
206.183.203.184:2067 ==> 550 No such directory.
206.183.203.184:2067 <== MKD rec_index
206.183.203.184:2067 ==> 257 MKD command successful.
206.183.203.184:2067 <== CWD rec_index
206.183.203.184:2067 ==> 250 CWD command successful.
206.183.203.184:2067 <== PORT 206,183,203,184,128,64
206.183.203.184:2067 ==> 200 PORT command successful.
206.183.203.184:2067 <== STOR taoswebb_masthead2.gif
206.183.203.184:2067 ==> 150 Opening Binary connection for taoswebb_masthead2.gif

Maybe ZServer should not use aquisition when responding to CWD?

-- 
Alex Rice    |    alrice@swcp.com    |    http://www.swcp.com/~alrice
    Current Location: N. Rio Grande Bioregion, Southwestern USA