Upload and resize issue

Hi,
I'm having a very strange issue with Upload and resize, using Imagemagik as library. I usually use "Proportional - Fixed with", with the width I need. But the upload page gives me this error:
Notice: Use of undefined constant height - assumed 'height' in /home/webadmin/mydomain.com/html/includes/common/lib/image/KT_Image.class.php on line 338
The upload is configured as this:
function Trigger_ImageUpload(&$tNG) {
$uploadObj = new tNG_ImageUpload($tNG);
$uploadObj->setFormFieldName("imagen_pob");
$uploadObj->setDbFieldName("imagen_pob");
$uploadObj->setFolder("../poblaciones/");
$uploadObj->setResize("true", 800, 0);
$uploadObj->setMaxSize(2500);
$uploadObj->setAllowedExtensions("gif, jpg, jpe, jpeg, png");
$uploadObj->setRename("custom");
$uploadObj->setRenameRule("{id_pob}.{KT_ext}");
return $uploadObj->Execute();
Are you having issues with this trigger?
Thank you,
Ruben
Edit: If I use GD the error is this one
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 16432 bytes) in /home/webadmin/mydomain.com/html/includes/common/lib/image/KT_Image.class.php on line 1774
There is no room for just 16432 bytes?

Thanks for your reply.
So if I understand the script works fine on one server (memorylimit 120mB) but not the other (memorylimit 20 or 24 mB)?
That is the difference. Now I have made a restriction on both the size (kB) and max height/max width. That gives the opportunity to upload images of up to 1.2 mB and maxHeight/Width of 2300 pixels (memorylimit of  20 mB). The figures were found by trial and error.
Well sounds like a server issue. Is the new server php-cgi or apache mod php?
I don't know but I will have a look (Probably apache). Out of curiosity- will there be a difference?
Have you tried making a .htaccess file with php commands to control memory needed?
Yes and it didn't work - either I have made an error or the host have found out that many people due to still larger imagefiles do their best to bypass these memory limitations
I am currently looking into som javascripts (FLEX (found one in the ADOBE forum that may be able to do the trick) /FLASH may also be a possibility). Hoping to find a way to resize on the client and upload the reduced image to the host in one go. Many customers requests such a feature.
Thanks for your help.

Similar Messages

  • Image Upload and Resize Trigger Order Question

    Hello All,
    I do enjoy and like using the ADDT, however I do have a problem with the Image Upload and Resize trigger.
    I understand that this trigger is of the AFTER type, and as such, the insert record I have on the page is implemented first and the data is inserted into the table, then images uploaded provided they are smaller than 200 kB in size.
    However, as I have a field that is unique in the database, if the upload fails I am unable to upload any files which are under the size and put that information into the database, as there is already a record with the unique value.
    Is there an easy way to work around this by trying to capture the error before the data is inserted into the database?
    An idea I have is to: check the unique field with the value to be inserted, if fails, change unique value -> nothing inserted yet, no files uploaded.
    If the unique check passes, insert remaining data and trigger the upload and resize image trigger, once that is complete, have an update of the table to update with the unique value.
    I can see the above working, (I think), but I just have to write the code to implement the idea.
    I am not sure how to use the roll-back triggers either, if the Upload Image trigger fails, to remove the inserted record.  But if I can manage the roll-back trigger to remove the record, that is an option to consider for what I want to achieve.
    Thanks to any help people can provide.
    Cheers,
    Ian.

    Thank you for your reply.
    I have a work-around, I have split the forms over two pages, rather than put everything on one page - which introduced another issue, to which I have made a work-around of sorts too.
    The two forms, on different pages, is probably a better idea in terms of better management of data input. The work-around was a Header redirect based on a form variable, as, if I used a Custom Trigger to dynamically generate a new URL, it generated an escaped-encoded URL - to which I have not figured out how to fix.
    So, in the meantime, it works, so I will settle for that at the moment.
    Again, thanks for you reply.
    Ian.

  • Upload and Resize Image not inserting filename in database

    I have a form that I created using the insert record form wizard. One of the fields is a file field and my form enctype is set to multipart/form-data. I then used the upload and resize image behavior and set the parameters. When testing the form the file uploads to the correct directory but no entry is made into the database for that particular field. The other fields are entered into the database just fine. If it helps, here is the code generated before the  tag:
    <br />
    <br /><?php require_once('../../Connections/test.php'); ?>
    <br /><?php<br />// Load the common classes<br />require_once('../../includes/common/KT_common.php');<br /><br />// Load the tNG classes<br />require_once('../../includes/tng/tNG.inc.php');<br /><br />// Make a transaction dispatcher instance<br />$tNGs = new tNG_dispatcher("../../");<br /><br />// Make unified connection variable<br />$conn_test = new KT_connection($test, $database_test);<br /><br />// Start trigger<br />$formValidation = new tNG_FormValidation();<br />$tNGs->prepareValidation($formValidation);<br />// End trigger<br /><br />//start Trigger_ImageUpload trigger<br />//remove this line if you want to edit the code by hand <br />function Trigger_ImageUpload(&$tNG) {<br />  $uploadObj = new tNG_ImageUpload($tNG);<br />  $uploadObj->setFormFieldName("picture");<br />  $uploadObj->setDbFieldName("picture");<br />  $uploadObj->setFolder("../images/");<br />  $uploadObj->setResize("true", 120, 0);<br />  $uploadObj->setMaxSize(1500);<br />  $uploadObj->setAllowedExtensions("gif, jpg, jpe, jpeg, png, bmp");<br />  $uploadObj->setRename("auto");<br />  return $uploadObj->Execute();<br />}<br />//end Trigger_ImageUpload trigger<br /><br />// Make an insert transaction instance<br />$ins_team = new tNG_insert($conn_test);<br />$tNGs->addTransaction($ins_team);<br />// Register triggers<br />$ins_team->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");<br />$ins_team->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);<br />$ins_team->registerTrigger("END", "Trigger_Default_Redirect", 99, "../team.php");<br />$ins_team->registerTrigger("AFTER", "Trigger_ImageUpload", 97);<br />// Add columns<br />$ins_team->setTable("team");<br />$ins_team->addColumn("id", "NUMERIC_TYPE", "POST", "id");<br />$ins_team->addColumn("sort", "NUMERIC_TYPE", "POST", "sort");<br />$ins_team->addColumn("name", "STRING_TYPE", "POST", "name");<br />$ins_team->addColumn("title", "STRING_TYPE", "POST", "title");<br />$ins_team->addColumn("description", "STRING_TYPE", "POST", "description");<br />$ins_team->addColumn("picture", "FILE_TYPE", "FILES", "picture");<br />$ins_team->setPrimaryKey("id", "NUMERIC_TYPE");<br /><br />// Execute all the registered transactions<br />$tNGs->executeTransactions();<br /><br />// Get the transaction recordset<br />$rsteam = $tNGs->getRecordset("team");<br />$row_rsteam = mysql_fetch_assoc($rsteam);<br />$totalRows_rsteam = mysql_num_rows($rsteam);<br />?>

    If the reason is about memory, warning message should be happened when upload the image, because "show thumbnail" means resize at second time, how come you failed to resize the picture that system let it upload succeed at the first time by the same resize process?
    upload procedure
    a.jpg: 2722x1814, 1.2mb
    upload condition: fixed width 330px, 1.5mb
    "upload and resize" a.jpg -> file upload -> "resize engine" -> passed (but not work and no warning message)
    "show thumbnail" a.jpg -> "resize engine" -> failed (not enough memory)
    it doesn't make sense.
    and you miss an important key point, I upload the same picture myself, and resize work, so I said it happened at random, and that's why I am so worried.

  • Limit the filesize upload and resize a blob image in a report

    I'd like to know how to do both.. I have a file browse that uploads images to my application. It's called P34_IMG1. I would like to limit the file dimensions to a maximum of 200 x 300 px (but it can be less) and have a limit of 1MB in filesize.
    As well as the above, I'd like to know how to resize this image into a 'thumbnail' of sorts that shows the image much smaller in a report. The image shows but they are too big. How do I resize them?
    Thanks much
    -J

    oh I didn't see this reply, Tony. Sorry.
    No I don't have the image like that in the report, the report's query is like this:
    select * from (
    select      "LOTS"."LOTID" as "LOTID",
          "LOTS"."LOTNAME" as "LOTNAME",
          "LOTS"."ADD1" as "ADD1",
          "LOTS"."ADD2" as "ADD2",
          "LOTS"."ADD3" as "ADD3",
          "LOTS"."COUNTRY" as "COUNTRY",
          "LOTS"."MESSAGE" as "MESSAGE",
          "LOTS"."APPSTATUS" as "APPSTATUS",
          "LOTS"."SENDERMESSAGE" as "SENDERMESSAGE",
          "USERS"."USERNAME" as "USERNAME",
             dbms_lob.getlength("IMG1") as "IMG1"
    from      "USERS" "USERS",
          "LOTS" "LOTS"
    where   "LOTS"."USERID"="USERS"."USERID" AND (UPPER("USERS"."USERNAME") = UPPER (:APP_USER)))
    where (
    instr(upper("APPSTATUS"),upper(nvl(:P40_SEARCH,"APPSTATUS"))) > 0
    )and the IMG1 column in the report attributes has the number/date format as IMAGE:LOTS:IMG1:LOTID::::::inline:Download. So I don't know how to use this to resize the images, unfortunately.

  • How to fix finder window shrink and resize issue

    Macbook pro retina 13in running 8.1. Finder window, when in full screen, changes size; shrinks from bottom of screen. After moving a file or two from one folder to another, finder window changes size; gets smaller (bottom frame moves upwards) as if the dock is occupying the space; but no dock is shown until I hover on the dock with mouse. Also, upper portion of finder window goes under title bar as seen in screenshot. Any know issues or fix?

    Greg, in addition to Scott's suggestion, when you choose "Greg" (your Home folder) are there 2 "home" folders in there or just on the sidebar? If there are 2 make sure one is empty and delete it.
    If not try this:
    Navigate to ~(yourhome)/library/preferences and trash these two files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist
    (You will have to reset a few finder prefs the way you like them.)
    Then log out and back in again.
    Let us know.
    -mj
    [email protected]

  • External List Management - Issue in File Upload and Map

    I am facing problem while maintaining external lists through ELM and executing step upload and map file for a tab separated text format file.
    The file data is getting shown properly in file preview through mapping format but when I execute it through external list the data is not getting uploaded at all.The log is not showing me any error or reason for the same.
    I want to know apart from basic ELM config, is there some other configuartion required to enable ELM to upload and map the file in turn.
    Message was edited by:
            Pratyasha Shishodia

    I got the resolution to this answer.
    The issue was the task under ELM workflow was not marked for background processing and hence it was always in ready state and never proceeded ahead thru ELM transaction.All the steps due  to this reason were shown in planned or ready state.
    There was no error in ELM as everything in the system had no issues and hence nothing came in error log.

  • Hi Guys,  I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out

    Hi Guys,
    I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
    Alex

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • How do I alter the html in the simple form contact us so it will upload and function on Bluhost?

    All representatives are actively assisting other customers. Your estimated wait time is 7 minute(s) and 0 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 7 minute(s) and 0 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 0 second(s) or longer. Thank you for your patience.
    You are now chatting with 'Parikshit'
    Parikshit: Hello K.
    Parikshit: I read your issue description.
    Parikshit: The form doesn't upload there. Does the form work fine when you test it on your computer by previewing in browser from Muse?
    k: hello I am examining my page in developer ( source) in safari and I can see lines of tesst that say the server encountered and error.
    k: If I export to my desktop, I can see the form but it does not work. If I upload it does not appear at all, and that is in not what adobe says the form will do. Adobe says the form will APPEAR but not function. It does not appear OR function. I had tried the 3 versions of php.... now I need to see a working form to a usual, commercial host so that I can copy the relevant code.
    k: lines of text
    k: And no, it does not work when I preview in browser
    k: When I preview to browser it does turn red for a while.... but it doesn't do anything.
    Parikshit: Can you publish the site in BC one to check if it works, if it doesn't then there must be some issue with the form itself. It's code.
    k: no. I do not have a subscription and my client does not want BC used at all. I have the new CC muse which is supposed to finally work without having to upload to BC.
    k: I have several cloud subscriptions, when cloud ever starts to work....
    Parikshit: You don't need to work in BC or have it as your host. This is just to test if it works.
    Parikshit: Just a trial site.
    k: but my client refuses to have anythig to do with BC, and I don't blame them. They had bad experiences inthe past and do not want to do anything that involves BC.
    Parikshit: You won't have to pay for the site.
    k: I don't want to involve BC because I promised my client I would not go there. They were very insistant. We were finally going to use Muse because you no longer are required to use BC. BC was the big sticking point. But if I can't do this without using BC, then I am right back to where I was year ago. No better.
    k: I think I have a limited number of occasions when i can use BC, and I don't want to do it now for this simple contact form. What a cheat.
    k: What other functions in Adobe Muse CC won't work unless they are euphemistically " tested" on BC? Save me the time and dissappointment tryig to use this software.
    k: Adobe states that the form will appear when uploaded to a outside site, but not work. The form does not upload, and the form does not appear. I tried version 5.2,5.3, 5.4 and then put php back to version 5.3.
    Parikshit: There is nothing wrong with it. Did you change the code of the form?
    k: no. And there is plenty wrong with it, it does not appear. I did not change the code because I want to look at a sample that has been altered to make sure I alter it the correct way. Where can I find the page source of a page that has the simple contact form widget used and uploaded to a commercial hosting site, and the forem works.
    k: form works
    k: This was a bug that was described last year and the release of this version advertised it had been corrected. It is not corrected.
    Parikshit: It is corrected and several users are able to use it fine.
    k: Then send me a page from one of the ones that is working fine.
    k: who are those several users? Give me names.
    Parikshit: there is either something wrong on the host's end that this doesn't get uploaded. We've already had many users upload it to an external hosts. We don't keep user site URLs with us, and hence I won't be able to provide you with one. But the best method here would be to post this on our forums, and then all our forum members (including users who have successfully implemented this) will be able to see the post and reply to it.
    k: I've seen them all complaining that this still doesn't work. Perhaps you should encourage some of the successful uploaders to post to the forum. Send me a link. I had numerous tech support people at the host check this and there was nothing wrong with their PHP or the upload path.
    Sorry, our chat session has ended due to circumstances beyond our control. Please feel free to contact us again if you need further assistance.

    Can you supply a link?

  • Please help-Trying to compress to Mpeg-2 for Convention, also resizing issues

    Hello,
    I just recently finished making an AMV in Adobe Premiere 5.5, and I am having trouble trying to figure out how to compress it into an Mpeg-2 source for a competition/convention.
    I also have these massive black borders on the side of my video that I know is probably due to improper resizing on my part, and although I have tried to remedy this with a new avisynth script of the exported uncompressed AVI (before compressing to MPEG-2), whenever I try to run the avisynth script in either VirtualDubMod or TMPGEnc (the converting program recommended by: http://www.animemusicvideos.org/guides/mpegforcons/) it crashes, although the original video does work.
    This is the avisynth script I have created for the post-video:
    FFVideoSource("C:\Users\Freeman\Desktop\Fight the Power.avi")
    FFCopyrightInfringement("C:\Users\Freeman\Desktop\Fight the Power.avi")
    AssumeFPS("23.976")
    SSRC(48000)
    LanczosResize(720,352)
    AddBorders(0,64,0,64)
    per the recommendations from the guide listed below
    I do not know if the resizing I have set up in the new avisynth script will fix my resizing issues, and I would like to improve that as much as possible, so if someone could clarify for me, that would be greatly appreciated.
    You may also notice some audio issues throughout the video, however on further playback this never appears to happen in the same place. I believe this is caused by poor audio quality, and I have a friend of mine working on setting up a lossless source that I will try to recompress with the video before friday, however if someone else might know what is causing this, any advice would be greatly appreciated.
    Here is the current MPEG-2 I have, however for obvious reasons, I do not consider it acceptable as of yet:
    http://www.megaupload.com/?d=IIKYWRXF
    The original export from Premiere is Microsoft AVI Uncompressed, and then attempted to convert to MPEG-2 (I tried multiple settings, they all have the same sizing issues), and as I said before, no matter what I try to do with the avisynth script, it crashes.
    I have even tried taking out every line from the new avisynth script except for the first two detailing the location of the video and audio, however this does nothing, it still crashes.
    I had to convert all my original source avisynth scripts to AVI files (that are massive, as I am editing from 52 episodes of Fullmetal Alchemist: Brotherhood), and so editing the original scripts is impossible at this point, because to my knowledge, that would mean I would have to reconvert them all to AVI, which took over 16 hours, and then that would probably make me have to re-edit this entire video (which if you look at it, based on length and how much work I've put into it: is impossible, especially given the time constraints).
    So anything that I can do to fix this will have to be done to the export from Premiere, unless there is a way to work with the AVI's that I made from the avisynth scripts.
    The source is primarily 16:9 DVD (Fullmetal Alchemist) and very few parts from a 4:3 DVD (Naruto). (You can recognize these parts in the video, it is whenever someone is rowing in a boat during the lyrics "Row Row")
    The avisynth script for all the fullmetal alchemist DVD's is as follows:
    mpeg2source("F:\DVD RIPS\Music Video Rips\Brotherhood\Disc 1 (1-7)\MainMovie\FMA_BROTHERHOOD_P1_D1\FMAB 1-7.d2v", cpu=4)
    ConvertToYV12()
    Spline36Resize(848,480)
    #TTempSmooth()
    FastLineDarkenMod()
    LSFmod(strength=120)
    LUTDeRainbow()
    And the avisynth script for the one Naruto DVD is as follows:
    mpeg2source("F:\DVD RIPS\Music Video Rips\Random\Row Row\MainMovie\ROW ROW\VTS_01_1.d2v")
    TFM()
    TDecimate()
    Spline36Resize(848,636)
    Crop(0,78, 0,-78)
    These recommendations came from what I could figure out from:
    http://www.animemusicvideos.org/guides/avtech31/
    If anyone is curious, the song is "Libera me from Hell", and it is 44100 from what I could tell when I ran it in WINAMP (I converted it from mp3 to wav through WINAMP, if there is a better way that I am unaware of, please let me know).
    I know this is extremely long, and thank you anyone who has taken their time to look through it, it is greatly appreciated.
    The deadline for this is friday (5/20/11), so I need help with this ASAP and thanks,
    Dexter

    Dexter,
    Those "black borders," if they are visible in the Program Monitor, are most likely due to a mis-match between the Source Files and the Sequence Preset.
    If they are only showing up upon Export, then there is likely a mis-match between your Sequence and your Export, and could be either with the Aspect Ratio, or if using non-square pixels, the PAR (Pixel Aspect Ratio).
    I'll defer any commens on AVISynth to the experts here.
    Good luck,
    Hunt

  • Fed up with speed and connection issues since exch...

    Last Monday BT done some upgrade work at our local exchange.  From that point onwards we have had speed and connection issues.
    I use a Belkin G Router rather that the Homehub some that we can run a printer through it and that is plugged in to telephone socket via an extension.  But before we blame any of that we have gone back to the Homehub2 so we could see the difference and there is very little.
    We live in the countrside so broadband speeds are not great in any case.  About 1.8 mg I guess but we have always had no problems.  It was good enough for us and we could watch Iplayer.
    I was getting fed up with drop outs and speed and yestereday an Openreach guy came out tested everything could not find any problems apart from speed.  He made some calls and was told our band width had been capped.  He had that removed and yesterday evening speed was a bit better.
    Today just as bad again.
    Details from router:
    Date/Time          January 25 2012 , 21 : 14 : 25       
    Version Info      
    Runtime Code version   F5D7633-4Av1_UK_1.00.009
    Boot Code Version          1.0.37-5.15
    Hardware Version           V1.0J3
    ADSL Modem Code Version        A2pB015c6
    ADSL     
    Type     
    Status   No Defect
                    Downstream      Upstream
    Data rate             287         440
    Noise margin     32.3        18.6
    Output power   14.8        12.7
    Attenuation       58.5      28.9
    Figures from speedtester BT
    Download speed: 180  Kps
    acceptable range speeds is 100 - 250 Kps
    DSL  Connection rate 286 Kps (DOWN_STREAM)  440Kps (UP_STREAM)
    Upstream Test
    Upload Speed 346 kps
    Upstream Profile 440Kps
    Any help would be appreciated
    Solved!
    Go to Solution.

    Hi Welcome to the forums
    Your high noise margin  will have a major impact  on your speed 
    If you post the full stats from your router
    For homehub – type 192.168.1.254 into your browser
    Navigate to ADSL Settings or use the A-Z at the top right of the home page and scroll down to ADSL Settings and click on it
    Click on More Details and then post the full results.
    also post the full results from http://speedtester.bt.com/
    Have you tried connecting to the test socket at the rear of the master socket
    Have you tried the quiet line test? - dial 17070 option 2 - should hear nothing - best done with a corded phone. if cordless phone you may hear a 'dull hum' which is normal
    also you could try the hints given by poster RogerB in this link they may help http://community.bt.com/t5/BB-in-Home/Poor-Broadband-speed/m-p/14217#M8397
    Then someone here may be able to help and offer more advice.
    This is a customer to customer self help forum the only BT presence here are the forum moderators
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Activation of batch management -Uploading and creation of new materialBATCH

    Dear All,
    Good day !!!
    We have activated Batch management in our business, whcih was running without BATCH management Active before.Now we have activated the batch management ,Automatic in case of GR creation and by FIFO basis in case of goods movement and SD and PP modules also.
    Now every transactions and data are working properly. But we need clarity on the master data upload and inventory upload.
    Suppose if we need to carry out the for the same material Batch to be activated or whether we need to go for new material and batch management active , Pleaes clarify on the process and also how we could upload the existing inventory from the existing NON Batch material into BATCH material (Which is created wholly as a new materail with batch)
    KIndly provide on the above 2 points which would be helpful for our business.
    Thanks and Regards,
    Amol.

    Hi
    I think with the help of  FI create a dummy cost centre and issue the material to the cost centre ,
    Look no Purchase requisitions or purchase orders are open on the material
    activate batch management to material and using 202 movement get back the material .
    as the process is very tedious use the help of badis for updating and cancellation if required
    this may be only process for activating new batches for material

  • Problems with uploading and synching albums

    I am a fairly new user to Elerments, although I've used Photoshop for years.  On-line, I have five albums that I have uploaded and friends can view them.  I am trying unsuccesfully to upload another album and I follow all the steps (I think) in the manual, but my newest album is not available on line. 
    Additionally, I am having teouble synching files and get an error message.  When I thell Elements to "fix it"  the computer just sits and does nothing for a long time.
    Can anyone suggest an approach to solving these issues?
    Thanks.
    Doug

    What you need from your old Mac is a file titled Domain.sites2 which will be located in the your Users/Home/Library/Application Support/iWeb folder where the home folder is the one with this icon:
    Find that file and move/copy it to the same folder on your new Mac.  If there is none go to the Application Support folder and create an "iWeb" folder.
    If you do not have that  domain file you will have to start over from scratch and rebuild your site.  iWeb cannot import published html files.  However, Chapter 2.3 on the iWeb FAQ.org site has tips on using some of the existing files, image, audio, video, etc., from the published site in the recreation of the site.
    To publish to a 3rd party FTP client I suggest you publish your site first to a folder on your hard drive and then use the free FTP client Cyberduck to upload the site folder and its index.html file to the server.
    OT

  • Uploading and view an document in application server from abap

    Dear SDN users,
    I have a similar requirement:
    i need to upload a docuement into SAP  under a particular system generated unique No.
    My basis team has given a file path in application server.
    So i need to upload and view(Not Downloading) that uploaded document at any time in future.
    Note : Each System generated no is having different documents.
    Thanks in advance.
    Regards
    RAJ
    Moderator Message: Do not dump your requirement. Get back to the forums in case you've any specific issues.
    Edited by: Suhas Saha on Jan 14, 2012 3:50 PM

    Dear Prakash,
    As i Said  i have to  upload and Just view the documents.
    its an urgent requirement.
    i want to upload multiple documents and i have to raed with file name.
    Note : currently it is downloading only last uploaded one.
    following is the code:
    DATA: V_DSN(40) VALUE '\usr\reports\fico\',
          V_STR(1673) TYPE C.
    FORM UPLOAD .
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = L_FNAME
    FILETYPE = 'BIN'
    IMPORTING
    FILELENGTH = LENGTH
    TABLES
    DATA_TAB = ITAB.
      OPEN DATASET V_DSN FOR OUTPUT IN BINARY MODE..
      LOOP AT ITAB INTO V_STR.
        TRANSFER V_STR TO V_DSN LENGTH 1673.
      ENDLOOP.
      CLOSE DATASET V_DSN.
      IF SY-SUBRC EQ 0.
    MESSAGE S001(ZSD) WITH 'Sucess'.
      ENDIF.
    EndForm.
    FORM DOWMLOAD .
    CLEAR WA_DEMO.
    OPEN DATASET V_DSN FOR INPUT IN BINARY MODE.
    DO.
    READ DATASET V_DSN INTO ITAB-FIELD MAXIMUM LENGTH 1673.
    IF SY-SUBRC = 0.
    APPEND ITAB.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    FILENAME = DWN_FILE
    FILETYPE = 'BIN'
    BIN_FILESIZE = LENGTH
    IMPORTING
    FILELENGTH = LENGTHN
    TABLES
    DATA_TAB = ITAB.
    endform
    Regards
    MNR
    Edited by: mnr4sap on Jan 14, 2012 1:54 PM

  • Apex application file -upload and download a file.

    hi
    im having an issue with an application i created,its about uploading and downloading a file in application.the application is working and was able to upload and download a file but i have not idea there the file is stored in the application database,try to search for the file,its something dealing with the apex_application_file and i cant find it.
    Any idea where the file is stored?
    thnx
    nivesh

    Dear nivesh!
    If you upload a file into an APEX application the file is temporarily stored in the APEX_APPLICATION_FILES table. If you close your current application page the APEX_APPLICATION_FILES table will be cleared. You should create your own table to store files in a BLOB column. I've create an example for uploading images into an APEX application on apex.oracle.com. If you want to have a look at it please use the following credentials:
    Workspace: flo_demo
    Username: dev_null
    Password: password
    Application: 61811
    Yours sincerely
    Florian W.

  • How to upload and download files using FTP to a server(webserver) in JSP

    I have to upload and download multiple files Of(size >5 MB)using FTP to a
    Server(webserver) in JSP
    how to do that ?

    Or he could create his own tag libraries, no? :)One supposes that, technically, one could create a taglib wrapper around an existing FTP library. There might be licensing issues with distributing that taglib wrapper.
    Of course, one could find the FTP RFC online, read it, and implement one's own FTP client implementation, complete with a tag library access point.

Maybe you are looking for

  • Receiver Axis SOAP Adapter

    I have a SOAP receiver and am using the HTTP (Axis) Transport protocol. The reason for this being that the web service expects a web service security token with username and password. I have loaded aii_af_axisprovider.sda with the mandatory .jar file

  • How can I keep the file/ album names when copying music from the Finder to iTunes?

    Hi, Is there a possibility to keep the file names one uses in the Finder when adding music to iTunes? [e.g. that a Beethoven symphony still ends up under 'Beethoven/ symphony No./' and not under the name of the orchestra/ dirigent] Thanks in advance

  • SQL Developer 3.0/3.1 64 Bit Memory Setting

    Hi, To avoid hitting memory setting issues with SQL Dev 3.0/3.1 64 bit clients, you can make the following changes: 1) Close SQL Developer 2) Locate the sqldeveloper.conf file Found in directory: C:\<SQLDeveloper32\sqldeveloper\sqldeveloper\bin 3) Ch

  • Is there a way to combine projects?

    I have a years worth of 1-2 minute movies (or shorter) in iMovie and I want to make a DVD out of them. Is there a way I can merge projects into one? or send a bunch to iDVD at the same time without the media browser?

  • For the love of God, please fix player 10.0.42.34!!!

    Just as the subject says.  I have uninstalled and reinstalled the latest flash player update three times within the last three days and I've updated Firefox twice within that same timeframe.  Each time I update the player, my videos and flash ads sto