Questions tagged [file-connection]
20 questions
11
votes
2 answers
Accessing the attributes of a file connection created via file()
I'm creating a file connection via path <- file("C:/test.txt") and when printing the object associated to the connection I can see the connection's "attributes":
> path
description class mode text opened…

Rappster
- 12,762
- 7
- 71
- 120
5
votes
1 answer
SSIS does not recognize file path
I have a File System Task to copy a local file to a remote drive, using the UNC path. Recently the target file server was moved, so I updated the path, but now I'm getting this error message:
[File System Task] Error: File or directory…
user565869
4
votes
1 answer
how to read/write text file in j2me
i want to know how to read and write text to a .txt file in j2me help me thanks...

user496789
- 107
- 1
- 4
- 13
3
votes
1 answer
Reading Content from File in J2ME
I am trying to read the content of a file but it seems not to work. I surfed the net and found different implementations as shown(read(), read2(), readLine()) but each time a run the codes they all give a NullPointer exception. Please what can I do…

nnanna
- 287
- 4
- 12
3
votes
0 answers
Presto local file connector testing
I deployed presto in my local machine and the server is up and running. I'm trying to access a local csv file named "poc.csv" using local file connector. I have created a file called localfile.properties under the etc/catalog folder. So, catalog is…

Gee162016
- 67
- 1
2
votes
2 answers
How can I avoiding API Access alerts in WTK
I have made a Home - Made Nokia 5800 emulator in my WTK 2.5.1, by converting on of the WTK's devices.
In my program, i'm using FileConnection.
When a call made to this APi, an alert been displayed and block the screen. Since my "emulator" contains…

eyal
- 2,379
- 7
- 40
- 54
2
votes
1 answer
R file connection when using parallel
I am trying to make a file connection within a cluster (using parallel).
While it works correctly in the global environment, it gives me an error message when used within the members of the cluster (See the script below).
Do I missed something?
Any…

Arnaud
- 377
- 1
- 2
- 11
1
vote
1 answer
j2me fileconnection java.io.IOException: Root is not accessible
FileConnection c = (FileConnection) Connector.open("file:///c:/myfile.txt",Connector.READ_WRITE);
if (c.exists())
{
System.out.println("exist");
}
else {
System.out.println("no…

Vanya
- 361
- 5
- 16
1
vote
1 answer
J2ME Exception opening a file: Root is not accessible
I'm trying to read a txt file following this answer but I can't get it to work. It shows this exception:
java.io.IOException: Root is not accessible
- com/sun/io/j2me/file/Protocol..unknown.(), bci=21
- com/sun/io/j2me/file/Protocol..unknown.(),…

Dani M
- 1,173
- 1
- 15
- 43
1
vote
1 answer
How to get list of image files from particular path in Blackberry?
I am new in Blackberry. I want to get all images from particular path like "file:///SDCard/BlackBerry/pictures/". I have searched and found following code..
public static byte[] getBytesFromFile(String filename) throws IOException {
…

Kinjal Shah
- 536
- 4
- 13
1
vote
0 answers
Filesystemerror(12) when opening App
When I am opening app, sometimes it is not able to access the database and treat as there is no database available in the SD card.
This issue is not generated at the first launch of App. It is generated at the 3 or 4th launch of App.
I thought that…

AnkitRox
- 534
- 1
- 6
- 16
0
votes
1 answer
SD Card's Free Size
I want to check the free size available on My Device's SD Card. I know FileConnection API. How can I check the free size of the SD Card ?

Lucifer
- 29,392
- 25
- 90
- 143
0
votes
1 answer
Read files on UNC path using File Connector - WSO2 EI(Linux)
How to Read files on UNC path using File Connector on WSO2 EI(Linux)? I am getting the below error while trying to read the file in a UNC location
WARN {API_LOGGER.FileMigration} - Executing fault handler due to exception encountered
WARN…

Sathvik Movva
- 3
- 1
0
votes
0 answers
Error with File Connector in a file transfer method
Good day, I am experiencing the below error after deploying my CapApp on EI 7.1.0
"WARN {FtpClientFactory$FtpConnectionFactory} - Invalid connection timeout null. Set the connectionTimeout as 5000. (default)
[2022-10-13 15:50:12,626] WARN…

Nalyssia Govender
- 11
- 3
0
votes
0 answers
SSIS Read File With No Column Names
Alright so I am not sure how to go about this, I have files that will be coming in a format like this that I need to read into a SQL Server database:
As you can see, it is "~" delimited and it contains no columns names at all. I will have multiple…

Coda759
- 107
- 14