Bug 13030

Summary: Can't upload files to drivehq.com (POSIX error: Is a directory)
Product: WebKit Reporter: Jeffrey Martinez <jhmart1>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: ap, webkit
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.drivehq.com

Description Jeffrey Martinez 2007-03-09 17:05:23 PST
When tyrying to upload files to DriveHQ.com, am presented with error message: Safari can’t open the page “http://www.drivehq.com/file/UploadFiles.aspx?uploadID=805198240&folderID=1674438&share=&shareID=0&folderPath=%5cMy+Documents%5c&view=&sesID=qyhua255jtuqvm45zq2edwnc”. The error was: “POSIX error: Is a directory” (NSPOSIXErrorDomain:21) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.
Comment 1 Alexey Proskuryakov 2007-04-25 05:19:36 PDT
I could not reproduce this issue. Here is what I did:
1) Registered for "Online Storage & Sharing" at http://www.drivehq.com.
2) After activation, I got automatically logged in.
3) Chose a single file from the desktop.
4) Uploaded it.

Worked fine in shipping Safari. A nightly failed to upload, but without giving the error you describe, so that would be a separate P1 bug.

Are you sure you were upoading a plain file? Many directories in Mac OS X pretend to be files - for example, applications (.app) and certain text documents (ўъхрт) are actually folders.
Comment 2 Robert Blaut 2008-02-19 02:13:31 PST
I also cannot confirm this bug in Webkit r30377. So WORKSFORME.
Comment 3 Robert Blaut 2008-02-19 02:49:22 PST
But after reading bug 6560 I'm pretty sure you are trying to upload bundle [http://paininthetech.com/2007/10/21/mac-os-x-bundles/]. The behavior is expected if you trying to upload directory.
Comment 4 Robert Blaut 2008-02-19 02:53:47 PST
(In reply to comment #3)
> But after reading bug 6560

I mean bug 6460.