Reupload file/change uploaded file

Hi Friends,
I need requirement like  to reupload/change the already  uploaded file  in BSP Application.
A Brief Note:
I got an ITAB(STD),on which through Iterator , I am uploading the file in The application server(The actual path will be stored in  one of the database table field<b>(STUD).</b> Presently I uploaded one file for each row of Itab,and made it as display_url, to display the file.It is working fine. But when I want to change the  already uploaded file/overwrite the file path  & upload again through change file button, it is not working at all.
<b>The code I used as follows</b>:
<u>For file Reupload:</u>
DATA: fileUpload TYPE REF TO CL_HTMLB_FILEUPLOAD.
fileUpload ?= CL_HTMLB_MANAGER=>GET_DATA(
                       request = request
                       id      = 'STUD'
                       name    = 'fileUpload' ).
if fileUpload->file_name is not initial.
file_name      = fileUpload->file_name.
file_mime_type = fileUpload->file_content_type.
file_length    = fileUpload->file_length.
file_content   = fileUpload->file_content.
DATA: fname type string.
Enter the path to be stored in the server here....
Data : filepath type string,
       t1 type string.
filepath = file_name .
while filepath CA '\'.
  split filepath at '\' into t1 filepath.
endwhile.
Enter the path to be stored in the server here....
*This location is not shared,…
fname = '\default_host\sap\bc\bsp\sap\tmp\' .
concatenate fname filepath into fname.
close dataset path.
OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
TRANSFER file_content TO FNAME.
CLOSE DATASET FNAME.
You can generate the URL..display_url shows you URL
REPLACE ALL OCCURRENCES OF '/' IN fname WITH '\'.
concatenate '
by-sap-Bass.com' fname into display_url.
IF  <row1> IS ASSIGNED.
<row1>-STUD = fname.
MODIFY STD from <row1>.
endif.
endif.
<u><b>The Iterator code:</b></u>
when 'tv1'.
DATA: tv TYPE REF TO cl_htmlb_tableview.
tv ?= cl_htmlb_manager=>get_data(
                        request      = runtime->server->request
                        name         = 'tableView'
                        id           = 'tv1' ).
IF tv IS NOT INITIAL.
  DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
  tv_data = tv->data.
  IF tv_data->prevselectedrowindex IS NOT INITIAL.
  FIELD-SYMBOLS: <row1> type LINE OF ITABTYPE .
    READ TABLE ITAB INDEX tv_data->prevselectedrowindex
    ASSIGNING <row1>.
    DATA value TYPE string.
  if <row1> is assigned.
value = tv_data->get_cell_id( row_index    =
                 tv_data->prevselectedrowindex
                                   column_index = '8' ).
    inputfield ?= cl_htmlb_manager=>get_data(
                            request      = request
                            name         = 'inputfield'
                            id           = value ).
    <row1>-STUD = inputfield->value.
method
IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START .
WHEN 'STUD'.
IF p_edit_mode IS  INITIAL.
    DATA: STUD TYPE STRING.
    STUD = m_row_ref->STUD.
     p_replacement_bee = CL_HTMLB_IMAGE=>FACTORY(
                          id        = p_cell_id
                  src = '@IT@'
    tooltip  = 'Please Press this Link for Detail Description'
         onClick ='Event1' ).
ELSE.
      p_replacement_bee = CL_HTMLB_BUTTON=>FACTORY(
                 id        = p_cell_id
                 text         = 'Click to change File'
                tooltip   = 'Press this to change the linked file'
             onClick   = 'Event1' ).
ENDIF.
why this is not working for me?.I look foward your suggestions in this regard.
Regards
CSM Reddy

Check out if this sample application created by me would be helpful:
[code]*----
*ZRK_FILE_TEST/CHANGE_FILES.HTM
local types
types: table1 type table of ZFILE_UPLOAD.
page attributes
display_type TYPE STRING
display_url TYPE STRING
file_content TYPE XSTRING
file_length TYPE STRING
file_mime_type TYPE STRING
file_name TYPE STRING
flag TYPE STRING
path TYPE STRING
paths TYPE TABLE1
result TYPE XSTRING
layout
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2002" >
  <htmlb:page title="demo " >
    <htmlb:form encodingType="multipart/form-data" >
      <htmlb:textView text   = "Select a row to change the file"
                      design = "EMPHASIZED" />
      <htmlb:tableView id             = "tab01"
                       table          = "<%= paths %>"
                       selectionMode  = "singleselect"
                       onRowSelection = "myEvent" >
        <htmlb:tableViewColumns>
          <htmlb:tableViewColumn columnName          = "s_no"
                                 wrapping            = "true"
                                 width               = "100"
                                 horizontalAlignment = "center"
                                 title               = "Serial No." >
          </htmlb:tableViewColumn>
          <htmlb:tableViewColumn columnName          = "path"
                                 wrapping            = "true"
                                 width               = "100"
                                 horizontalAlignment = "center"
                                 title               = "Path" >
          </htmlb:tableViewColumn>
          <htmlb:tableViewColumn columnName          = "myicon"
                                 type                = "user"
                                 title               = "Image"
                                 horizontalAlignment = "center" >
            <htmlb:link id      = "$TVCID$"
                        text    = "Change File"
                        onClick = "$CARRNAME$" >
            </htmlb:link>
          </htmlb:tableViewColumn>
        </htmlb:tableViewColumns>
      </htmlb:tableView>
      <%
  if flag = 'X'.
      %>
      <htmlb:fileUpload id   = "myUpload"
                        size = "30" />
      <htmlb:button id      = "upload"
                    onClick = "myEvent"
                    text    = "Upload" />
      <%
  endif.
      %>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>
eventhandler OnCreate
this handler is called once the page is first created (stateful mode)
it performs a once-off data initialization or object creation
select * from ZFILE_UPLOAD into table paths.
eventhandler OnInputProcessing
event handler for checking and processing user input and
for defining navigation
DATA: event TYPE REF TO cl_htmlb_event.
DATA: event_name type string.
DATA: event_type type string.
data: str1 type string.
data: str2 type string,
str3 type string.
data: index type i.
event = cl_htmlb_manager=>get_event( runtime->server->request ).
event_name = event->name.
event_type = event->event_type.
if event_name = 'link' and event_type = 'click'.
  split event->id at '_' into str1 str2 str3.
  index = str2.
  flag = 'X'.
endif.
if event->id = 'upload'.
DATA: fileUpload TYPE REF TO CL_HTMLB_FILEUPLOAD.
fileUpload ?= CL_HTMLB_MANAGER=>GET_DATA(
                       request = request
                       id      = 'myUpload'
                       name    = 'fileUpload' ).
file_name      = fileUpload->file_name.
file_mime_type = fileUpload->file_content_type.
file_length    = fileUpload->file_length.
file_content   = fileUpload->file_content.
DATA: fname type string.
Enter the path to be stored in the server here....
Data : filepath type string,
       t1 type string.
filepath = file_name .
while filepath CA '\'.
  split filepath at '\' into t1 filepath.
endwhile.
fname = '\documentation\raj\' .
concatenate fname filepath into fname.
OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
TRANSFER file_content TO FNAME.
CLOSE DATASET FNAME.
REPLACE ALL OCCURRENCES OF '/' IN fname WITH '\'.
to update the new path into a data base table
data: s_no type int3.
data: wa type ZFILE_UPLOAD.
read table paths index index into wa.
wa-PATH = fname.
modify ZFILE_UPLOAD from wa.
endif.[/code]
The DB table ZFILE_UPLOAD has the following fields:
S_NO     INT3
PATH     CHAR100
Hope this helps,
Cheers:)
Ravikiran.
PS: Pls assign points if you find this answer helpful.

Similar Messages

  • Change upload file name with com.oreilly.servlet.MultipartRequest to handle the file upload

    1. when use com.oreilly.servlet.MultipartRequest to handle the file upload, can I change the upload file name .
    2. how com.oreilly.servlet.MultipartReques handle file upload? do it change to byte ?
    what  different?  if I use the following method?
       File uploadedFile = (File) mp.getFile("filename");
                   FileOutputStream fos = new FileOutputStream(filename);
                    byte[] uploadedFileBuf = new byte[(int) uploadedFile.length()];
                   fos.write(data);
                 fos.close();

    My questions are
    1) when use oreilly package to do file upload , it looks like i line of code is enough to store the upload file in the
    file direction.
    MultipartRequest multi =
            new MultipartRequest(request, dirName, 10*1024*1024); // 10MB
    why some example still use FileOutputStream?
    outs = new FileOutputStream(UPLOADDIR+fileName); 
        filePart.writeTo(outs); 
       outs.flush(); 
      outs.close();
    2) can I rename the file name when I use oreilly package?

  • How can i change upload file name?

    hi
    I performed a upload Jsp page by OJSP file access in jdeveloper,and it can upload file!
    but i want to change uplaod file name!
    How can i do?
    Any help will be appreciated!
    Thanks
    Jiawei Zhao

    My questions are
    1) when use oreilly package to do file upload , it looks like i line of code is enough to store the upload file in the
    file direction.
    MultipartRequest multi =
            new MultipartRequest(request, dirName, 10*1024*1024); // 10MB
    why some example still use FileOutputStream?
    outs = new FileOutputStream(UPLOADDIR+fileName); 
        filePart.writeTo(outs); 
       outs.flush(); 
      outs.close();
    2) can I rename the file name when I use oreilly package?

  • Can't change/upload songs on my mini.

    What's up guys.
    Here's my problem; about a week or so ago I noticed that everytime I uploaded a new song to my mini or tried to change around a playlist or delete some songs, once I unplugged it from my computer and used it, no change I made was being saved. I noticed that everytime I tried to do something in iTunes, I'm gettin this message:
    iTunes.exe - Corrupt File
    The file or directory \iPod_Control\iTunes\Temp File 9 is corrupt and unreadable. Please run the Chkdsk utility.
    I have no idea what that means, but I searched my comp for chkdsk, ran it, and still nothing happened. I haven't been able to put any new music to my iPod, and since I bought this over a year ago, CC can't do anything for me.
    I also tried un-installing both my Ipod and iTunes, and re-installing it from my disc - nothing. Un-installed everything again, downloaded the latest iTunes from apple.com - nothing. Still same message. I'm stumped.
    Anyone have any idea how to help me out? Thanks a bunch!

    See this.
    What to do if iTunes displays a corrupt file message.
    And this thread.
    Da Gopha's corrupt file info.

  • Forum ?  Did they change uploading ?

    I notice that it says ( Maximum file size: 2.0 MB. )  where it used to be under 5 MB.
    Also wasnt there a way to upload a sample clip of footage ?
    Something with inserting it.
    Has this changed ?
    Or am I just thinking there was ?
    Thanks:  GLenn

    Glenn,
    There have been some changes, such as the Attach File function that was at the bottom-left of the editing screen. Adobe is working to plug a security hole with that. I have actually seen it show back up in some fora, but it is still MIA for most.
    The Attach Video (icon above the camera) has always been via a link to a Web-site with the file. The file size might have changed, but think that it has always performed about the same way.
    Good luck,
    Hunt

  • Help Regarding Sales Order Change Upload

    Dear gurus
    I need to change a line item quantity of a sales order in va02.
    i have a excel file i want to change that data in sap.
    how to do that?.
    regards
    Saad.
    Ill be very thankful if you guide with a simple sample.

    simply you can use lsmw using recording with VA02
    for details  refer
    http://help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/content.htm
    Regards'
    sateesh
    Edited by: sateesh kumar on Sep 7, 2009 11:23 AM

  • How do I change/upload my custom avatar?

    How do I change my avatar to the custom one? Not the one from these that are listed by default.

    Hello again, Munas.
    Just thought I would try again to follow my own tracks.   Go to Your stuff > Profile > Actions (Change Avatar) > From the selection that appears scroll right down to the bottom of the page.    My page shows a blue lined empty box at the very bottom and words in blue letters ... 'Add another avatar'.   Click on those words.  You will then find an invitation to upload an image (which will eventually be put into the empty blue box).   Regretably I don't have space to go further without losing other images I have saved but try to follow this and see how you progress.   Good luck.
    Just crosses my mind.   How long have you been at level 3.   Perhaps the powers that be have not yet noticed and made the custom avatar open to you. 

  • ICloud Status: How do I change uploaded songs to matched?

    I'm only talking about songs that I know exist in the iTunes store when I checked. They are uploaded and aren't matched in iTunes Match. Can I tweek something on the song (name or metadata) to get it to rescan and match it in iTunes?

    Just because Shazam recognized the song being played doesn't mean that the waveform of the song is close enough for the iTunes Match service to match it to what is in the iTune Store. For example, if you have, say, Pink Floyd's Dark Side of the Moon in your iTunes library from a CD prior to the recently released remasters, it is a good chance that most of those tracks will upload rather than be "matched."
    We do not know what all the variables are that the iTM process looks at to make a "match" but just because an song is in your iTunes library and available in the iTunes Store doesn't mean it will match. The process is not 100% accurate and probably never will be.

  • PROBLEM LOADING DATA FROM A TEXT FILE.

    Hi,
    Im having a problem in loading my csv file to the database. Im using Oracle Database 10g for Linux. Im in p. 228 in the book. This is my csv file look.
    db_name     db_version     host_id
    db10     9.2.0.7     1
    db11     10.2.0.1     1
    db12     10.2.0.1     1
    db13     9.2.0.7     1
    db14     10.2.0.1     1
    db15     9.2.0.7     1
    I loaded this data to an existing table called DATABASES loaded from tab delimited. FILE CHARACTER SET is UNICODE UTF-8. Then I browsed the name of the csv file to be uploaded. It looked like this.
    File Name      F23757437/db2.csv     Reupload File      
    Separator      
    Optionally Enclosed By      
         First row contains column names.
    File Character Set      
    I CLICKED NEXT, THIS IS WHAT IT LOOKED LIKE.
    Schema:      HANDSONXE06
    Table Name:      DATABASES
    Define Column Mapping      
    Column Names     %
    Format     
    Upload     yes
    Row 1     "db10" "9.2.0.7" 1
    Row 2     "db11" "10.2.0.1" 1
    Row 3     "db12" "10.2.0.1" 1
    Row 4     "db13" "9.2.0.7" 1
    Row 5     "db14" "10.2.0.1" 1
    Row 6     "db15" "9.2.0.7" 1
    I CLICKED LOAD AND THIS WAS THE RESULT.
    * There are NOT NULL columns in HANDSONXE06.DATABASES. Select to upload the data without an error.
    Schema
    Down
    Table Name
    Down
    File Details
    Down
    Column Mapping
    Load Data      
    Schema:      HANDSONXE06
    Table Name:      DATABASES
    Define Column Mapping      
    Column Names     COLUMN_NAMES
    Format     FORMAT
    Upload     UPLOAD
    Row 1     "db10" "9.2.0.7" 1
    Row 2     "db11" "10.2.0.1" 1
    Row 3     "db12" "10.2.0.1" 1
    Row 4     "db13" "9.2.0.7" 1
    Row 5     "db14" "10.2.0.1" 1
    Row 6     "db15" "9.2.0.7" 1
    I WAS REALLY WONDERING WHAT WAS REALLY WRONG. AN ERROR MESSAGE SAID, THERE ARE NOT NULL COLUMNS IN THE HANDSONXE06.DATABASES. I DIDN'T KNOW HOW TO FIX IT. WHAT DO I NEED TO CHANGE TO LOAD THE DATA WITHOUT AN ERROR? IT REALLY CONFUSED ME A LOT AND HOW COME I HAVE AN ERROR? PLEASE HELP ME. I NEED AND ANSWER TO MY PROBLEM PLEASE. I CANNOT GO FORWARD BECAUSE OF THIS.
    THANKS,
    JOCELYN

    I'm not certain of the utility you are using to load the data, however, I completed the following test using SQL Loader to insert the data into my table. Your process should work similar if the trigger and sequence are created for the table you are loading.
    SQL> create table load_tbl
      2  (db_id number(3) not null,
      3   db_name varchar2(100) not null,
      4   db_version varchar2(25),
      5   host_id number(3) not null)
      6  /
    Table created.
    SQL> desc load_tbl
    Name                                      Null?    Type
    DB_ID                                     NOT NULL NUMBER(3)
    DB_NAME                                   NOT NULL VARCHAR2(100)
    DB_VERSION                                         VARCHAR2(25)
    HOST_ID                                   NOT NULL NUMBER(3)
    SQL> create sequence db_id_seq;
    Sequence created.
    SQL> create or replace trigger db_id_trig
      2  before insert on load_tbl
      3  for each row
      4  when (new.db_id is null)
      5  begin
      6    select db_id_seq.nextval into :new.db_id from dual;
      7  end;
      8  /
    Trigger created.
    The contents of the data file, control file and log file are below for the load into load_tbl.
    C:\>sqlldr userid=username/password@db control=db_id_load.ctl log=db_id_load.log
    SQL*Loader: Release 9.2.0.6.0 - Production on Thu Jan 18 17:21:47 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Commit point reached - logical record count 6
    C:\>
    SQL> select * from load_tbl
      2  /
         DB_ID DB_NAME              DB_VERSION                   HOST_ID
             1 db10                 9.2.0.7                            1
             2 db11                 10.2.0.1                           1
             3 db12                 10.2.0.1                           1
             4 db13                 9.2.0.7                            1
             5 db14                 10.2.0.1                           1
             6 db15                 9.2.0.7                            1
    6 rows selected.
    SQL>
    Data File"db10" "9.2.0.7" 1
    "db11" "10.2.0.1" 1
    "db12" "10.2.0.1" 1
    "db13" "9.2.0.7" 1
    "db14" "10.2.0.1" 1
    "db15" "9.2.0.7" 1
    Control FileLOAD DATA
    INFILE "C:\db_id_load.dat"
    APPEND INTO TABLE load_tbl
    FIELDS TERMINATED BY WHITESPACE OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (db_name CHAR,
    db_version CHAR,
    host_id "TO_NUMBER(:host_id,'99999999999')"
    Log FileSQL*Loader: Release 9.2.0.6.0 - Production on Thu Jan 18 17:21:47 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Control File:   db_id_load.ctl
    Data File:      C:\db_id_load.dat
      Bad File:     db_id_load.bad
      Discard File:  none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table LOAD_TBL, loaded from every logical record.
    Insert option in effect for this table: APPEND
    TRAILING NULLCOLS option in effect
       Column Name                  Position   Len  Term Encl Datatype
    DB_NAME                             FIRST     *  WHT O(") CHARACTER           
    DB_VERSION                           NEXT     *  WHT O(") CHARACTER           
    HOST_ID                              NEXT     *  WHT O(") CHARACTER           
        SQL string for column : "TO_NUMBER(:host_id,'99999999999')"
    Table LOAD_TBL:
      6 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    Space allocated for bind array:                  49536 bytes(64 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:             6
    Total logical records rejected:         0
    Total logical records discarded:        0
    Run began on Thu Jan 18 17:21:47 2007
    Run ended on Thu Jan 18 17:21:47 2007
    Elapsed time was:     00:00:00.39
    CPU time was:         00:00:00.13

  • RSC Files Not Appearing in RH Project Manager

    My three-writer group has experienced a number of RoboHelp/RoboSource Control problems in the last week.
    First this is our setup:
    1. Two writers with 64-bit Windows 7, and one with 32-bit Win 7. We all have the latest patches and updates.
    2. Our RSC database is on a remote machine that has 32-bit Win XP.
    After a time where our group successfully updated our project, I was given a new laptop with Win 7 (I had previously had a 32-bit Win XP desktop), we have now encountered the following problems:
    1. No one can open a RH project from version control. We go through all steps and when we open the XPJ icon it finally crashes after taskbar status messages of something like "Querying version control." It thus crashes at one of the final steps in opening a project from the database.
    2. Even on our remote machine, I cannot open a RH project from version control.
    3. For some unknown period of time, it appears that the three of us have not had our changes uploading to the database because nobody's desktop RH project looks the same. Out of the three of us, I have many--but not all--of my changes up at RSC. I have no idea where my colleagues' changes went.
    4. An unspecified number of files are listed in RSC as well in the File Status pod in RH but they are NOT appearing in the Project Manager pod. If I try to move one image file with the same name into a folder where the original should be, RH displays an error message saying that it already exists there--even though I cannot see it in Project Manager nor interface with it.
    I have used RH for 11 years but RSC for just 1-2. I have never seen behavior like this before and it's really brought our entire OLH efforts to a halt. Can anyone tell me what I might do to restore, if not the database, a version of the XPJ that has as many of our changes that DID make it to RSC?
    Thank You,
    Chris
    Varian Medical Systems

    I have amended the title of the thread for the simple reason that I don't do source control. I guess you've just added another reason why.
    Sorry but I cannot help you on this one.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Storing Video files in SharePoint 2010

    Hello,
    We are going to store video files in SharePoint 2010. In total, we may have about 6 GB of files in total in Asset Library. Is it too much? What is the best approach to keep video files in SharePoint? I planned to change upload size, because 50mb is not enough.
    The largest file size will be 150 mb.
    Thanks

    + to Cameron
    Maximum file size limit is 2GB per, however that doesnot mean sharepoint will handle it without issues.
    I have seen request time out, for files even lesser than 50MB, it is again a big process of changing these settings in IIS and web.config.
    You can plan to have smaller files,but better to keep less than 50MB. Even worse if you have enabled versioning to asset library, which will keep increasing everytime the same file is uploaded.
    Auditing asset library periodically would also help to plan the growth, to an extent keep the library within few GBs and then plan store space requirement.
    Deciding library size will be big process, we have MS suggest 200 GB limit for Content databases, this limit also we need to consider while planning library size
    This link should help to get the limits -
    http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx#Limits 
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Help with delete duplicate locked files

    I'm kinda new at this so forgive me if I'm a bonehead.
    I made a contribute site, then wanted to disable check in
    check out. All the files have duplicate locked files remaining on
    server and they take eons to ftp. Is there an easy way to delete
    them all? I delete on server and they mysteriously are still there
    the next time I reupload files...I first thought it was a DWMX ftp
    problem, but same deal with GoLive.
    Yipes! Any help is appreciated.

    Hi,
    I have very limited experience with Automator, but my guess is it's not up to the task. I'm trying to do something similar in iTunes but the actions under Finder don't seem to work properly. ( If you select 'Find Finder Items' and set the Whose field to Extension and Is Equal To and use the parameter 'mp3' it seems to work as expected. If you set the Whose field to Name and Ends with it only returns directories.) I'm thinking I need to look into actual scripting. Anyone have thoughts on this?
    Mike

  • Why can't Apple make 'publish changes only' for non .mac users?

    The recent iWeb update to 1.1 and the now increasingly obvious differential between .mac and non .mac features has prompted me to post here today.
    I can understand comments, passwords and search facilities being a .mac only experience because it requires server side technology. I can also understand that .mac users get enhanced features like slideshows as well.
    But why is the fundamentally *basic* option to 'publish the changes only' not available to non .mac users?
    I know uploading to .mac uses a different protocol to uploading via FTP, but I don't think it is about that. Obviously the software engine in iWeb 1.1 can now track the pages that have changed, and flag those for uploading. So if the facility to do this is not available with non .mac uploading, is this some form of crippleware? Can any software engineers comment on this or am I talking off the top of my head? [And please mods, don't delete this post - I use the word 'crippleware' in its harshest form, clearly I can still use iWeb to make fantastic websites - I am asking a technical question here.]
    Michael
    A Trusty Quicksilver G4 Dual 1GHz

    OK, from reading this thread:
    http://discussions.apple.com/thread.jspa?threadID=486335&tstart=0
    There is a pattern: An error occurred while publishing file “/blah/blah", while file "/blah/blah" seems to be random from one person to the next, but they all share one thing and that is communication protocol.
    For iWeb to be able to publish changes to .Mac, it has to:
    1. identify if the file exists
    2. do the following:
    2a. if not exists, copy it to .Mac
    2b. if exist, do some sort comparison - CRC checksum -
    2b1. if checksums match, don't copy
    2b2. if checksums don't match copy it to .Mac
    At least I think that's what going on, I don't have .Mac so that is best I can think of. Perhaps, some Apple SW engineers can jump in here.
    Now, the bad part is iWeb has to (and I'm assuming iWeb uses WebDAV):
    1. go thru each file locally
    2. crawl its way into .Mac (WebDAV is a slow protocol) to find the the counter part.
    3. when it finds a file that matches a client side file, it has to (some how) do checksum on-the-fly across the net work (which is slow and congested)
    #3 is I think where it failed, there are many factors here: 1) networks congestion 2) latency 3) protocol overhead 4) checksum calculation time etc...
    iWeb eventually times out because any/all of the above.
    It's nice that WebDAV can author to the host yada, yada, but it's so SLOOOOOW.
    What I would do is for every publishing, I would build a files and their checksums keep it on the host (or local, must be hidden).
    For subsequence publishing, I would (use a fast protocol like FTP) download this pre-built files/checksums list. Locally, do a full publishing, making checksum comparison, the result is delta changes; upload only those. Build a new files/checksums list upload that too.
    What I mean to say is offload everything that is possible to local machine, bandwidth is PREMIUM!

  • Create a change request for multiple customers from spreadsheet

    Hello Experts,
    1.We have a spreadsheet with 100's of Customer data maintained in it , can we create a change request by downloading data from spreadsheet directly instead of manually entering the data in the CR. Also can we create a single change request for multiple Create customers.
    2.Can we create CR's automatically , lets say we have 100's of customer data loaded into MDG hub by Data Services using DEBMAS Idoc , can this create automatic CR's , is this possible.
    Thanks.

    Dear Collins,
    1.We have a spreadsheet with 100's of Customer data maintained in it , can we create a change request by downloading data from spreadsheet directly instead of manually entering the data in the CR. Also can we create a single change request for multiple Create customers.
    Answer:there are various options are available in MDG to process multiple material as shown below
    you can down load the customers using file down load funcationality and same change,upload the customers using the file Upload process.
    you can create a single CR for muntiple customers options are shown below.
    2..Can we create CR's automatically , lets say we have 100's of customer data loaded into MDG hub by Data Services using DEBMAS Idoc , can this create automatic CR's , is this possible.
    Answer:Yes you can create CR automatically using DTIMPORT tcode and some configuration needs to be done further reading go to the link SAP Master Data Governance - SAP Library
    regards
    shankar

  • Default destination folder on upload.aspx

    Hi,
    Any way to set a default destination folder in upload.aspx without having to change upload.aspx ?
    thanks

    Hi Lior,
    In that page are two query string parameters that identify in wich List and Folder you will upload file:
    /_layouts/Upload.aspx?List={ID List}&RootFolder=My%20Folder
    List= Id from your destination list
    RootFolder= Destination folder into list (If is in root of list this parameter must be empty)
    Regards,
    Fabián Páez Sharepoint 2010 MCPD/MCITP - Silverlight MCTS

Maybe you are looking for