video.module FTP upload

Hi everybody,

well, I have an upload problem with the video.module beacouse the ISP is hosting my web site have a max_upload_size limitation that i cannot remove: i can't upload videos greater than 2 MB.

I think that a solution to solve this problem could be to use an FTP uploader instead of the upload.module.
Is this possible? or always exists an FTP uploader module?

Thanks,
Andrea

.

NikLP - December 27, 2006 - 01:27

If your ISP (if that is what you mean - ISP is not usually a hosting provider?) has limited the upload capacity of your PHP/(Apache?) install then you could be tied to that. In normal 'nice' ISP circumstances, it is sometimes possible to override your php.ini settings by putting Apache directives in a .htaccess file in your root directory, but not always.

Your best bet is probably to contact your ISP and see what their policy is. If you are running into problems at this level of the proceedings, you should probably seek other means of hosting.

FTP is not HTTP

dman - December 27, 2006 - 01:46

I see what you are asking, but there's a fundimental difference between a website which works using HyperText Transfer Protocol and you uploading via File Transfer Protocol.

Most browsers, as a convenience, also support a type of FTP browsing, and potentially even other FTP actions like renaming and uploading ... but it's NOT done with HTML, or PHP, or even Apache! It's a parallal service that happens to act on the same files with almost-the-same URL syntax.

Thus, I can't imagine an Apache-PHP-Drupal 'module' helping you to automate an FTP application running on your PC. FTP Uploading is 'push' so must be done by running an FTP client on your machine.

SO. Your solution will have to be sorting out an FTP program of your own to do the uploads, then linking that uploaded stuff in to your site at the other end.
Or, sorting out with your host a setup where your humungous file uploads will work.

There are a few other forum posts historically asking similar questions about large and x-large file upload support - I don't think I've seen any answers.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

FTP to upload

Shawn DeArmond - January 2, 2007 - 00:54

I'm fighting with this currently too. Here's the deal: My web host does not allow PHP's upload filesize to exceed 10MB. Period. That's not big enough by far, even for an audio podcast. In fact, in admin/settings/upload it says that my max filesize is 4MB, even though phpinfo() clearly says that it's 10MB. Figure that one out.

It seems that over all, PHP is pretty lame when it comes to large file uploads. FTP, SSH, WebDAV, all seem to work better, but of course, they're not necessarily compatible with Drupal, being a PHP application.

So, this is what I want:
Since I'm the only administrator, what if I use Dreamweaver (or whatever) to FTP the big files into the /files/audio directory... then I can tell the node the URL of the file. I don't need to use Drupal to actually drive the uploads, as long as I can tell it where the file is currently sitting. I know I can link to the file, but I'd really like it to be able to podcast as well. It would be great if the Audio module would allow an uploaded file, OR a URL.

Is there any way to do this?

these may help

dman - January 2, 2007 - 01:27

My attach.module supports associating already-uploaded files using the Drupal 'files' upload association. Either by entering the path, or, if you also install the filebrowser extensions, by browsing and selecting them.

File management bundle

Not release-status code, but does the job for many of my needs

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

I found a solution but I need some help

scOOby - February 16, 2007 - 17:33

Well,

take a look at this java applet to upload large files through FTP: http://sourceforge.net/projects/zupload/

I have already tested the software on my PHP max_upload limited server and it works well.

I think it could be the solution we need but now ... how can we integrate it into the upload module?

Thanks every body for the usefull help!

scO_Oby

You could also put the code

aktivist - May 1, 2007 - 04:57

You could also put the code below in your .htaccess file and it will change that, work for me, you can change 32M to what you want such as 64M etc

php_value post_max_size 32M
php_value upload_max_filesize 32M

Your solution helped me.

Gowri - February 4, 2008 - 00:44

Including the line in .htaccess for file_max_size solved the upload file size bottleneck. Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.