Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

using file upload in v22 - leading 3 characters of file removed

  • 4 trả lời
  • 1 gặp vấn đề này
  • 8 lượt xem
  • Trả lời mới nhất được viết bởi JerryBrowser

more options

The following code works fine with IE, where "Browse" is on the right and the whole pathname is uploaded with the file. But with Firefox v22 the "Browse" text is on the left (which doesn't bother me) and only the file name is uploaded with the file. But the first 3 characters of the file name are stripped off, so a file called ABCDEFG.doc is stored as DEFG.doc. In the html I have: <form name="MYFILESF3" method="post" action="/cgilib/myfiles" encType="multipart/form-data"> <fieldset style="position:absolute; left:40px; top:100px; border:none;">

Upload to:  <input readonly="readonly" class="oalpb2" type="text" name="F3HOMEPATH" size="0020" tabindex="-1" maxlength="0020" value="" />
<input class="butsm2" type="submit" name="F3UPLOAD" value="Upload" /> <input class="butsm2" type="submit" name="F3CAN" value="Cancel" />

</fieldset>

<fieldset style="position:absolute; left:40px; top:230px; width:400px;"> <legend style="color:blue;"> Upload File </legend>

File <input type="file" name="F3UPLFILE" size="0080" maxlength="0080" tabindex="1" value=""/>

</fieldset> </form>

The following code works fine with IE, where "Browse" is on the right and the whole pathname is uploaded with the file. But with Firefox v22 the "Browse" text is on the left (which doesn't bother me) and only the file name is uploaded with the file. But the first 3 characters of the file name are stripped off, so a file called ABCDEFG.doc is stored as DEFG.doc. In the html I have: <form name="MYFILESF3" method="post" action="/cgilib/myfiles" encType="multipart/form-data"> <fieldset style="position:absolute; left:40px; top:100px; border:none;"> <table border="0" cellpadding="1" cellspacing="1"> <tr> <td>Upload to:&nbsp;</td> <td><input readonly="readonly" class="oalpb2" type="text" name="F3HOMEPATH" size="0020" tabindex="-1" maxlength="0020" value="" /></td> </tr> <tr> <td><input class="butsm2" type="submit" name="F3UPLOAD" value="Upload" /></td> <td><input class="butsm2" type="submit" name="F3CAN" value="Cancel" /></td> </tr> </table> </fieldset> <fieldset style="position:absolute; left:40px; top:230px; width:400px;"> <legend style="color:blue;">&nbsp;Upload File&nbsp;</legend> <table border="0" cellpadding="1" cellspacing="1"> <tr><td>File</td> <td><input type="file" name="F3UPLFILE" size="0080" maxlength="0080" tabindex="1" value=""/></td></tr> </table> </fieldset> </form>

Tất cả các câu trả lời (4)

more options

Does using the latest Firefox 25.0.1 update help?

more options

Unfortunately, I can't test this, because I need Firefox v22 to access an IBM HMC - nothing else works properly ! I'll see if I can get a separate instance of 25.0.1 installed on another box and test it. Did you have similar issues?

more options

No, haven't tried it, but have heard about the IBM issues on 23 and up.

You can use a seperate instance by using a portable version of firefox.

more options

Same problem at V23. After looking at error console added accept-charset=UTF-8 to form but this didn't have any effect.