Welcome To Snipplr


Everyone's Recent Snippets Tagged file



« Prev 1 2 3 4 5 ... 10
How to create, copy, move, delete a file? Pour créer, copier, déplacer ou supprimer un fichier, on utilise la classe System.IO.File
0 4324 posted 7 years ago by martinbrait
Code to upload a file in PHP
0 4867 posted 8 years ago by devquora
This example shows you how to restrict to a specific file or multiple files. Add the following code block and edit the file name/s according to yuor needs.
0 4510 posted 8 years ago by apphp-snippets
Set headers for file download
0 3024 posted 9 years ago by macodev
This is a simple script which downloads the latest "LoRa Server" files from the repository of the user brocaar in GitHub. Just make the file executable with a "chmod +x script_installer.sh" and run it, the program will give you the latest releases o...
0 3808 posted 9 years ago by SoroushBlaster
This technical tip shows how to Set Line Spacing of the Paragraph in a Shape or Textbox in .NET applications. You can set the line space of the paragraph, its space before and space after using the TextParagraph.LineSpace, TextParagraph.SpaceBefore a...
0 5911 posted 10 years ago by sherazam
This technical tip shows how .NET developers can add line object to an Existing PDF File inside their .NET applications. Aspose.Pdf for .NET supports the feature to add graph objects (for example graph, line, rectangle etc.) to PDF documents. You als...
0 5508 posted 10 years ago by sherazam
Create a compressed TAR archive preserving permissions
0 4110 posted 10 years ago by rm1984
Replace a string with another one in many files
0 4585 posted 10 years ago by rm1984
Generate a random file with random contents but with a fixed size
0 4430 posted 10 years ago by rm1984
General file upload script in php. Error set using SESSIONS.
0 3458 posted 10 years ago by aravindnair93
Uses javascript to create a hidden iframe which downloads the file
0 5114 posted 12 years ago by jakob101
This technical tip shows how to load any existing email message and modify its contents before saving it back to disk using Aspose.Email for Android API. To do this successfully, specify the MessageFormat when loading the email message from disk. In...
0 4505 posted 12 years ago by johansonkatherine
How to download file from file cabinet
0 3509 posted 12 years ago by NSahu
This code sample shows how Ruby developers can create PDF file from HTML using Aspose.Pdf for Cloud API in their REST applications.
0 5051 posted 12 years ago by johansonkatherine
This code sample shows how Java developers can create PDF file from HTML using Aspose.Pdf for Cloud API in their REST applications.
0 5067 posted 12 years ago by johansonkatherine
This code sample shows how C# developers can create PDF file from HTML using Aspose.Pdf for Cloud API in their REST applications.
0 5734 posted 12 years ago by johansonkatherine
PHP developers can learn how to merge multiple PDF files into a single PDF file using PHP REST API and SDK. To merge PDFs, you need to upload input PDFs to Aspose for Cloud Service or any supported third party storage and then send a PUT request to A...
0 4826 posted 12 years ago by johansonkatherine
The Aspose.Note for .NET API allows developers to open files & manipulate elements of OneNote books & export them to PNG, GIF, JPEG, BMP and PDF formats. The following code sample shows developers how to save OneNote File as an image in C#/.NET
0 4383 posted 12 years ago by johansonkatherine
This file starts at the bottom of the tree and recursively moves all of the files from that tree into another folder. To avoid overwriting files I prepended all of the files with a 9digit number.
0 3088 posted 12 years ago by jlmarks
This example shows you how to remove file extension from URLs using .htaccess file directives. Remember, that "mod_rewrite" works only on Apache server. Before trying please be sure that you are working on Apache server and the "mod_rewrite" module/e...
0 3277 posted 12 years ago by apphp-snippets
This technical tip shows how .NET developers can export Microsoft Visio diagram to XML inside their own applications using Aspose.Diagram for .NET. Aspose.Diagram for .NET lets you export diagrams to a variety of formats: image formats, HTML, SVG, SW...
0 4879 posted 12 years ago by johansonkatherine
simple php file uploader with check for file extension and size.
0 3099 posted 12 years ago by codingforever99
Generate a generic file comment
0 2764 posted 13 years ago by brownrl
Launch DOS prompt to the SharePoint 2013 hive. To 'Run as Administrator' simply right-click on the batch file and select that option.
0 4307 posted 13 years ago by adove
Open Windows Explorer to the SharePoint 2013 hive using a batch file. Double-click the batch file.
0 4361 posted 13 years ago by adove
Place this snippent in your script, and call it like this: urllib.urlretrieve(getFile, saveFile, reporthook=report) Notice it is the 3rd argument that calls the function on each file that needs to be downloaded.
1 4472 posted 13 years ago by o0110o
This function can be used to check if a file exists using the HTTP header response. Example use, when looping through cached JSON objects (instagram API, etc.)
0 3187 posted 13 years ago by rickygri
Uploading a binary file(like .doc) to Dropbox. I tried with .ics and it worked.
0 3005 posted 13 years ago by RobinD
This allows you to take a node that has expressions in it and create copies of them that are hard pathed. It will also disable said expression driven write nodes and disable them.
0 2090 posted 13 years ago by throb
« Prev 1 2 3 4 5 ... 10