Closed
Bug 133539
Opened 23 years ago
Closed 23 years ago
FTP upload doesn't give error status if directory doesn't exist when publishing
Categories
(Core :: Networking, defect)
Tracking
()
VERIFIED
WORKSFORME
mozilla1.0
People
(Reporter: cmanske, Assigned: Brade)
References
Details
Use Composer "File | Pulblish As" menuitem to start Publishing dialog.
Fill in filename and settings tab data if necessary with a valid FTP publishing
URL. Or select one from the list if you set it up before (check Settings panel
to be sure it's using FTP).
Be sure you have a valid username and password in the Settings input fields.
In Publish tab, enter a subdirectory in the "Subdirectory for this page" input
that you know doesn't exist.
Click on Publish button. You will get the alert dialog showing the
subdirectory+filename : No such file or directory
message, but the page will appear to have published successfully -- the
window title will show "ftp://..." (or "http://...") before the filename,
indicating that you are now editing the remote file, but it really didn't
publish!
If you have the debug flags turned on in ComposerCommands.js:
const gShowDebugOutputStateChange = true;
const gShowDebugOutputProgress = true;
const gShowDebugOutputStatusChange = true;
you can monitor all that "aStatus" values in the nsIWebProgressListener
callbacks and you will see that none are non-zero, which is supposed to tell us
that upload failed.
Reporter | ||
Comment 1•23 years ago
|
||
Proper error status is a "must have" in order for publishing to work
Assignee | ||
Comment 2•23 years ago
|
||
I can't reproduce this bug; I get a Publishing Failed dialog after the missing
directory alert (2 alerts total).
Sujay or DSL Michael--can one of your reproduce?
Assignee | ||
Comment 4•23 years ago
|
||
worksforme
Sujay, DSL Michael--please verify that this also works for you.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 5•23 years ago
|
||
This worksforme also.
You need to log in
before you can comment on or make changes to this bug.
Description
•