hello,
i have an application that loads different documents to the server, and allows users to read documents' content.
i am uploading the documents to the server, and then i try to read the courses by id, like:
def view_course(request,id):
u = Courses.objects.get(pk=id)
etc
But i don't find anywhere : how can i actually read the ...
Hi
I am trying to write a small php function that will upload files to an FTP server and I keep getting the same error but I cannot find any fix by googling the problem, I am hoping you guys can help me here...
The error I get is: Warning: ftp_put() [function.ftp-put]: Unable to build data connection: No route to host in .
The file wa...
Hello, I have the following code in uploadLogo.asp:
<%
Set Upload = Server.CreateObject("Persits.Upload")
' we use memory uploads, so we must limit file size
Upload.SetMaxSize 100048576 ' Limit files to 100MB
' Save to memory. Path parameter is omitted
Upload.Save
' Check whether a file was selected
Set File = Upload.Files("Filedata")...
hi Diego
Im using ur multifile upload plugin. it works fine for insert mode.
but i want to use this in edit mode also.
How can i do that?
i need to show the already uploaded files in database using this plugin?
Please help me out!!! its urgent
Thanks Ahead !!!…
Regards,
Mandeep
...
I would like my application to upload photo to a specific album of my friend.
photos.upload(); can take albumid and userid as parameters, but it says "invalid albumId" whenever I try to upload it into my friends' albums, where as it successfully gives out the pictureId if it were to upload in my own Albums.
...
Hello.
My goal is to upload file with ajax-way.
I use this javascript library http://valums.com/wp-content/uploads/ajax-upload/demo-jquery.htm
There is a link on my page like "Upload" button on example page.
When I click it, "Open file" dialog is open.
I choose file and form is automatically submitted.
This is my javascript code.
v...
using javascript.
I have a file in string (getted with ajax request). How to upload it as file to server by another ajax request ?
...
I have a Firefox component for PDF signing that I invoke via Javascript. The problem is that this component outputs the signed PDF as a file on the user's filesystem - there is no way to get a byte[], stream or similar.
I need to post this signed PDF file back to the server. Is it possible to do this in plain Javascript, without additio...
I want to upload a txt file to a website, I'll admit I haven't looked into it in any great detail but I have looked at a few examples and would like more experienced opinions on whether I'm going in the right direction.
Here is what I have so far:
DefaultHttpClient httpClient = new DefaultHttpClient();
HttpContext localContext = new ...
Is it possible to programmatically upload a picture to twitter from iPhone?
Can this be done through twitter directly, or do I need to use a third-party service like Twitpic?
...
I am creating an application in VC++ using win32,wininet to upload an image to Flickr.I am able to get Frob,Token correctly but when I try to upload the image I am getting error Post size too large.
Headers are created as follows
wstring wstrAddHeaders = L"Content-Type: multipart/form-data;boundary=ABCD\r\n";
wstrAddHeaders ...
is there any way to check how much of the file is uploaded in php? so that i may display a progress based on that. plz tell me a way other than apc_fetch().
...
I need upload file on the website.
But Have a problem, i can't choose file automatic in code. Always browser show me choose file window.
What wrong in my code?
IE ie = new IE("https://www.xxxx.com/WFrmlogin.aspx");
FileUploadDialogHandler uploadHandler = new FileUploadDialogHandler(@"D:\065-6405_URGENT.xls");
ie.WaitForComplete();
ie.T...
On the one hand there is http://ckfinder.com/
CKFinder or the people behind it have always been very vague about their licenses when we asked information about them, so we aren't really fond of using their commercially licensed products.
So I've looked for an alternative and found http://kcfinder.sunhater.com which comes with an LGPL l...
I have a form file upload. When the users goes to upload an image, it displays all files on their computer. How can I make the HTML upload dialog window to only display JPG, GIF and PNGs?
...
All I want to do is allow the user to browse through their folders to look for a file, select it and then press submit which saves the file to my server as well as the path to the saved file.
How would someone do this? (Some sort of tutorial website would help a lot)
...
Is there any way to upload a file to a varbinary with SQL Management Studio without writting a manual SQL query ?
...
Some of the problems that can happen are timeouts, disconnections, and not being able to resume a file and having to start from the beginning. Assuming these files are up to around 5gigs in size, what is the best solution for dealing with this problem?
I'm using a Drupal 6 install for the website.
Some of my constraints due to the ser...
Hi All,
I have seen lot of reviews and have not been able to figure out how I can solve my problem..
Problem:
Currently we have a page to upload the file from local machine to the respositry. It is currently using Struts upload. Now the current requirment is, Since users upload around 1gb of file, they are made to wait for a long tim...
this is my code :
import os
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext import db
#from login import htmlPrefix,get_current_user
class MyModel(db.Model):
blob = db.BlobProperty()
class BaseRequestHandler...