Problem in Image uploading through a view -- URGENT

Hii Experts,
I am facing very strange problem while uploading a image file (.JPG file) thru a web dynpro view.
I am accepting a image file from view and uploading it to a ftp server.
There are two abnormal results I have observed. It does NOT  happen for every image upload. But it has been observed to happen during peak Internet hrs. (image size can range from 1MB to 7-8 MBs)
When 'Upload' button is clicked, one of the following thing happens:-
1.  After taking loooong time (processing circle rotates), browser screen goes totally blank. That is, browser goes into state as if no page is opened (white screen)
2. After taking loooong time, empty form re-appears. ( ie the view in which i had submitted data and pressed 'Upload')
I have tried tracing errors in default trace. but no error or exception is displayed !!!
Following is the code i'm using for uploading file. ==>
try {
URL myUrl = new URL("ftp://<some address>");
FtpURLConnection myConnection = new FtpURLConnection(myUrl);
myConnection.connect();
OutputStream out = myConnection.getOutputStream();
out.write(wdContext.currentPhotosElement().getPhoto1());
out.close();
myConnection.close();
} catch (Exception e) {
System.err.println("\n\n$$$$$$$$$$$$$Exception in image upload $$$$$$$$$$$$$\n\n");
e.printStackTrace();
Please help me as this system is live and lot of users are complaining as they are not able to upload their images..
Awaiting for reply ..
regards,
Amey
Edited by: Amey Mogare on May 28, 2008 2:14 PM
Edited by: Amey Mogare on May 28, 2008 2:17 PM

In SE78 when we click on the graphics and then click on the BMAP ( Bitmap Images ) then the bdc is not cathcing the screen and its giving an error
This is the error message which i am recieving in it .
00 343 S Cursor field RSTXT-TDNAME . does not exist in the screen
Please suggest me that is there any way for the same or else is there any BAPI for the same .
Regards
Shankar

Similar Messages

  • Image upload through Portals?

    Hi All,
    I have a image field in my table and integrated with portals...I can able to see the existed images in the iviews, but I can't able to upload a image from portals.
    I didn't find any attachment button next to image value, please let me know how can I can add images through portals...
    Regards,
    Pooja

    This seems odd.... don't you get any options as to enable the image upload? Try looking at the iview properties, as where you set up the size, heigth etc, instead of the options given on the iView wizard.
    for instance, add the iview to a page. Open the page for edition and click on the iView to select it. Click on properties and on the right you should see them. Do you get anything useful there?
    I am currently using SP04 but I assisted to the SP5 webex presentation, and is stated there that this feature is in place
    Regards
    Alejandro

  • Problems with images uploaded to Etsy

    Hi guys,
    I'm having a huge problem with thumbnail images on my Etsy front page being pixelated when viewed on my ipad mini. I tried a few times posting this to the Etsy help forums to no avail.
    Here's what I'm doing:
    ========================
    -I'm creating a new document in photoshop with pixel dimensions of 1000 x 800 (tried lower and higher), resolution of 72 (tried higher), placed an image taken by my 14 mp digital camera, and pulled in a background I found online at 72 dpi.
    -I'm saving this as a jpeg with the 'quality' at 12. I tried saving for web and lowering the file size, didn't work.
    Other info:
    =========================
    -Other people's thumbnails look just fine
    -When viewed on my laptop monitor as well as my external monitor, everything's peachy.
    -Larger views of the image as well as other thumbnail on other pages look totally fine, it's just the main page i'm having problems with
    -I haven't actually opened the shop yet, so maybe this is just a weird thing that Etsy does.
    Any help would be greatly appreciated. Thanks!

    I'm running version 2.1 (final) now but I still have the same problem and it's very annoying problem.
    Any help on this one?
    You've run into (what I believe is) a bug in how NitroX resolves URL-paths within a JSP. NitroX is "WAR-centric", meaning that it considers the WAR's context root to be the root of the entire web-application. So it resolves the leading slash in a URL-path (e.g. /images/...) to that context root. However, J2EE web-applications may consist of several WARs deployed in one or more EARs in a single app-server instance. This means multiple context roots at the same host:port. So the correct way to resolve a leading slash in a host-relative URL-path such as "/images/..." is to map it to the root of the host:port and not to the WAR's context root.In your example, the "/images/..." should be mapped by NitroX to the equivalent of "http://localhost:8080/images/..." and not to "http://localhost:8080/birka/images/..." Your original URL-path of "./images/..." (or just "images/...") should have been mapped by NitroX to "http://localhost:8080/birka/images/..." as it is relative to the current context root. So in summary, I think your original code is correct and the problem is with NitroX.
    I reported this bug a few months ago, but haven't heard any news of its being addressed. What do you say M7-support, any update on this?
    Thank you for your reply, I will get in touch with M7-support to hear with them status of this bug. I'm running version 2.01 Final, I haven't yet tested pre-releases since they are not final

  • Image Upload probelm - Very Urgent. Pls help!!!

    Hi All,
    I am facing very strange problem while uploading a image file (.JPG file) thru a web dynpro view.
    I am accepting a image file from view and uploading it to a ftp server.
    There are two abnormal results I have observed. It does NOT happen for every image upload. But it has been observed to happen during peak Internet hrs. (image size can range from 1MB to 7-8 MBs)
    When 'Upload' button is clicked, one of the following thing happens:-
    1. After taking loooong time (processing circle rotates), browser screen goes totally blank. That is, browser goes into state as if no page is opened (white screen)
    2. After taking loooong time, empty form re-appears. ( ie the view in which i had submitted data and pressed 'Upload')
    I have tried tracing errors in default trace. but no error or exception is displayed !!!
    Following is the code i'm using for uploading file. ==>
    try {
    URL myUrl = new URL("ftp://<some address>");
    FtpURLConnection myConnection = new FtpURLConnection(myUrl);
    myConnection.connect();
    OutputStream out = myConnection.getOutputStream();
    out.write(wdContext.currentPhotosElement().getPhoto1());
    out.close();
    myConnection.close();
    } catch (Exception e) {
    System.err.println("\n\n$$$$$$$$$$$$$Exception in image upload $$$$$$$$$$$$$\n\n");
    e.printStackTrace();
    Please help me as this system is live and lot of users are complaining as they are not able to upload their images..
    Awaiting for reply ..
    regards,
    Amey

    Hi,
    Does anybody have any idea about how the file data (byte stream) flows from Client's machine browser to Web Dynpro's context's element??
    As per my observation and tracing, it is first loading byte array frm client's machine to view's corresponding context node.. And then only it is proceeding with further actions.
    Now in my case, user may upload files ranging frm size 6MB to 10MB, web dynpro application either refreshes or times out during this transfer. I didnt even started FTP process to upload byte[] to remote server !!!
    So how can we increase this speed of transfer from  client's machine to context element ??
    regards,
    Amey

  • I'm using iPhoto 11, and instead of seeing my images in the main view, I see only outlines. (Had same problem in iPhoto 10 before upgrade to Lion Help!

    I'm using iPhoto 11, and instead of seeing my images in the main view, I see only outlines. (Had same problem in iPhoto 10 before upgrade to Lion Help!
    I'm on a Macbook Pro and all of my software is up-to-date.
    The photos and events, etc. appear to be present in my photo library, but I cannot see the actual images--only an outlined placeholder.

    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to rebuild the thumbnails. This can take 3 or 4 goes to work.

  • Multiple image upload with save to database problem

    I am developing some backend work for a client, and we recently used the Multiple image upload with save to database wizard without a problem. A few days later, we noticed that we could only upload a single file at a time - it seems that the coding is no longer able to access the flash part of this and is using the javasript function instead. I know the web hosting company has made some changes on the server, and I did some reearch and it seems that  there could be an issue with Flash 10, but has anyone else experienced anything like this? Any help is greatly appreciated.
    Thanks.
    Jeremy

    Thank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
    Again, thanks for the help.
    Jeremy

  • I bought iPhone 6 Plus few days ago and I have the following problems: 1) When entering through Safary to Google Images and tap on each on of them they do not enlarged nor I am able by click on them to enter into the connected website

    I bought iPhone 6 Plus few days ago and I have the following problems:
    1) When entering through Safary to Google Images and tap on each one of them they do not enlarge nor I am able by click on them to enter into their connected website
    2) When I receive an e-mail with images I cannot easily save them in my gallery. It needs more than 10 tabs to the window "save this image" or "save all 3 images" and if I am lucky it saves one image. This is very frustrating, I loose a lot of time trying and affects my job.
    I would highly apreciate any help
    Kind Regards

    I bought iPhone 6 Plus few days ago and I have the following problems:
    1) When entering through Safary to Google Images and tap on each one of them they do not enlarge nor I am able by click on them to enter into their connected website
    2) When I receive an e-mail with images I cannot easily save them in my gallery. It needs more than 10 tabs to the window "save this image" or "save all 3 images" and if I am lucky it saves one image. This is very frustrating, I loose a lot of time trying and affects my job.
    I would highly apreciate any help
    Kind Regards

  • Problem of BOM components uploading through BAPI,for  the Network(CN01)

    Hello,Friends,
    Iam PP consultant and facing a problem of BOM components uploading through BAPI,for creating of the Network (CN21)
    we have 300 components in the network activity and while uploading the BOM through BAPI , only 295 components has been uploaded.Others components has not uploaded.
    Please suggest me what will be the Problem? and
    What is the solution for the same?
    Regards,
    MYS

    in customizing availability checked has been applied ,for this reason one additional screen is appearing in BAPI for all these components
    How this screen could be by passed

  • Very URGENT - Image upload

    I am using Lotus Domino server as the HTTP Server and WebSphere as the Application Server. I am trying to upload some files. I am able to upload text files but not images. Why? What and where could the problem be? Solution is required ASAP.
    Thanks in advance.

    If the image uploads but is not visible (it's size is correct but some bytes are altered) this is probably because you use a FileWriter object. The class is usefull for charater files but not for binary files (such as images or executables). You should try to use a FileOutputStream object.
    If the image doesn't upload at all... then you probably are somehow specifing that the file type is not allowed for the upload.

  • Problem regarding updation of Z-table through maintenance view

    hi ,
    I m facing problem in updation of Z-table through maintenance view (SM30).
    The scenario is that I have one customizing field in my Z-table which is checkbox.
    Now I need to populate 2 fields in Z-table on tick of this checkbox and clicking of SAVE button.
    For this I have created one module  ''change_field''  in PAI.
    Actually my database table is being updated but as soon as the control left my module all the updation that take place vanishes away.....
    So please help me in this matter.

    Thanks for ur previous effort it is updating the database but its effect is not shown immediately on screen.After i referesh the transaction it is dispalying the data.
    So can u please suggest me any way....
    Now i have one scenario infront of me....
    I need to restrict the data shown in maintenance view.
    I think it would be same as pop-up window displayed when we tick on 2nd radiobutton ("ENTER CONDITIONS")
    of intial screen of t-code SM30.
    Please suggest what shud i do....
    Thanks and reagrds,
    Amit
    Edited by: amit gupta on Jul 18, 2008 1:35 PM

  • How can I upload a (image) file through an applet ?

    How can I upload a (image) file through an applet ?

    have a look at http://www.haller-systemservice.net/jupload/
    i'm using Apache Jakarta HTTPClient to create a new HTTP connection to the webserver and sending a new POST request, which holds the image file. (So it's RFC1867 conform)
    there is also an open source implementation of such an applet on sourceforge. it's also called JUpload, but i think it's not maintained any more.

  • PO Upload through BAPI_PO_CREATE1 - Problem in limit

    Dear All,
    I am using BAPI_PO_CREATE1 for PO upload based on already created Limit based PR I am facing problem in Service account assignment.
    It gives me error "In case of Account assignment, please enter acc. assignmrnt data for item". Although I am supplying account assignment. Please tell me what is the reason of error. Is there any other way to link item with its limit details.
    How to pass the required data to the polimits structure. Kindly let me know
    PO Upload through BAPI_PO_CREATE1 - Problem in Service Item
    I have goen through the above link but its talking about service based PO, I need to create limit based PO.
    Any more info required kindly reply ,I will give... help me getting this....
    Thanks
    Uday

    Dear All,
    I am using BAPI_PO_CREATE1 for PO upload based on already created Limit based PR I am facing problem in Service account assignment.
    It gives me error "In case of Account assignment, please enter acc. assignmrnt data for item". Although I am supplying account assignment. Please tell me what is the reason of error. Is there any other way to link item with its limit details.
    How to pass the required data to the polimits structure. Kindly let me know
    PO Upload through BAPI_PO_CREATE1 - Problem in Service Item
    I have goen through the above link but its talking about service based PO, I need to create limit based PO.
    Any more info required kindly reply ,I will give... help me getting this....
    Thanks
    Uday

  • Image Upload Problems Today

    Today, on two occasions I've gotten an error trying to upload an image from my local hard drive to a thread.  Normally this has been working in IE9 for me, and in fact I've uploaded a number of images today successfully.  It happened once with a PNG and once with a JPEG  The reported problem, in the dialog the software puts up, was simply "Null".
    Any number of retries to upload the same or different image results in the same failure.
    I'm going to try uploading one of the very same images that failed before here.  If it fails, I'll capture the screen and upload it to my site, then post a link here.  If it succeeds, well, you'll just have to trust me that it happened.
    Bah, of course it succeeds when trying to reproduce a failure.
    Anyone else seeing image upload failures today?
    -Noel

    Likewise, I usually put up a lot of images.
    Here are several, just as a test and so this thread isn't completely filled with just all this boring old text...
    PNG:
    JPEG:
    GIF:
    Image insertion seems to work fine today.  The full moon WAS last night, after all...
    -Noel

  • Multiple image upload with save to database wizard problem

    hi,
    i need to upload multiple images (6) in a table called pictures. i will need the names stored in the database and the files uploaded on the server. since i am new to dreamweaver i can not figure out on how to make this work.
    the multiple image upload wizard uploads the images fine and creates a subfolder with the right id but i have no file names in the database at this point. i tried the multiple image upload with save to database wizard but i only get one upload button. it worked fine with one image but i need 6 pics uploaded. the i tried to first upload the pictures with the multiple image upload wizard and use the update wizard to add the names afterwards but that did not work either. hmm. would be great if someone could help me out.
    thanks, jan

    Thank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
    Again, thanks for the help.
    Jeremy

  • Image Upload - File Size Problem

    Hi,
    I have created an asp image upload page using the toolbox - everything works perfectly unless the image size is over 200KB. If an image is uploaded that exceeds 200KB then the page just empties all of the fields with no error message. I have set the limit within the image upload transaction to 3000KB. Is there something I have to do on IIS to allow larger file size uploads?
    Many thanks in advance
    Scott

    hello friend.
    a simple solution to this..
    are u using win2k3 ?
    i mean whats ur IIS version..
    if its IIS 6 then
    1.> first go to IIS server for the MMC
    2.> then right click and select the box which says allow metabase to be edited while IIS is running..
    3.>go to just go fire ur dreamweaver and browse open this folder.
    c:\windows\system32\inetsrv\metabase.xml
    is also called systempath on system drive
    changed this value
    of AspMaxRequestEntityAllowed
    to
    ="1073741824"
    it should look like this.
    AspMaxRequestEntityAllowed="1073741824"
    if there are mutiple enteries in the XML file u can safely change all these to the same value.
    Enjoy
    Moh!
    http://www.mohitech.com
    Sorry if there are spelling /grammar mistakes.. i dont bother to correct them :)

Maybe you are looking for