folder

PHP "The upload destination folder does not appear to be writable"

Hello fellows, When I try to upload a file on my localhost version of the website it gives me the following message: "The upload destination folder does not appear to be writable" The upload functionality is working perfectly on production server. I checked the permissions of the destination folder about million times still getting th...

MsBuild ZIP Folder named by date and time actual

I'm pretty new to MSBuild so please be gentle with me, I need sample for do this: I have a msbuild file, mydeploy.targets, to deploy WebSite in remote machine. I want to do backup (of files of remote machine) for each deployment. I need ZIP a folder in remote machine, for generate ZIP file of all folder (all contents files, folders), ...

How to get file list using system variable %LOCALAPPDATA%?

Hi, I want to read the content of the folder located at %LOCALAPPDATA%. But it fails when I tried Directory.GetDirectories("%LOCALAPPDATA%"); I get "The name 'Directory' does not exist in the current context" Please help. ...

Power shell for downloading folders through ftp

Hi guys, I have a web application that generates and uploads documents (word, pdf etc) on the server. Now I am writing a power shell script that will first transfer these files to an ftp folder. This part is done. The second script will run on my back up server every day and download all the folders/files from that ftp server to my back...

PHP Create File on Network Share

I can read files using PHP from a network share, but how can I create a file and folder on a network share? ...

Compress Document folder in application sandbox of iphone

Hi I need to compress the Documents folder in the application sandbox and upload the compressed file to a server. I've been able to send files from iphone to the server, but am stuck in regards to compressing the folder. I'm using the ASIHTTPRequest libraries for connecting to the server. Any body can point me to the right direction. I...

Batch file to delete specific folders

I need a batch file that will recursively remove all directories with a certain filename. This is what I have so far and its not working. FOR /D /r %%G IN ("*.svn") DO DEL %%G Thanks! ...

Create folder in Sharepoint

I need to create a folder in the root directory of Sharepoint 2007. ...

How do we add a whole repository and not file by file in CVS??

Hello I am using a custom library which has a lot of files. Now in order to use that library I need to add all the files of that library to the local CVS. So when I cvs update, it shows me all the files that are unavailable on CVS, and this library has a lot of files. So I have to cvs add first to add files to cvs and then commit. Is the...

Windows temp directory details (Java)

I'm writing a program that needs a generic temp folder. I'm trying to find details about the Windows Temp folders. There are two paths that I know about - In each user directory under AppData\Local\Temp\ This may change depending Windows version? In the system folder under Temp\ (C:\Windows\Temp) I'm wondering exactly what Windows do...

move folder from one directory to another in batch script

Hi, can anyone please tell me how to move a folder from one path to another path using batch script? For ex: I want to move XXX folder(including the contents) from D:\abc\XXX folder to D:\cef\ Regards, Orbit ...

How can I use custom icons in a "Browse for folder" dialog?

There is a nice feature in the "Open Project..." dialog (see image below) in the NetBeans IDE which uses a custom icon for the folder symbols depending on the project type in that folder. For example, if a folder contains a pom.xml file, the Maven project symbol appears. Maybe there also an extension point in the Windows standard dial...

Traversing an ftp folder with python

I need to write a python script that traverses a folder on a FTP server. for file in ftpfolder: #get it #do something untoward with it Snippets and non-wheel-reinvention advice welcome. ...

Indexing files and quickiest way to find a file in folders?

Hi, I have 660000 xml files(with unique file names) in 22 folders. Each folder has 30000 files. I need to find them by their names efficiently in a C# application. I know there is a SearchIndexer service in Windows(?Vista+?) and I was just wondering if I can use that or I have to index the files myself? Alternatively, I guess I could c...

Phonegap offline storage

Hi and thanks in advance, I'm working on a phonegap iPhone app which downloads content from the network in the form of HTML docs with text, images, and embeded HTML5 videos. I want to download these documents as they're available and store them locally, for further reading in offline mode. I've searched a bit and found that the optimal...

Force Delphi to open a project with chdir the project's dir

Hi! I have Delphi 6 prof, with Win7. We have many projects. Some of them are favourites, commonly used/edited. Formerly I used GExperts' fav. files that is shown in "Open dialog" for this. But this is vanished with Win7. The main problem that Delphi don't forcable to use a folder as initial folder. What's this meaning? When I start a...

Win32 Perl - Telling the difference between files and folders using a passed directory argument

Hi, I'm writing a script in perl strawberry. The first thing it needs to be able to do is take a path argument and get a directory listing for that path, and it needs to be able to distinguish between files and folders. I read some tutorials on the subject and wrote the script below, but it only works when I give it the path that the s...

Ignore an entire directory in Visual Studio before a build?

I currently have a project I am building in Visual Studio 2005 and I need to be able to build the part of the project some of the time with directory A and sometimes with directory B and never both. If you right click a file (foo.f) --> Click Propeties --> you can change the "Exclude File From Build" from NO to YES and the project will ...

How to get TortoiseSVN to propose a checkout destination folder path 'intelligently'

I have three systems each with a TortoiseSVN installation accessing a common repository either on our intranet or via the web. When I choose a folder in the repo browser and right-click and select 'checkout' I get what seems to be various proposed destination paths despite playing around with the setting 'Default checkout path' in 'Dialo...

Android Development Missing "drawable" folder (NetBeans IDE)

Hello, I recently switched to Ubuntu and decided to use NetBeans for Java development instead of Eclipse which I used on Windows. The problem is, in the Eclipse I used on Windows, I had a folder named "drawable-hdpi" with the standard app icon in and a few other folders like "drawable-mdpi" (I think). But with NetBeans, there doesn't ...