goace / personal-file-sharing-center Goto Github PK
View Code? Open in Web Editor NEWA simple web APP for shareing files
License: GNU General Public License v2.0
A simple web APP for shareing files
License: GNU General Public License v2.0
After upload any file, I received this message with firefox (linux & windows):
To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.
On chrome, it works as expected
Is there a maximum file size that can be uploaded with this system, or will it support files of any size?
fout = open(os.path.join(root,filename),'wb') #index.py 99
temp["time"] = time.strftime("%H:%M:%S %Y-%m-%d",time.localtime(os.path.getmtime(root +'\'+ i))) #index.py 53
on windows!
求支持文件夹
It is said that web.py keep the whole file of a post request in memory. Is it the cause of this error. Any solutions for big file transmission in web.py
error traces below:
Traceback (most recent call last):
File "/dir/to/personal-file-sharing-center/web/application.py", line 239, in process
return self.handle()
File "/dir/to/personal-file-sharing-center/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/dir/to/personal-file-sharing-center/web/application.py", line 462, in _delegate
return handle_class(cls)
File "/dir/to/personal-file-sharing-center/web/application.py", line 438, in handle_class
return tocall(*args)
File "/dir/to/personal-file-sharing-center/index.py", line 87, in POST
x = web.input(file={})
File "/dir/to/personal-file-sharing-center/web/webapi.py", line 330, in input
out = rawinput(_method)
File "/dir/to/personal-file-sharing-center/web/webapi.py", line 303, in rawinput
a = cgi.FieldStorage(fp=fp, environ=e, keep_blank_values=1)
File "/usr/lib/python2.7/cgi.py", line 508, in init
self.read_multi(environ, keep_blank_values, strict_parsing)
File "/usr/lib/python2.7/cgi.py", line 635, in read_multi
headers = rfc822.Message(self.fp)
File "/usr/lib/python2.7/rfc822.py", line 108, in init
self.readheaders()
File "/usr/lib/python2.7/rfc822.py", line 155, in readheaders
line = self.fp.readline()
File "/dir/to/personal-file-sharing-center/web/wsgiserver/init.py", line 292, in readline
data = self.rfile.readline(size)
File "/dir/to/personal-file-sharing-center/web/wsgiserver/init.py", line 1008, in readline
bline = buf.readline(size)
OverflowError: signed integer is greater than maximum
will be good,i think that support share directory
how to deploy on cloudflare ?
Hi there,
I'm trying to run this app via heroku but I got the following error :
File "/app/web/wsgi.py", line 55, in runwsgi
raise ValueError, ':'.join(ip) + ' is not a valid IP address/port'
What can I do to resolve that ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.