views:

66

answers:

2

I need to attach video files to nodes in Drupal 6, yet the AJAX uploader fails (the dreaded HTTP error 0), and anything I tried to debug it didn't help (may be moving to Drupal 7 will, but that's still going to be some time). Is it possible to somehow upload the file to the server via FTP, and then simply attach it to a node, so that it is linked in the same way that it would be linked after a regular file attachment?

This is not about CCK's FileField. This is about the "vanilla" node attachments. To do the same for FileField uploads I used FileField Sources module, and I'd like to find a similar solution for the node attachments.

+1  A: 

your problem is in limit upload file size.

  1. check it is in php.ini settings
  2. do not forget that max package size limits upload size too
  3. check drupal settings (drupal file system settings or filefield settings)
Igor Rodinov
Thanks for attempting to help, even though I asked a different question. I did check 1 and 3 already, but can you please clarify 2 - is it another php parameter apart from upload_max_filesize and post_max_size?
NPC
+1  A: 
Grayside
Yep, I've seen that thread, and I don't want to patch the core - that's why I am looking for a file attachment solution.
NPC
Oh, and I don't use https :( But thanks for offering to help anyway.
NPC
Not suggesting you patch core, suggesting that it is the primary place of discussion for your issue, cross-linked with other issues of people experiencing this. The vagueness of the error makes it very difficult to troubleshoot without seeing someone else complain of the same problem while doing what you are trying to do.
Grayside
Yes, thanks for that. But if the most frequent solutions don't work, then one is lost in the dark without patching the core.
NPC

related questions