Help me with uploading files to jobsites
Someone help me, help me please. It seems that from my administrative account I can not upload files to any potential job sites. From any web site, the option that says, 'choose files' whenever I clique on that and try to upload the little multi-color turning circle comes on and everything freezes. However I am able to upload from my other user accounts but a lot of good that does because I do not have any saved information on those accounts. What is going with my computer, its the first time I have ever had an issue with my computer, did I catch a bug or something?
Have you successfully uploaded to this site before?
Is your site definition configured to upload to the proper
remote folder?
The error message is simply telling you the transfer did not
succeed
"mikesilverman22" <[email protected]> wrote
in message
news:e5im76$r17$[email protected]..
>I am trying to upload files onto a remote site, but it
keeps timing out.
>Also,
> on my new website that i'm making for a client, when i
Put the files onto
> the
> remote site it says Started:
>
> 5/30/06 7:57 PM
>
> index.html - error occurred - An FTP error occurred -
cannot put
> index.html.
> Access Denied. The file may not exist, or there could be
a permission
> problem.
>
> File activity incomplete. 1 file(s) or folder(s) were
not completed.
>
> Files with errors: 1
> index.html
>
> Finished: 5/30/06 7:57 PM
>
> What does this mean? why are the file incomplete?
>
> Mike S
>
Similar Messages
-
Adobe Send - Problem with uploading files. When is this going to get fixed?
When is the Adobe Send problem with uploading files going to get fixed. Similar to others - I have tried and tried to make Adobe Send work and get an error. I have tried to upload the file and it looks like it uploads and then - it is nowhere to be found.
I then go to Adobe Send Now and it works fine.The problem is the same as described in other similar threads.
I have a 57 MB PowerPoint file I am trying to send using Adobe Send. I go through the normal steps to identify the file and select recipients and then send the file. After the file completes the upload - an error saying there was a problem comes up and the file is not uploaded.
I have tried to upload the file to the site with similar results - error and the file doesn't go.
I can go to the old SendNow site and it works flawlessly.
If I need to get screenshots - let me know. There are several other threads describing this same problem. It isn't something new or not heard of before.
Sent from my iPod -
Help with Upload file to Server Examples
I have been working with the examples for how to upload a file to the server. Though i got the example to work. there is one more thing i need to do. i need to allow the user to be able to select multiple files. In the example when you click on Upload, it opens a MS window to allow you to select a file. This example does not allow you to select more then one file though. I found another example for selecting multiple files but this one differs very much in that the person who make it "Ryan Favro" created a whole new GUI window to select multiple files. those his example works great, i dont want a special window to select files, i want the MS window to do it.
Is there a way to make the original example that uses the MS window to allow the user to select multiple files ?
I have attached the example that uses the MS window.Hi,
Use this code. May be it helps u.
fileuploadapp.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:com="test.*" layout="absolute"
creationComplete="initApp()" viewSourceURL="srcview/index.html">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private const _strDomain:String = new String("http://localhost:8400/");
private const _strUploadScript:String = new String(_strDomain + "ProcessFileUp/UploadFile");
// Initalize
private function initApp():void {
Security.allowDomain(_strDomain);
]]>
</mx:Script>
<mx:Canvas width="400" height="300" horizontalCenter="0" verticalCenter="0">
<com:FileUpload
width="100%" height="100%"
uploadUrl="{_strUploadScript}"
uploadComplete="Alert.show('File(s) have been uploaded.', 'Upload successful')"
uploadIOError="Alert.show('IO Error in uploading file.', 'Error')"
uploadSecurityError="Alert.show('Security Error in uploading file.', 'Error')"/>
</mx:Canvas>
</mx:Application>
fileuoload.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:com="*"
layout="vertical" width="100%" minWidth="400" height="100%" minHeight="200"
title="Upload Files" creationComplete="initCom()">
<mx:Metadata>
[Event(name="uploadComplete", type="flash.events.Event")]
[Event(name="uploadProgress", type="flash.events.ProgressEvent")]
[Event(name="uploadCancel", type="flash.events.Event")]
[Event(name="uploadIOError", type="flash.events.IOErrorEvent")]
[Event(name="uploadSecurityError", type="flash.events.SecurityErrorEvent")]
</mx:Metadata>
<mx:Script>
<![CDATA[
import mx.controls.*;
import mx.managers.*;
import mx.events.*;
import flash.events.*;
import flash.net.*;
private var _strUploadUrl:String;
private var _refAddFiles:FileReferenceList;
private var _refUploadFile:FileReference;
private var _arrUploadFiles:Array;
private var _numCurrentUpload:Number = 0;
// Set uploadUrl
public function set uploadUrl(strUploadUrl:String):void {
_strUploadUrl = strUploadUrl;
// Initalize
private function initCom():void {
_arrUploadFiles = new Array();
enableUI();
uploadCheck();
// Called to add file(s) for upload
private function addFiles():void {
_refAddFiles = new FileReferenceList();
_refAddFiles.addEventListener(Event.SELECT, onSelectFile);
_refAddFiles.browse();
// Called when a file is selected
private function onSelectFile(event:Event):void {
var arrFoundList:Array = new Array();
// Get list of files from fileList, make list of files already on upload list
for (var i:Number = 0; i < _arrUploadFiles.length; i++) {
for (var j:Number = 0; j < _refAddFiles.fileList.length; j++) {
if (_arrUploadFiles[i].name == _refAddFiles.fileList[j].name) {
arrFoundList.push(_refAddFiles.fileList[j].name);
_refAddFiles.fileList.splice(j, 1);
j--;
if (_refAddFiles.fileList.length >= 1) {
for (var k:Number = 0; k < _refAddFiles.fileList.length; k++) {
_arrUploadFiles.push({
name:_refAddFiles.fileList[k].name,
size:formatFileSize(_refAddFiles.fileList[k].size),
file:_refAddFiles.fileList[k]});
listFiles.dataProvider = _arrUploadFiles;
listFiles.selectedIndex = _arrUploadFiles.length - 1;
if (arrFoundList.length >= 1) {
Alert.show("The file(s): \n\n• " + arrFoundList.join("\n• ") + "\n\n...are already on the upload list. Please change the filename(s) or pick a different file.", "File(s) already on list");
updateProgBar();
scrollFiles();
uploadCheck();
// Called to format number to file size
private function formatFileSize(numSize:Number):String {
var strReturn:String;
numSize = Number(numSize / 1000);
strReturn = String(numSize.toFixed(1) + " KB");
if (numSize > 1000) {
numSize = numSize / 1000;
strReturn = String(numSize.toFixed(1) + " MB");
if (numSize > 1000) {
numSize = numSize / 1000;
strReturn = String(numSize.toFixed(1) + " GB");
return strReturn;
// Called to remove selected file(s) for upload
private function removeFiles():void {
var arrSelected:Array = listFiles.selectedIndices;
if (arrSelected.length >= 1) {
for (var i:Number = 0; i < arrSelected.length; i++) {
_arrUploadFiles[Number(arrSelected[i])] = null;
for (var j:Number = 0; j < _arrUploadFiles.length; j++) {
if (_arrUploadFiles[j] == null) {
_arrUploadFiles.splice(j, 1);
j--;
listFiles.dataProvider = _arrUploadFiles;
listFiles.selectedIndex = 0;
updateProgBar();
scrollFiles();
uploadCheck();
// Called to check if there is at least one file to upload
private function uploadCheck():void {
if (_arrUploadFiles.length == 0) {
btnUpload.enabled = false;
listFiles.verticalScrollPolicy = "off";
} else {
btnUpload.enabled = true;
listFiles.verticalScrollPolicy = "on";
// Disable UI control
private function disableUI():void {
btnAdd.enabled = false;
btnRemove.enabled = false;
btnUpload.enabled = false;
btnCancel.enabled = true;
listFiles.enabled = false;
listFiles.verticalScrollPolicy = "off";
// Enable UI control
private function enableUI():void {
btnAdd.enabled = true;
btnRemove.enabled = true;
btnUpload.enabled = true;
btnCancel.enabled = false;
listFiles.enabled = true;
listFiles.verticalScrollPolicy = "on";
// Scroll listFiles to selected row
private function scrollFiles():void {
listFiles.verticalScrollPosition = listFiles.selectedIndex;
listFiles.validateNow();
// Called to upload file based on current upload number
private function startUpload():void {
if (_arrUploadFiles.length > 0) {
disableUI();
listFiles.selectedIndex = _numCurrentUpload;
scrollFiles();
// Variables to send along with upload
var sendVars:URLVariables = new URLVariables();
sendVars.action = "upload";
var request:URLRequest = new URLRequest();
request.data = sendVars;
request.url = _strUploadUrl;
request.method = URLRequestMethod.POST;
_refUploadFile = new FileReference();
_refUploadFile = listFiles.selectedItem.file;
_refUploadFile.addEventListener(ProgressEvent.PROGRESS, onUploadProgress);
_refUploadFile.addEventListener(Event.COMPLETE, onUploadComplete);
_refUploadFile.addEventListener(IOErrorEvent.IO_ERROR, onUploadIoError);
_refUploadFile.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onUploadSecurityError);
_refUploadFile.upload(request, "file", false);
// Cancel and clear eventlisteners on last upload
private function clearUpload():void {
_refUploadFile.removeEventListener(ProgressEvent.PROGRESS, onUploadProgress);
_refUploadFile.removeEventListener(Event.COMPLETE, onUploadComplete);
_refUploadFile.removeEventListener(IOErrorEvent.IO_ERROR, onUploadIoError);
_refUploadFile.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onUploadSecurityError);
_refUploadFile.cancel();
_numCurrentUpload = 0;
updateProgBar();
enableUI();
// Called on upload cancel
private function onUploadCanceled():void {
clearUpload();
dispatchEvent(new Event("uploadCancel"));
// Get upload progress
private function onUploadProgress(event:ProgressEvent):void {
var numPerc:Number = Math.round((event.bytesLoaded / event.bytesTotal) * 100);
updateProgBar(numPerc);
var evt:ProgressEvent = new ProgressEvent("uploadProgress", false, false, event.bytesLoaded, event.bytesTotal);
dispatchEvent(evt);
// Update progBar
private function updateProgBar(numPerc:Number = 0):void {
var strLabel:String = (_numCurrentUpload + 1) + "/" + _arrUploadFiles.length;
strLabel = (_numCurrentUpload + 1 <= _arrUploadFiles.length && numPerc > 0 && numPerc < 100) ? numPerc + "% - " + strLabel : strLabel;
strLabel = (_numCurrentUpload + 1 == _arrUploadFiles.length && numPerc == 100) ? "Upload Complete - " + strLabel : strLabel;
strLabel = (_arrUploadFiles.length == 0) ? "" : strLabel;
progBar.label = strLabel;
progBar.setProgress(numPerc, 100);
progBar.validateNow();
// Called on upload complete
private function onUploadComplete(event:Event):void {
_numCurrentUpload++;
if (_numCurrentUpload < _arrUploadFiles.length) {
startUpload();
} else {
enableUI();
clearUpload();
dispatchEvent(new Event("uploadComplete"));
// Called on upload io error
private function onUploadIoError(event:IOErrorEvent):void {
clearUpload();
var evt:IOErrorEvent = new IOErrorEvent("uploadIoError", false, false, event.text);
dispatchEvent(evt);
// Called on upload security error
private function onUploadSecurityError(event:SecurityErrorEvent):void {
clearUpload();
var evt:SecurityErrorEvent = new SecurityErrorEvent("uploadSecurityError", false, false, event.text);
dispatchEvent(evt);
// Change view state
private function changeView():void {
currentState = (currentState == "mini") ? "" : "mini";
]]>
</mx:Script>
<mx:states>
<mx:State name="mini">
<mx:SetProperty name="height" value="60"/>
<mx:SetProperty name="minHeight" value="60"/>
<mx:SetStyle target="{btnView}" name="icon" value="@Embed('assets/application_put.png')"/>
</mx:State>
</mx:states>
<mx:transitions>
<mx:Transition fromState="*" toState="*">
<mx:Resize target="{this}" duration="1000"/>
</mx:Transition>
</mx:transitions>
<mx:Canvas width="100%" height="100%">
<mx:DataGrid id="listFiles" left="0" top="0" bottom="0" right="0"
allowMultipleSelection="true" verticalScrollPolicy="on"
draggableColumns="false" resizableColumns="false" sortableColumns="false">
<mx:columns>
<mx:DataGridColumn headerText="File" dataField="name" wordWrap="true"/>
<mx:DataGridColumn headerText="Size" dataField="size" width="75" textAlign="right"/>
</mx:columns>
</mx:DataGrid>
</mx:Canvas>
<mx:ControlBar horizontalAlign="center" verticalAlign="middle">
<mx:Button id="btnAdd" toolTip="Add file(s)" click="addFiles()" icon="@Embed('assets/add.png')" width="26"/>
<mx:Button id="btnRemove" toolTip="Remove file(s)" click="removeFiles()" icon="@Embed('assets/delete.png')" width="26"/>
<mx:ProgressBar id="progBar" mode="manual" label="" labelPlacement="center" width="100%"/>
<mx:Button id="btnCancel" toolTip="Cancel upload" icon="@Embed('assets/cancel2.png')" width="26" click="onUploadCanceled()"/>
<mx:Button label="Upload" toolTip="Upload file(s)" id="btnUpload" click="startUpload()" icon="@Embed('assets/bullet_go.png')"/>
<mx:Button id="btnView" toolTip="Show/Hide file(s)" icon="@Embed('assets/application_get.png')" width="26" click="changeView()"/>
</mx:ControlBar>
</mx:Panel>
Regards,
Shivang -
Help with uploading files to remote site
I am trying to upload files onto a remote site, but it keeps
timing out. Also, on my new website that i'm making for a client,
when i Put the files onto the remote site it says Started:
5/30/06 7:57 PM
index.html - error occurred - An FTP error occurred - cannot
put index.html. Access Denied. The file may not exist, or there
could be a permission problem.
File activity incomplete. 1 file(s) or folder(s) were not
completed.
Files with errors: 1
index.html
Finished: 5/30/06 7:57 PM
What does this mean? why are the file incomplete?
Mike SHave you successfully uploaded to this site before?
Is your site definition configured to upload to the proper
remote folder?
The error message is simply telling you the transfer did not
succeed
"mikesilverman22" <[email protected]> wrote
in message
news:e5im76$r17$[email protected]..
>I am trying to upload files onto a remote site, but it
keeps timing out.
>Also,
> on my new website that i'm making for a client, when i
Put the files onto
> the
> remote site it says Started:
>
> 5/30/06 7:57 PM
>
> index.html - error occurred - An FTP error occurred -
cannot put
> index.html.
> Access Denied. The file may not exist, or there could be
a permission
> problem.
>
> File activity incomplete. 1 file(s) or folder(s) were
not completed.
>
> Files with errors: 1
> index.html
>
> Finished: 5/30/06 7:57 PM
>
> What does this mean? why are the file incomplete?
>
> Mike S
> -
Help with uploading files through form
Hey,
I have a website for a sign business and I'm trying to make
it so people can upload custom artwork. I am using an ASP Formmail
script from I think it's www.brainjar.com. If I understood
correctly from the directions, I can't upload files through that
script and I tried it once and it did not work. If anyone has any
ideas then please help. Thanks
JeremyFor security reasons many shared hosts don't permit file
uploads.
Try this in the interim
http://www.yousendit.com/
--Nancy
"dayencom" <[email protected]> wrote in
message
news:epo2ql$dsb$[email protected]..
> I just tried contacting my hosting provider:
www.ixwebhosting.com and the
guy
> was not helpful at all. He said that their hosting does
not support
uploading
> files. So I am drawing a blank now. Is there any way to
use maybe another
site
> to upload?
> -
Hello everyone. I am having trouble writing a utility that uses SharePoint web services to upload a file and metatag it. It keeps throwing the following error message:
"The request failed with the error message: -- <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="/_forms/default.aspx?ReturnUrl=%2fsites%2fgk%2f_vti_bin%2fcopy.asmx">here</a>.</h2>
</body></html> --."
Not sure why. I pass the file that I am going to upload to the subroutine and it is suppose to upload it to the appropriate library. I have burned several days on this problem and I am not sure what is going on. I would appreciate anyone that can point me in
the right direction. Below is the subroutine that I have that is causing the problem. Obviously, I have stripped the name from the example.
Thanks
Mike
******** <Begin snip of code> **********************
Public Shared Sub CreateNewDocumentWithCopyService(ByVal fileName As String)
Dim c As New copyservice.Copy
c.PreAuthenticate = True
c.Credentials = New System.Net.NetworkCredential("[email protected]", "mypassword")
c.Url = "https://x.sharepoint.com/sites/gk/_vti_bin/copy.asmx"
Dim myBinary As Byte() = System.IO.File.ReadAllBytes(fileName)
Dim destination As String = "https://x.sharepoint.com/sites/gk/Gatekeeper%20Reference/" & System.IO.Path.GetFileName(fileName)
Dim destinationUrl As String() = {destination}
Dim info1 As New copyservice.FieldInformation
info1.DisplayName = "Title"
info1.InternalName = "Title"
info1.Type = copyservice.FieldType.Text
info1.Value = "new title"
Dim info2 As New copyservice.FieldInformation
info2.DisplayName = "Modified By"
info2.InternalName = "Editor"
info2.Type = copyservice.FieldType.User
info2.Value = "-1;#servername\\testmoss"
Dim info As copyservice.FieldInformation() = {info1, info2}
Dim resultTest As New copyservice.CopyResult
Dim result As copyservice.CopyResult() = {resultTest}
Try
' When creating new content use the same URL in the SourceURI as in the Destination URL argument
c.CopyIntoItems(destination, destinationUrl, info, myBinary, result)
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
******** <End snip of code> **********************Hi,
If you want to upload a file to a library in SharePoint 2013 online, I suggest you use Client Object Model or REST API.
The code snippets in the two threads below will be helpful:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/deac7cb7-c677-47b0-acdc-c56b32dfaac8/uploading-bigger-files-using-csom
http://stackoverflow.com/questions/17057074/how-to-download-upload-files-from-to-sharepoint-2013-using-csom
Uploading Files Using the REST API
http://blogs.msdn.com/b/uksharepoint/archive/2013/04/20/uploading-files-using-the-rest-api-and-client-side-techniques.aspx
You can handle the authentication with
SharePointOnlineCredentials object:
http://www.vrdmn.com/2013/01/authenticating-net-client-object-model.html
Best regards
Patrick Liang
TechNet Community Support -
SQL*Loader and unzipping with uploaded file
hi, everybody
i was trying to integrate some functionalities, today separated. i made a simple Apex page that uploads a file, and now i need to process that file.
is there any way to process that uploaded file and load it onto a table, just like i'd do with Sql*Loader?
in the same way, can i unzip an uploaded zip file, just like Oracle Portal 3.0.9 used to do in its contect areas with zip itens?
thanksHi, Ivo
about ult_compress, ok. i'll check it out.
talking about uploaded files, the only thing i've found were:
a) download an uploaded file
b) use an uploaded image to integrate in a web application.
unfortunately, i didn't find anything that could help me process an uploaded text file the way i do with SQL*Loader.
i'll keep on trying
thanx -
Help needed with .asp files
I am not sure what I am asking or what I need to do, so please bear with me, thanks.
I am helping out with a site that has one dynamic page utilizing a database with an .mdb extension.
Previously hosted on a site with ASP (not sure which version).
New host has MySQL with PHP (?)
I would like to be able to rework the one dynamic page in DW, using .php. I am not able to upload the .mdb file to my localhost MySql area.
It all comes down to the database.....
Is there a way to convert the .mdb file to one with an .sql extension?
Or am I taking the wrong approach?
Thanks,
Melissa>Previously hosted on a site with ASP (not sure which version).
>New host has MySQL with PHP (?)
Are you sure the host doesn't also support .asp?
>I would like to be able to rework the one dynamic
>page in DW, using .php. I am not able to upload the
>.mdb file to my localhost MySql area.
An mdb file is MS Access. There are conversion utilities that will convert between the two dbms's, but if the schema is not complex you can simply build the new database in MySQL, export the data from access and then import it. -
HELP - Trying to upload file contents to database on a nightly
Hi,
I have created a Java program which I call each night at approximately
7PM whereby I pick up all files residing in a local directory in a
pre-defined format. The format is basically part,quantity with the
file name being [id].txt.
From this, I create two PreparedStatements.
1 - INSERT INTO [TABLE] ([id], [part], [quantity])
AND
2 - UPDATE [TABLE] SET QUANTITY = ? WHERE ID = [id] and PART = part
The file contains approximately 110000 lines and it is assumed that
the file is a full file. I loop through the file calling the
PreparedStatement(2) and update each part with the new quantity. If I
hit an error whereby the part does not exist, I insert the part and
quantity via PreparedStatement(1).
The problem I have is that this program generally takes 8-9 hours to
complete which is quite long. We are looking to expand it to update
many files but at this rate we will have to wait weeks to complete all
files!!!
The format of the file can not be changed as it is sent to use from
another company and they have defined the format.
Is there a quicker better way??????
Please help, I'm at a loss to figure out how to speed this up.
ShannonJElliot,
Thanks for your advice on this topic. I think I'll defintely try creating an object and placing it in a Vector. So am I right in assuming that reading straight from the file and writing to the db uses one thread and therefore effects the performance whereas looping through the lines in the file and creating an object first and then looping again will be a lot more efficient? Also, I believe autocommit is set to true, should I be setting it to false and comitting every 100-200 rows?
With regards to connection pooling and PreparedStatement, I am using one connection which I open at the start of the program where I also create two PreparedStatements (1 for the update and 1 for the insert)
I then open the file and loop through the lines binding them and inserting them all in the one loop.
I believe every thing seams in order otherwise but there must be a lot improvement to be had somewhere in the script. A good JDBC driver may be the key.
I am doing the update from 1 machine across a network which I thought may be an issue but the updates are done at nightly when activity is almost zero.
I have included the main portion of the code to give you an idea of how I am trying to acheive the upload. Any further ideas would be greatly appreciated.
Connection con = getConnection();
BufferedReader bufferedInput = new BufferedReader (new FileReader(uploadFile));
updateString = "UPDATE TABLE SET QUANTITY = ? WHERE SITE_ID = ? AND PART_NUMBER = ? ";
updateStmt = con.prepareStatement(updateString);
insertString = "INSERT INTO TABLE (SITE_ID, PART_NUMBER, QUANTITY) VALUES (? , ? , ?)";
insertStmt = con.prepareStatement(insertString);
while ((line = bufferedInput.readLine()) != null) {
StringTokenizer st = new StringTokenizer(line, "^");
while (st.hasMoreTokens()) {
part = st.nextToken().trim().toUpperCase();
partQty = st.nextToken().trim();
partAvailQty = st.nextToken().trim();
updateFlag = st.nextToken().trim().toUpperCase();
if (updateFlag.equals("U")) {
updateStmt.setString(3, part);
updateStmt.setInt(1, Integer.parseInt(partQty));
updateStmt.setInt(2,Integer.parseInt(siteId));
result = updateStmt.executeUpdate();
else if (updateFlag.equals("N")) {
insertStmt.setInt(1,Integer.parseInt(siteId));
insertStmt.setString(2, part);
insertStmt.setInt(3, Integer.parseInt(partQty));
insertStmt.executeUpdate();
insertCount++;
con.close(); -
Is anybody having problem with uploading files after Os X 10.9.3 update ?
I can't upload files from my computer or dropbox using interface/online plateform because my files appeared grey/inactive, can't press the "chose" or "open"
Hey Guys,
After recent SMC+EFI update on Macbook Air (Mid 2013) OSX v10.9.3, my internal audio device disappeared,
I tried everything I could find in google with no luck. (NPRAM+SMC reset, reloading kents etc.)
THIS IS WHAT SOLVED THE PROBLEM FOR ME:
1. I opened /System/Library/Extensions folder, there I found besides the usual AppleHDA.kext, also an AppleHDA.kext.disabled one.
2. I switched between them (swapped their names, sometimes you'll have to do it from the "get info" menu to take effect)
-- if you don't have this AppleHDA.kext.disabled one, try searching for one lil older than yours in the internet
3. then I unloaded and reloaded the kent dir again-
sudo kextunload /System/Library/Extensions/AppleHDA.kext
sudo kextload /System/Library/Extensions/AppleHDA.kext
And voila!
Hope it helps someone, as I spent hours until getting this to work again -
Hi experts,
I try to upload file - and i got error message:
Property "data" of element file_up must be bound.
what is it mean???
what can i do to solve it?
thanks in advanced.
Michal.Hi,
create an attribute(say ca_fileupload) of type XSTRING under context and bind that attribute with the data property.
For binding the attribute just Click on the element file_up , there you can see data property,click on that and you can see all the nodes and attributes you have created and there click on the attribute(ca_fileupload). -
Problems with uploading file to database using FND_GFM
Hi
I'm having some problems uploading files to the database in apps 11.5.9
As various sources/documents tell me, using the standard FND_GFM / FND_FILE_UPLOAD packages of APPS should transfer an uploaded file into the FND_LOBS table, but some reason it doesn't work. I copied and altered the FND_GFM.upload_confirm function to try and figure out why it doesn;t work and it looks like the file to be uploaded does not appear in the defined table (FND_LOBS_DOCUMENT).
The following DAD is defined (with hidden password and servername to prevent abuse ;)):
[DAD_oes_s]
connect_string = oes_s
password = ****
username = APPS
default_page = fnd_web.ping
document_table = APPS.fnd_lobs_document
document_path = docs
document_proc =
upload_as_long_raw =
upload_as_blob = *
reuse = Yes
connmax = 10
pathalias = fndgfm
pathaliasproc = fnd_gfm.dispatch
enablesso = No
cgi_env_list=SERVER_NAME=***,REQUEST_PROTOCOL=http,SERVER_P
ORT=***,HOST=***
input_filtering = Yes
stateful=STATELESS_RESET
And I'm using the following code to generate the upload-file page
CREATE OR REPLACE PROCEDURE XX_ITRIS_HelloWorld AS--(file IN VARCHAR2) AS
access_id_v varchar2(1000);
BEGIN
htp.htmlOpen;
htp.bodyOpen;
htp.formOpen('http://***/pls/oes_s/fnd_file_upload.uploadcompletemessage', 'GET', null, 'multipart/form-data');
htp.formFile('file');
access_id_v := fnd_gfm.authorize(null);
htp.formHidden('access_id', access_id_v);
htp.formSubmit();
htp.formClose;
htp.line;
htp.bodyClose;
htp.htmlClose;
END XX_ITRIS_HelloWorld;
Can anybody point out what is going wrong?You said you are uploading XML file whereas in the TSQL you have assign as text file i.e @SourceFile = 'test.txt'. Are you sure that you are copying XML file ? What is the size of the source file "test.txt" ? I am sure it is 0 KB. That is what you
have found in FTP site.
Regards, RSingh -
Problems with uploading files, lumia 920!
Hello,
I'm having trouble uploading files in internet explorers browser.
if I come to a website with a browse button , you can not explore the phone's contents. The Browswe button is gray marked
I have tried on several different websites. For example, image upload pages.
Is this a bug or just something missing in lumias interface.
/ with kind regardsthis is a limitation of the mobile device OS. even if in the settings you select desktop version, you still cannot attache a file from your mobile device to website. :/
for us symbian and maemo/meego users, this is a hinderance.
i have not tried the UC Browser scoobyman suggested. that may work.
be sure to report back if you can or cannot get it to work. -
Problem with uploading files in 11g
I upgraded the pre-installed APEX 3.0 in Oracle 11g to version 3.2. I created a form to upload files to the table htmldb_application_files and then copy the transaction to my custom table. However, after I "saved" the transaction, nothing happened. No file was uploaded into the htmldb_application_files table. Also, the "save" process took a while to finish.
I used to do this in my other applications in Oracle 10g and everything worked fine. Is it an issue with Oracle 11g?
Thanks.
AndyI think I just did something wrong myself. I was finally able to upload the file. However, I wrote the following procedure in my package but wasn't able to download the file from the report. Do I need to grant any privilege from the system user?
Also, does anyone know how to convert a BLOB table into 11g Securefiles table?
Thanks.
<pre>
procedure download_birth_cert(p_vrds_birth_cert_pk in number) is
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(4000);
Lob_loc BLOB;
begin
select mime_type, blob_content, file_name, dbms_lob.getlength(blob_content)
into v_mime, lob_loc, v_file_name, v_length
from vrds_birth_cert
where vrds_birth_cert_pk = p_vrds_birth_cert_pk;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header(nvl(v_mime,'application/octet'), FALSE);
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the user does a save as
htp.p('Content-Disposition: attachment; filename="'||substr(v_file_name,instr(v_file_name,'/')+1)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
exception
when others then
null;
end download_birth_cert;
</pre> -
Problem in getting the parameters from teh form html with upload file
I have used the jspsmartupload package:
the html file:
<HTML>
<BODY BGCOLOR="white">
<H1>jspSmartUpload : Sample 5</H1>
<HR>
<form METHOD="POST" ACTION="sample5.jsp"
NAME="PW" ENCTYPE="multipart/form-data">
<table CELLSPACING="0" CELLPADDING="3" BORDER="1" WIDTH="474">
<!-- FILE -->
<!-- TEXT -->
<tr>
<td width="150">
<div align="left">
<p><small><font face="Verdana">Text : </font></small>
</div>
</td>
<td width="324"><small><font face="Verdana">
<input TYPE="TEXT" name="myText" value="">
<br>
</font></small></td>
</tr>
<!-- TEXTAREA -->
<tr>
<td width="150">
<div align="left">
<p><small><font face="Verdana">Text Area : </font></small>
</div>
</td>
<td width="324"><small><font face="Verdana">
<textarea name="myTextArea" rows="4" value=""></textarea>
<br>
</font></small></td>
</tr>
<!-- PASSWORD -->
<tr>
<td>
<div align="left">
<p><small><font face="Verdana">PassWord : </font></small>
</div>
</td>
<td><small><font face="Verdana">
<input TYPE="PASSWORD" name="myPASSWORD" value="">
<br>
</font></small></td>
</tr>
<!-- HIDDEN -->
<tr>
<td>
<div align="left">
<p><small><font face="Verdana">Hidden : </font></small>
</div>
</td>
<td><small><font face="Verdana">
<input TYPE="hidden" name="myHidden" value="hidden">
<br>
</font></small></td>
</tr>
<tr>
<td><small><font face="Verdana">Select a first file :
</font></small></td>
<td><small><font face="Verdana">
<input type="file" name="FILE1">
</font></small></td>
</tr>
<tr>
<td><small><font face="Verdana">Select a second file : </font></small></td>
<td><small><font face="Verdana">
<input type="file" name="FILE2">
</font></small></td>
</tr>
<!-- CHECKBOX -->
<tr>
<td>
<div align="left">
<p><small><font face="Verdana">CheckBox : </font></small>
</div>
</td>
<td><small><font face="Verdana">
<input TYPE="CHECKBOX" name="myCheckBox" value="Value 1">
Value 1<br>
<input TYPE="CHECKBOX" name="myCheckBox" value="Value 2">
Value 2<br>
<input TYPE="CHECKBOX" name="myCheckBox" value="Value 3">
Value 3<br>
</font></small></td>
</tr>
<!-- RADIO -->
<tr>
<td>
<div align="left">
<p><small><font face="Verdana">Radio : </font></small>
</div>
</td>
<td><small><font face="Verdana">
<input TYPE="radio" name="radio" value="Value 1">
Value 1<br>
<input TYPE="radio" name="radio" value="Value 2">
Value 2<br>
<input TYPE="radio" name="radio" value="Value 3">
Value 3<br>
</font></small></td>
</tr>
<!-- SELECT -->
<tr>
<td>
<div align="left">
<p><small><font face="Verdana">Simple Select : </font></small>
</div>
</td>
<td><small><font face="Verdana">
<SELECT name="mySimpleSelect" >
<OPTION value="Value 1">Value 1</OPTION>
<OPTION value="Value 2">Value 2</OPTION>
<OPTION value="Value 3">Value 3</OPTION>
</SELECT>
<br>
</font></small></td>
</tr>
<!-- SELECT MULTIPLE -->
<tr>
<td>
<div align="left">
<p><small><font face="Verdana">Multiple Select : </font></small>
</div>
</td>
<td><small><font face="Verdana">
<SELECT multiple name="myMultSelect" >
<OPTION value="Value 1">Value 1</OPTION>
<OPTION value="Value 2">Value 2</OPTION>
<OPTION value="Value 3">Value 3</OPTION>
</SELECT>
<br>
</font></small></td>
</tr>
<!-- SUBMIT -->
<tr>
<td colspan="2" width="474">
<div align="center">
<center>
<p><small><font face="Verdana">
<input
TYPE="Submit">
</font></small>
</center>
</div>
</td>
</tr>
</table>
</form>
</BODY>
</HTML>
the jsp file :
<%@page language="java" import="com.jspsmart.upload.*"%>
<%@page import="java.util.*"%>
<jsp:useBean id="myUpload" scope="page" class="com.jspsmart.upload.SmartUpload" />
<HTML>
<BODY BGCOLOR="white">
<H1>jspSmartUpload : Sample 5</H1>
<HR>
<%
// Initialization
myUpload.initialize(pageContext);
// Upload
myUpload.upload();
// Files
out.println("<BR><STRONG>Display information about Files</STRONG><BR>");
out.println("Number of files = " + myUpload.getFiles().getCount() + "<BR>");
//out.println("Total size (bytes) = " + myUpload.getFiles().getSize() +"<BR>");
for (int i=0;i<myUpload.getFiles().getCount();i++){
out.print(myUpload.getFiles().getFile(i).getFieldName());
if (!myUpload.getFiles().getFile(i).isMissing())
out.print(" = " + myUpload.getFiles().getFile(i).getFileName() + " (" + myUpload.getFiles().getFile(i).getSize() + ")");
myUpload.getFiles().getFile(i).saveAs("/upload/" + myUpload.getFiles().getFile(i).getFileName());
else
out.print(" = vide");
out.println("<BR>");
// Request
out.println("<BR><BR><STRONG>Display information about Requests</STRONG><BR>");
// Retreive Requests' names
java.util.Enumeration e = myUpload.getRequest().getParameterNames();
// Retreive parameters
while (e.hasMoreElements()) {
String key = (String)e.nextElement();
String[] values = myUpload.getRequest().getParameterValues(key);
// Browse the current parameter values
for(int i = 0; i < values.length; i++) {
out.print(key + " = ");
out.print(values[i] + "<BR>");
%>
</BODY>
</HTML>
The result shown is:
jspSmartUpload : Sample 5
Display information about Files
Number of files = 2
FILE1 = path.txt (240)
FILE2 = WS_FTP.LOG (146)
Display information about Requests
radio = Value 2
mySimpleSelect = Value 1
myTextArea = test
myPASSWORD =
myMultSelect = Value 3
myHidden = hidden
myText = test
myCheckBox = Value 1
myCheckBox = Value 2
myCheckBox = Value 3
I would like to know if i want to get back the parameters from the form ,
is that i must use Enumeration.
Because i have tried request.getParameter() to get the value of radio button, textbox, checkbox and select menu, but it get the null values.
Also, the function of Enumeration does not get the values of parameter in sequence as html form. e.g.In the html file, the first parameters should be textbox,but it displays the radio button's values first.
How to solve the problem .
ThanksThis sounds like a bug in the smart upload code. I have used this stuff before, but it's probably an older version, so maybe they broke something. Enumerations aren't usually guaranteed to keep things in any particular order. I would say for now, make a method to take the enumeration and a param name to find the value. And write to the JSPSmart people.
Maybe you are looking for
-
How can I transfer some songs from my ipod to my itunes library although they are not purchased from itunes store?
-
OBIEE: Criterias not appearing in Answers query
Hi All, I am trying to include two criterias based on date conditions in Oracle Answers but when I look at the query generated by BI server, I can't see the criterias included in where caluse.Please can u help! Criterias are something like this: CAST
-
Pcard in combination with catalog
Hi all, Is there someone who can explain me the process of Pcard purchases in combination with catalogs? I heard that there will be no request and purchase order in SRM for each purchase. There will be a periodic load from the catalog into SAP that c
-
Problem with getting the Grouping Separator based on Current Locale
Hi I have created a java swing application. In which I try to get the grouping separator based on System language and location(Control panel). But it always take comma as GroupingSeparator. I set the region and language to South Africa. Now It should
-
I have a VS 2013 C# web application. I have added a field to the SQL server database and need to add that new field to the table adapter in the application. When I right click on the table adapter and select configure I get an error that in cannot