ICloud files uploads like apps files works-
Can I upload a file to iCloud only and keep it there… not using space in my iPad? Only download sometimes, like music, movies and apps?
I already have iTunes Match.
I don't trust in dropbox.
I love iCloud. I love Apple. I loved idisk. I just want to understand how it works.
I'm afraid of syncing… Many people lose their stuff.
In Macworld Mag… there's a article about upload files to iCloud, have more than 25.000 songs on iTunes Match and so one.
MobileMe was not perfect… I cloud could be.
The iCloud system is not too clear for many people.
Similar Messages
-
Flat File Upload as CSV File in BPS.
Hi Friends,
We have to upload CSV file to BPS and as of now we are able to upload tab spaced file as per the How to Document.
Kindly can some body post the COMPLETE CODE changes for Uploading the CSV File in both LOAD and WEB Function Modules.
For complete code points are guaranteed.Hi BI,
please check the following thread.
Load flat file to BPS - GUI issue
I've implemented the file upload for CSV file. please note the changes i've made -
Code for INIT function module :-
FUNCTION Z_BPS_FILE_UPLOAD_INIT_CSV.
""Local Interface:
*" IMPORTING
*" VALUE(I_AREA) TYPE UPC_Y_AREA
*" VALUE(I_PLEVEL) TYPE UPC_Y_PLEVEL OPTIONAL
*" VALUE(I_PACKAGE) TYPE UPC_Y_PACKAGE OPTIONAL
*" VALUE(I_METHOD) TYPE UPC_Y_METHOD OPTIONAL
*" VALUE(I_PARAM) TYPE UPC_Y_PARAM OPTIONAL
*" REFERENCE(IT_EXITP) TYPE UPF_YT_EXITP OPTIONAL
*" REFERENCE(ITO_CHASEL) TYPE UPC_YTO_CHASEL OPTIONAL
*" REFERENCE(ITO_CHA) TYPE UPC_YTO_CHA OPTIONAL
*" REFERENCE(ITO_KYF) TYPE UPC_YTO_KYF OPTIONAL
*" EXPORTING
*" REFERENCE(ETO_CHAS) TYPE ANY TABLE
*" REFERENCE(ET_MESG) TYPE UPC_YT_MESG
DATA: lto_chas TYPE yto_chas,
ls_chas TYPE ys_chas,
ls_exitp TYPE upf_ys_exitp,
ls_mesg TYPE upc_ys_mesg,
ls_chasel TYPE upc_ys_chasel, "<<<INSERT
ls_charng TYPE upc_ys_charng. "<<<INSERT
DATA: lt_filetab TYPE filetable,
ls_filetab TYPE file_table,
l_file TYPE string,
l_separator TYPE char01,
l_action TYPE i,
l_count TYPE i.
FIELD-SYMBOLS: <f> TYPE ANY. "<<<INSERT
Try to get file name from parameter
READ TABLE it_exitp INTO ls_exitp WITH KEY parnm = 'FILENAME'.
IF sy-subrc = 0.
l_file = ls_exitp-chavl.
ENDIF.
If no file name is given, prompt user for it
IF l_file IS INITIAL.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select Upload File'
default_extension = 'csv'
file_filter = 'Text Files (*.csv)'
CHANGING
file_table = lt_filetab
rc = l_count
user_action = l_action
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
OTHERS = 3. "#EC NOTEXT
IF sy-subrc <> 0.
CLEAR ls_mesg.
MOVE-CORRESPONDING syst TO ls_mesg.
APPEND ls_mesg TO et_mesg.
EXIT.
ENDIF.
CALL METHOD cl_gui_cfw=>flush.
LOOP AT lt_filetab INTO ls_filetab.
l_file = ls_filetab.
ENDLOOP.
CHECK l_action = 0.
ENDIF.
l_separator = 'X'.
Upload file from front-end (PC)
File format is tab-delimited ASCII
l_separator = ';' .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_file
filetype = 'DAT'
has_field_separator = l_separator
TABLES
data_tab = gt_file_csv
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
CLEAR ls_mesg.
MOVE-CORRESPONDING syst TO ls_mesg.
APPEND ls_mesg TO et_mesg.
EXIT.
ENDIF.
Create one dummy combination
If we don't do this, the upload won't work since the second function
will not be executed at all in case no transaction data exists so far.
The combination must be a subset of the planning level!
" >>> BEGIN INSERT
CLEAR ls_chas.
LOOP AT ito_chasel INTO ls_chasel.
READ TABLE ls_chasel-t_charng INTO ls_charng INDEX 1.
IF sy-subrc = 0.
ASSIGN COMPONENT ls_chasel-chanm OF STRUCTURE ls_chas TO <f>.
IF sy-subrc = 0.
<f> = ls_charng-low.
ENDIF.
ENDIF.
ENDLOOP.
" <<< END INSERT
COLLECT ls_chas INTO lto_chas.
eto_chas = lto_chas.
ENDFUNCTION.
Include should contains following declarations-
TYPES: begin of itab_CSV,
text(255) type c,
end of itab_CSV.
Global table to temporarily store loaded data.
DATA: gt_file_CSV TYPE STANDARD TABLE OF itab_csv WITH DEFAULT
KEY.
Hope it will help you.
Regards
Tarun -
How to configure file upload restriction by file extension?
Hi All,
I want to know if its possible to restrict the file upload for any file extensions in CM Repositories. For example, I want that the users can not upload .avi files. Can I configure that restriction?
Regards and Thanks,
Arnau RoviraHi,
> How can I create a repository service?
> It's like a web service?
No. A repository service is a standard pluggable service within the KM framework. Search for "repository service" on SDN for further details.
> can I copy the upload command
> from the actual repository service
The upload command is the upload command is the upload command. It is not bound to any repository service.
Yes, you can try to extract all implementation classes for the actual upload command and create a new one under a new namespace and modify the interesting parts after decompilation. But be warned: Your questions signal that you are a beginner in the KM framework, and the things described so far are more in the direction "hardcore development"...
Hope it helps nevertheless
Detlev -
File upload custom renaming not working with {KT_ext}
Hi,
I used many times custom renaming with file upload, and used {KT_ext} for file's extension, but in first ADDT project is not working. I use this:
$uploadObj->setRenameRule("{GET.id_cd}_{track}.{KT_ext}");
Does anybody know if {KT_ext} is broken in ADDT?
Thank you,
RubenHi Günter,
{track} and {id_track} are both table fields, and setRenameRule worked right with both, but it didn't with {KT_ext}.
I've changed {track} with {id_track} in first page, and it stills fail to put extension.
But maybe is this, in first page the column for Update Transaction is like this
$upd_cds_peces->addColumn("mp3", "FILE_TYPE", "POST", "mp3");
and in the second page (where it works right) is
$upd_cds_peces->addColumn("mp3", "FILE_TYPE", "FILES", "mp3");
Althought in both cases the file is uploaded and DDBB field is filled, maybe in first case the TNG doesn't expect a file and cannot find its extension.
I'll try to change it,
thanks,
Ruben
Edit: Yes, it was this... Now it works. Thank you Günter for your help! -
I installed the file upload bean and made the path and classpath settings required, but the file is not uploaded to the server.
Any idea? Does it work standalone, i mean, am i only call the cgi URL or I need to construct a form and put a field that represents the file upload bean?
Another issue: I can't import java classes by the Oracle Forms 6i builder. Any suggestion?
The forms version is 6i patchset 4 in a AIX 4.3.3 server machine.
Thanks in advance.
Caroline Holandaregarding Another issue: I can't import java classes by the Oracle Forms 6i builder. Any suggestion?
search for the string "Failed to create JVM" in forms forum and you might get some info about this. -
File upload with DAD not working
Hi all,
I have an application which uses the file upload function, similar to the sample http://otn.oracle.com/products/database/htmldb/howtos/howto_file_upload.html
During the development I was not using a DAD and it was working perfectly. Now I have changed the application to use a DAD and now the file upload fails with a HTTP 404 - File not found error
[DAD_din]
connect_string = deccasm01os.na.decoma.com:1521:DIN
;password =
;username =
;default_page =
document_table = wwv_flow_file_objects$
document_path = docs
document_proc = wwv_flow_file_mgr.process_download
;upload_as_long_raw =
;upload_as_blob =
;name_prefix =
;always_describe =
;after_proc =
;before_proc =
reuse = Yes
;connmax =
;pathalias =
;pathaliasproc =
enablesso = No
;sncookiename =
stateful = STATELESS_RESET
;custom_auth =
response_array_size = 128
;exclusion_list =
;cgi_env_list =
bind_bucket_widths = 32,128,1450,2048,4000
bind_bucket_lengths = 4,20,100,400
;error_style =
;nls_lang =
BTW, it is on HTMLDB v1.6 on 9iDB (9.2.0.4)
thxRob,
The File Browse item type does not require upload table WWV_FLOW_FILE_OBJECTS$. The POST for the File Browse item type is intercepted by modplsql and is inserted into the Document Table as defined by the Database Access Descriptor.
You could ultimately create your own DAD with your own Document Table. The Document Table would have to contain the minimum definition as described at:
http://download-west.oracle.com/docs/cd/B14099_03/web.1012/b14010/concept.htm#i1005880
This way, users of the application using the Basic Database Authenticated DAD would be uploading directly into your table and not the HTML DB one. A word of caution, though, is that you would never want to use this DAD with HTML DB development itself...you would need to use the DAD that specifies upload into WWV_FLOW_FILE_OBJECTS$ for HTML DB development.
I hope this helps.
Joel -
Flat file upload program is not working
Hi Experts,
I am using following code to upload a flat file from my local PC to SAP
The code is NOT inserting records in zassum, /bic/pzassum and /bic/tzassum. zassum is SAP BW infoobject. I have run debugger and found that data is getting populated correctly for ztable_data and ztable_text.
The program is getting compiled / activated successfully. I am even getting message " ZASSUM got updated successfully ". However the issue persists.
I am new for ABAP. I might have committed some mistake any where in the code.
Also pls let me know whether statement "PERFORM update_alv_grid_display" is really needed.
Thanks
Smith
FORM upload_batches.
DATA : wf_title TYPE string,
lt_filetab TYPE filetable,
l_separator TYPE char01,
l_action TYPE i,
l_count TYPE i,
ls_filetab TYPE file_table,
wf_delemt TYPE rollname,
wa_fieldcat TYPE lvc_s_fcat,
tb_fieldcat TYPE lvc_t_fcat,
rows_read TYPE i,
p_error TYPE char01,
l_file TYPE string.
TYPES : BEGIN OF test_struc,
/bic/zassum TYPE /bic/oizassum,
txtmd TYPE rstxtmd,
END OF test_struc.
DATA : test_upload TYPE STANDARD TABLE OF test_struc.
DATA : wa_test_upload TYPE test_struc,
ztable_data TYPE TABLE OF /bic/pzassum,
ztable_text TYPE TABLE OF /bic/tzassum,
wa_upld_text TYPE /bic/tzassum,
wa_upld_data TYPE /bic/pzassum,
wa_actbatch TYPE /bic/pzassum.
wf_title = text-026.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = wf_title
default_extension = 'txt'
file_filter = 'Tab delimited Text Files (*.txt)'
CHANGING
file_table = lt_filetab
rc = l_count
user_action = l_action
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
OTHERS = 3. "#EC NOTEXT
IF sy-subrc <> 0.
EXIT.
ENDIF.
LOOP AT lt_filetab INTO ls_filetab.
l_file = ls_filetab.
ENDLOOP.
CHECK l_action = 0.
IF l_file IS INITIAL.
EXIT.
ENDIF.
l_separator = 'X'.
wa_fieldcat-fieldname = 'test'.
wa_fieldcat-dd_roll = wf_delemt.
APPEND wa_fieldcat TO tb_fieldcat.
CLEAR wa_test_upload.
Upload file from front-end (PC)
File format is tab-delimited ASCII
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_file
has_field_separator = l_separator
TABLES
data_tab = i_mara
data_tab = test_upload
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
EXIT.
ELSE.
LOOP AT test_upload INTO wa_test_upload.
CLEAR : p_error.
DESCRIBE TABLE test_upload LINES rows_read.
IF wa_test_upload-/bic/zassum IS INITIAL.
p_error = 'X'.
MESSAGE s153 WITH wa_test_upload-/bic/zassum sy-tabix.
CONTINUE.
ELSE.
IF sy-subrc = 0.
ENDIF.
ENDIF.
wa_upld_text-txtmd = wa_test_upload-txtmd.
wa_upld_text-txtsh = wa_test_upload-txtmd.
wa_upld_text-langu = sy-langu.
wa_upld_data-/bic/zassum = '11'.
wa_upld_data-chrt_accts = 'abc'.
wa_upld_data-co_area = '1234'.
wa_upld_data-/bic/zbhpbcsg = 'uv'.
wa_upld_data-objvers = 'A'.
wa_upld_data-/bic/zass_mdl = 'pqr'.
wa_upld_data-/bic/zass_typ = 'I'.
wa_upld_data-/bic/zdriver = 'defg'.
MOVE-CORRESPONDING wa_test_upload TO wa_upld_data.
MOVE-CORRESPONDING wa_test_upload TO wa_upld_text.
APPEND wa_upld_data TO ztable_data.
APPEND wa_upld_text TO ztable_text.
ENDLOOP.
CALL FUNCTION 'MESSAGES_INITIALIZE'.
IF ztable_data IS NOT INITIAL.
CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
EXPORTING
i_iobjnm = 'ZASSUM'
i_tabclass = 'M'
TABLES
i_t_table = ztable_data
EXCEPTIONS
attribute_name_error = 1
iobj_not_found = 2
generate_program_error = 3
OTHERS = 4.
COMMIT WORK.
IF sy-subrc <> 0.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = 'Zmy_prg'
msgty = 'E'
txtnr = '054'
msgv1 = text-033
EXCEPTIONS
OTHERS = 3.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = sy-msgid
msgty = sy-msgty
txtnr = sy-msgno
msgv1 = sy-msgv1
msgv2 = sy-msgv2
msgv3 = sy-msgv3
msgv4 = sy-msgv4
EXCEPTIONS
OTHERS = 3.
MESSAGE e054(z_myprg) WITH 'ZASSUM'.
ELSE.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = 'Z_BM_BPS'
msgty = 'S'
txtnr = '053'
msgv1 = text-033
EXCEPTIONS
OTHERS = 3.
MESSAGE s053(z_myprg).
IF ztable_text[] IS NOT INITIAL.
CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
EXPORTING
i_iobjnm = 'ZASSUM'
i_tabclass = 'T'
TABLES
i_t_table = ztable_text
EXCEPTIONS
attribute_name_error = 1
iobj_not_found = 2
generate_program_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = 'Z_myprg'
msgty = 'E'
txtnr = '055'
msgv1 = text-033
EXCEPTIONS
OTHERS = 3.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = sy-msgid
msgty = sy-msgty
txtnr = sy-msgno
msgv1 = sy-msgv1
msgv2 = sy-msgv2
msgv3 = sy-msgv3
msgv4 = sy-msgv4
EXCEPTIONS
OTHERS = 3.
ENDIF.
ENDIF.
ENDIF.
COMMIT WORK.
ENDIF.
ENDIF.
CALL FUNCTION 'RSDG_IOBJ_DEQUEUE'
EXPORTING
i_objnm = 'ZASSUM'
i_scope = '1'.
PERFORM update_alv_grid_display.
CALL FUNCTION 'MESSAGES_SHOW'.
ENDFORM. " upload_batches.
-
Validator for file upload component is not working !!
This validator method for a file upload component is throwing a java.lang.NullPointerException.
public void fileUpload1_validate(FacesContext context, UIComponent component, Object value) {
long size= fileUpload1.getUploadedFile().getSize();
if (size>65535){
throw new ValidatorException(new FacesMessage("Your image is too big!"));
Any help to solve this problem is very much appreciated.
Thanks.Hi i have a fileUpload in a pop-up and the methods are :
public void fileUpload1_validate(FacesContext context, UIComponent component, Object value) {
try {
com.sun.rave.web.ui.model.UploadedFile uploadedFile = ((Upload)component).getUploadedFile();
long l_filesize = uploadedFile.getSize();
if ( l_filesize > 1000000)
throw new ValidatorException(new FacesMessage("File Size should be less than 1000000 bytes! It is" + l_filesize));
else {
String tipo = uploadedFile.getContentType();
if ( tipo.compareTo("application/word") == -1 )
if ( tipo.compareTo("application/rtf") == -1 )
if ( tipo.compareTo("application/pdf") == -1 )
throw new ValidatorException(new FacesMessage("Error : los tipos de archivo aceptados son PDF, WORD y RTF"));
} catch (Exception ex) {
this.mauvaisFichier = true;
error(ex.getMessage());
public String botonValidar_action() {
if ( !this.mauvaisFichier )
if ( this.fileUpload1.getUploadedFile() != null )
if ( this.fileUpload1.getUploadedFile().getSize() > 0 )
try {
this.getSessionBean1().getComunicacion().setArchivo( new javax.sql.rowset.serial.SerialBlob(this.fileUpload1.getUploadedFile().getBytes() ) );
this.getSessionBean1().getComunicacion().setTipoArchivo( this.fileUpload1.getUploadedFile().getOriginalName().substring(this.fileUpload1.getUploadedFile().getOriginalName().length() - 3 ) );
} catch(Exception e){
e.getMessage();
return null;
I have to put a boolean value because the first time, validation code doesn't function ( the method botonValidar_action() is called ) correctly. The error message appears but empty.
If I try next time then it's ok.
Thx for any issue. -
File upload cannot store file on server?
I have an application .ear that i have built using j2sdkee1.3.1 (windows). I have also deployed this application on a remote unix jboss server.
I have found that all parts of the application work in both environments accept for the file upload functionality. This wont work on the j2sdkee server becuase the step of physically moving the file onto the app server fails. I know it fails because it throws an exception when i try to create a java.io.File object providing the path to the file (which isn't there).
My question is why does it work on a unix server an not a windows server?? I assume I have to set some config setting to allow the client application access to the server directories to read and write??
I also installed a local jboss server to see if it is a jboss/sun thing. But the local jboss server cannot upload the file either. So I am back to assuming it is a windows/unix thing?
I am wondering if it is anything to do with client.policy or server.policy. I did try just giving permission to everything:
grant {
// Allow everything for now
permission java.security.AllPermission;
Thanks in advance for any help :)
SianHi
As suggestion test the file path (specially the system separator character). If the cause is a security issue the problem must appear in both systems (i suposse that the process can write files in both systems, so you can check if true).
Hope this helps -
Why don't WMV files Act like MPG files?
I use a mid 2012 Mac Pro; run OS X 10.9 Mavericks. When I was using OS X 10.5.8 Leopard the icons on my WMV files were flipped to show a picture of the video; just like all my MPG files. Why doesn't Mavericks do that? And is there a way I can flip the icons on my WMV files to show a picture again?
How do I convert a file to a QL/QT X v10.3 compatible file?
1) This depends on the software you have installed on your system. Basically you need to either have one of the purchase Flip4Mac products installed on your system or a conversion app that has built-in codec support and the source file will have to be unprotected. I have Telestream's Flip4Mac Studio (includes basic import and ecport codecs) so I can use QT 7 Pro, MPEG Streamclip, QT X v10.3, the Mavericks Finder level AV Convert software, or the free Flip Player to perform these conversions. If you don't have a paid Flip4Mac codec installed for use with apps that access you system QT codec components configuration, then you could try a free app like HandBreake or on of the commercial converters available for the Mac.
2) If you already have the Player Pro (or greater) codec package installed on your system, then you can simply open your unencrypted WMV file in the QT X v10.3 player and it will automatically be converted to an H.264/AAC MOV file.
3) If you already have the Player Pro (or greater) codec package installed on your system, then you can simply select one or more WMV file icons in the Finder that you want to convert and then select the Context Adaptive menu (Control-Click menu) and select the "Servoices > Encode Selected Video Files" option. This option will open a widow allowing you select a few conversion options like "High/Low" quality settings for targerted H.264/AAC display settings or the selection of the Apple ProRes 422/PCM codec best used as an inermediate codec if you plan to edit the converted file in a video editor at a later time.
4) If you already have the Player Pro (or greater) codec package installed on your system, then you can simply open your unencrypted WMV file in the free Flip Player and export your file(s) to app or device targeted presets.
5) If you already have the Player Pro (or greater) codec package installed on your system, then you can simply open your unencrypted WMV file in the either QT 7 Pro v7.6.6 player or free MPEG Streamclip app (if installed) for export to device targeted M4V, "Movie to MPEG-4" MP4, or compatible "Movie to QuickTime" MOV files (e.g., H.264/AAC, MJPEG/PCM, etc. compression format files.
6) If you don't have a WMV support codec package installed on your system, then you can try opening the file in the Free HandBrake app and us it to convert to one of available Apple compatible presets or create a custom preset of your own. (Note: I have only used this with common WMV downloaded files like WMA 9 audio with WMV 8 video in the WMV container.)
7) If you already have a commercial converter with WMV support built into the application installed on your system then you can use it to perform a conversion of your WMV files.
How do I create an icon manually?
1) Basically you select a compatible image file of a compatible size and shape and drop it to the "Info" window (Finder "Command-I" shortcut) icon area. I would normally recommend a JPEG image of VGA-like dimensions and in the shape you prefer. For instance, you can export/capture a frame from your movie and convert it to a JPEG image having the same aspect as your video with a 640 pixel width at 72dpi, create a 640x640 JPEG image if you prefer a more "record" album-like icon, create aposter or DVD case-like JPEG image if desired, or anything in betweem. Just be aware that if the images are too large in an incompatible format, they will be rejected when you try to drag 'n drop them to the info window. (I.e., it would be ridiculous to try and use an 8-, 10-, or 12-megapixel image as your icon.)
2) Where compatible, you can also assign a custom designed metadata "poster-frame" wich I believ is still used by the finder as an icon image. (Don't quote me on this yet as I have not confirmed it yet under Mavericks as it is taking som much time to just run down what is and is not still working video-wise un this new system.) -
File Upload - When is File saved in database
Hi,
I'm already using File Upload and Download in my application, which is working fine.
Now I only need an information for better understanding.
Is the file saved in the database table, when user selects the file from the file browse dialog or is it submitted when the user submits the page?
Normally I'm using a lot of AJAX in my page, because of this I've no page process started on submit, I call javascript, that's calling processes on demand. Will my files be uploaded???
Thanks
chrissyHello Chrissy,
Never uploaded “regular” files into the db, only XML files, so I don’t have much experience working with BLOB, but please check if the following can help you - Re: Download an upload from Server directory
In addition, Vikas wrote an application, which uploads CSV files directly into a table. The code can be downloaded in here - http://htmldb.oracle.com/pls/otn/f?p=38131:1
>> I've found packages called WWV_FLOW_FILE_API and WWV_FLOW_FILE_MGR
IMHO, you should try, as much as possible, to avoid using undocumented APEX internal packages, as they are subject to possible changes in future versions. If you can achieve your goals using public packages, and I’m pretty sure you can, it would be best.
Hope this helps,
Arie. -
ADDT file upload server behavior / file ownership on server
When using the ADDT file upload server behavior, I found out that the files stored on my server have the ownership "www-data www-data", where other files uploaded (with Dreamweaver or a FTP client) have the ownership "[mydomain] www-data.
This means I cannot manipulate these ADDT uploaded files with a FTP client like Filezilla or in the Dreamweaver file window, because I then get an error message saying I don't have the required permission for that operation (eg delete the file).
Any clue on how to solve this problem?
Thanks in advance,
ErikYou can also check with your host if they are running suexec. If they are you can possibly use a PHP-CGI wrapper in your script to have it create files/folders with the right permissions. It's more about the ownership of the php interpreter. Surprising though as I never seen ADDT have this kind of issue. I have seen this issue several times in hand written scripts by me where I don't do a lot of pre-checking.
-
Problem with Struts file upload with small files
For some reason, when I try to upload a file that is smaller than 45 bytes using Struts (took me a long time to find this number), by the time the file is populated in my form bean and I read the size from it, the size is 0. Has anyone encountered this problem before?
I created a file called test.txt, which contained the following text in it: "This is a test.". This file is about 15 bytes in size. When I was trying to upload this file using Struts, and write it to a temp file, my temp file always was of size 0. At first I was convinced it was my code, but then I tried a Word file (about 19kb), and it worked fine. Finally, I added some debug code at the beginning of my execute() method in my action to print out all the metadata for uploaded files, and I saw the the file size was 0 for files smaller than 45 bytes. I printed this just after I cast the form to be the type of form that I needed. What is happening to the contents of the file? Does Struts have a minimum size limit of files that it is able to process?
Any help is greatly appreciated!AFter some more testing, I found that this is only a problem when using Firefox and Netscape. When using IE, files as small as 1 byte were properly uploaded, and the size was accurate when queried from FormFile.getFileSize().
Does anyone have any ideas as to what may be happening in this case? Why it would work fine in one browser and not the other? -
File upload gives invalid file name if file name exceeds 255 characters
We are using SharePoint 2010. I have arround 4-5 GB data that I have to upload to document library. That data includes documents (docx, xlsx, pdf etc) with very deep folder structure and long names that can not be changed. When I trying to upload that folder
through Windows explorer or Multiple File Upload or SharePoint workspace but it is not uploading the files with long names.
I know there is a limitation of 255 Characters but is there any workarround to upload that bunch of data!
Thanks,Hi there,
Microsoft has published a hotfix for fixing length of the file limitation
http://support.microsoft.com/kb/956056/
Thank you,
Mukesh Ajmera|
LinkedIn | http://mukeshajmera.wordpress.com/|
If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful" -
NetUI file upload creates temporary files without cleanup
When using the NetUI File Upload in my web application, I notice that it
stores temporary files in the server config directory. The file names
are netxxxxx.tmp and they are never deleted on server startup/shutdown,
etc. I am uploading large files (about 500k) so these temporary files
start to take up space very quickly and I have to manually delete them.
Is there a way to disable this or what? I suppose I could edit a
startup/shutdown script to delete them, but I'd rather not have to
change the provided software.
ThanksBumping this up... any BEA reps read this NG?
Steven Ostrowski wrote:
When using the NetUI File Upload in my web application, I notice that it
stores temporary files in the server config directory. The file names
are netxxxxx.tmp and they are never deleted on server startup/shutdown,
etc. I am uploading large files (about 500k) so these temporary files
start to take up space very quickly and I have to manually delete them.
Is there a way to disable this or what? I suppose I could edit a
startup/shutdown script to delete them, but I'd rather not have to
change the provided software.
Thanks
Maybe you are looking for
-
How to enter a BIOS/UEFI password in T420?
Hello, I don't need to remove the UEFI supervisor password, I know what it is. The problem is that I can't get it to prompt me for that password! Pressing Thinkvantage button + F1 just prompts for the power-on password, and I'm never asked to enter t
-
Hi, I am trying to create rebate based on customer ..agreement type 0003. First I created rebate agreement number and condition record for the customer I created Sales order ...when I was trying billing ..I got the error in account determination. Fo
-
ITunes 8.0 will not acknowledge the library on a new pc
I just purchased a new pc and loaded iTunes 8.0. Previously I had my library on an external hard drive. When I open the settings to iTunes and point the location to the external hard drive, iTunes does not acknowledge or open the library. I went as f
-
How to hide duplicate photos that origins from the photo stream and imported photos?
Hi, I are using my camera both with an IPad (through SD-card reader) and directly to my iMac. I want to keep the full photo archive on the iMac. Now the problem, that I encounter, is that if I use the iPad to look at the photos, those photos will be
-
Hi, I've an application already running perfectly on linux (Apache 1.3.33-Tomcat 5.5.7-mod_jk 1.2.8), however, I want to run the same application on � Windows (Apache 2.0.59-Tomcat 5.5.17-mod_jk 2.0.58). Paths: Java JDK path : c:\Program Files\Java\j