I can't seem to find any documentation on this. Is there a limit to the number of characters that can be used in a filename and/or is there a restriction on what characters can be used in a file name saved by an iPhone app? Thanks.
...
Does C# have any functions to produce a new name for a copied item ? For example , if I have a string called "Folder" , I need a function to produce a string "Copy of Folder"....and given the string "Copy of Folder" the function should produce "Copy of Folder (1)" and so on ....
...
Hi. Does anybody know how to browse for a file in Intraweb?
I'd need something similar to the Delphi OpenFileDialog. There is a TIWFile component, but it has no test/filename property to set. I need to locate a file, save the path in a database and then later on retrieve and display the filename.
Regards, Pieter
...
My script downloads files from the net and then it saves them under the name taken from the same web server. I need a filter/remover of invalid characters for file/folder names under Windows NTFS.
I would be happy for multi platform filter too.
NOTE: something like htmlentities would be great....
...
I'd like to store uploaded files into a specific directory that depends on the URI of the POST request. Perhaps, I'd also like to rename the file to something fixed (the name of the file input for example) so I have an easy way to grep the file system, etc. and also to avoid possible security problems.
What's the preferred way to do th...
Using Delphi 2007 and TMS components for Unicode utils and interface (upgrading to Delphi 2009 for Unicode support is not an option).
I'm storing a list of filenames in a string list (TTntStringList). It's sorted and case insensitive. The default sort routine uses CompareStringW(LOCALE_USER_DEFAULT, NORM_IGNORECASE, ...) to compare stri...
hi; i have a problem, clearly.
when i started the project i had stupidly named my [AppName]ViewController just [AppName]Controller.
As i went along i could never get iphone simulator to display more than a blank white screen. upon having made all the connections in interface builder and still facing the same problem, i decided my blank ...
I have an NSArray as follows:
NSArray *directoryContent = [[NSFileManager defaultManager] directoryContentsAtPath:filePath];
The files at filePath are:
11.thm, 12.thm, 13.thm,...,Text_21.thm, Text_22.thm, Text_23.thm,...
I would like to sort the NSArray in the order:
13.thm, 12.thm, 11.thm,..., Text_23.thm, Text_22.thm, Te...
What is the easiest way in Windows to get the location of a file?
I have a filename that was returned to me by the Windows function GetModuleName (returns the full name of a module (exe or dll)), and which could be in any valid filename format, e.g.
myfile.dll
c:\windows\myfile.dll
\?\c:\windows\myfile.dll (or something like this)
x:\...
Hi, regarding file uploads, I have a form through which I upload a file, I get the $temp_name = $_FILES['name']['temp_name'] and store it in a variable.
Can I then use that variable again inside move_uploaded_file("$temp_name","$location") inside another form.
Will this work??
When we upload a file, there is a temp location created o...
I found out and tested linux allows any character as a file name except for / and null. So what sequence should i not allow in a filename? I heard a leading - may confuse some command line programs which doesnt matter to me however it may bother other people if they decide to collect a bunch of files and filter it with some GNU programs....
For example, given an empty file テスト.txt, how would I make a copy called テスト.txt.copy?
My first crack at it managed to access the file and create the new filename, but the copy generated テスト.txt.copy.
Here was my first crack at it:
#!/usr/bin/env perl
use strict;
use warnings;
use English '-no_match_vars';
use File::Basename;
...
how can i cycle thru a local folder to add all (or some) files names and references to that file in an array using actionscript 3.0?
var fileArray:Array = new Array();
for (var item:Object in "../myFolder/")
{
trace(item.name);
fileArray.push(item);
}
something like this?
...
I have 500 files .TXT, for example:
abc-1.TXT
adfer-2.txt
affd-3.TXT
asxdcccc-4.TXT
...
How can I change the following program to achieve results in order of numbers in the filenames:
Names = dir('MyFile\*.TXT');
for i = 1:500
fn = strcat(['MyFile\' Names(i).name]);
...
is there a way to make the loop on th...
Right now we've got a hard-coded set of characters that we check for -- :*?"<>|/\ -- basically the ones Windows complains about. However, running on Linux, this is way too restrictive.
I know that in Java 7 NIO, the Path class is supposed to be smart enough to check this in an OS-dependent way, and throw an InvalidPathException if you s...
I want to count the number of file in the current directory as well as load all file names in the array. If possible, I want to know how to filter file extension also
...
in windows SAS, how to read the file loaded recently in particular path.
as i am accing from a path having lot of files , so it should pick a file having the latest data loaded in that path
...
Hello,
I have a directory with a lot of files in it named: file001.pdf, file002.pdf etc.
Now I want a linkbutton in asp.net witch opens one of the above files with an other name!
So for example the linkbutton show's and opens when clicked the pdf: newname.pdf.
Is this possible in asp.net? I only want the client to see the newname.pdf...
I followed Apple's example for creating a managed object which btw was great...
http://developer.apple.com/cocoa/coredatatutorial/index.html
However I now want to know what "name" (filename) the user saved his data as. Does anyone know how to pull the filename from the core data object.
something like this would be great...
NSLog (@...
My C# project saves files and creates folders with the extended ASCII character "²" (superscript 2). Is this safe to work with internationally? Is this something that could cause any issues with the .NET libraries or Windows functions?
...