A block of arbitrary information, or resource for storing information, accessible by the string-based name or path. Files are available to computer programs and are usually based on some kind of persistent storage.
0
votes
0answers
4 views
Reading image from a pdf file
I have a requirement where the customer will upload a pdf file which contains image/s . I have to read that pdf file, extract the image from them, then save that image into db and in hard disk. But I ...
0
votes
1answer
26 views
Python stops writing to a file for no apparent reason
This is really odd.
I have a file temp.txt that has the following format:
1 1:1 1:1 *0.9 0 0 0.1 0 0
2 1:1 1:1 *1 0 ...
0
votes
0answers
10 views
File upload in laravel 4
I have coded this in controller and routes file in Laravel 4 and met with the errors like "Call to a member function move() on a non-object" and
"Call to a member function ...
0
votes
1answer
15 views
copy (duplicate) files in python
I want to copy all files from 2 directories to another, but when the files have the same name they get copied once(by one dir. not both) in the destination directory.
Here is the code:
def ...
0
votes
2answers
39 views
Null Pointer Exception when reading a file
I have two activities: In the first activity I am passing the String "pathName" to a second activity. I am receiving the extra okay and I can create a File from this path name. The problem arises when ...
0
votes
0answers
5 views
Copy/Paste files using JavaFX
I am aware that in java
follows the code...
File source = new File("H:\\temp\\file");
File desc = new File("H:\\temp\\file2");
try {
FileUtils.copyDirectory(source, desc);
} catch ...
0
votes
0answers
4 views
android expansion files info element empty
Can someone confirm that the Uri for the expansion file is in the extras of the license response. If I set a draft apk to license that part of the code appears to work, if I set apk to normal it ...
-1
votes
3answers
36 views
Python function that is supposed to take a certain file and print out the occurrences of a certain part of the file
For example, if I take this file: http://vlm1.uta.edu/~athitsos/courses/cse1310_summer2013/assignments/assignment7/albums.txt
I need the function to count each band and the number of times they are ...
0
votes
2answers
40 views
How can I recall a file in html [on hold]
It really is confusing to me I don't know how to explain exactly but Ill do my best.
Lets say I browse for a file and submit it. On the next page I have a button to return to the previous page so you ...
0
votes
0answers
6 views
Passing arguments to a C file executable using for loop in bash script (newbie here , be gentle)
i am facing trouble with writing a bash script.
My objective:
The program i am writing accepts the name of a .mp4 video file. Converts it to frames using ffmpeg and stores all the frames inside a ...
0
votes
2answers
15 views
Upload file doesn't neither try to upload
I have a very simple script:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<!-- this is up.php -->
<form action="up.php" ...
0
votes
1answer
42 views
updating a file in sorted order
suppose my file contains Names
Nitish
Prudhvi Raj Borra
Rajesh
Srinath
now what the questions i want to update the file i mean i want to append some data in ...
0
votes
2answers
40 views
Cross process file locking in .Net
I have seen several similar issues on Stack before but nothing that seems to fit my needs.
I have a simple scenario. A webpage that streams a pdf file but a separate service that updates that same ...
0
votes
2answers
28 views
selecting only relevant columns within a file - python
Let's say I have a file 'test.csv' containing the following headers and data:
h1 c1 h2 h3 c2
1 0 2 3 1
3 0 2 1 0
0 1 2 3 3
What is the best option in python to only ...
1
vote
3answers
28 views
Append +1 to date in batch file
I have a batch file which creates today's date just fine. Now I need to update it to show tomorrow's date. Any help is much appreciated:
@echo off
set TimeStamp=12:00:00
FOR /F "TOKENS=1* DELIMS= " ...