Jump to content

Uploading files...


ToonMariner

Recommended Posts

Hi guys,

 

I would like to know a little about the physical operations of uploading a file. I'll explain why first and hopefully someone will be able to pass comment on whether what I would like to do is possible...

 

I have been using uber upload to provide a progress bar while a file uploads - this uses some perl scripts and ajax to monito the process.

 

I notice that the script accesses the temp dir - it passes a unique id and the file appears to be uploaded into that diectory inside the temp directory that has the same name as teh unique id.  I also noted that the scripts calls a file inside the unique dir called .params and .flength.

 

Now what I would like to do is monito the upload WITHOUT the perl scripts.  Could I use an ajax call to a php script that can retrieve content from these .flength files and .param files without the perl script.

 

Is the perl script responsible for creating this folder with the unique id or does the server generate this automatically? How portable is this method? (does *nix MAC and Win create these .param and flength files)

 

I would really appreciate any responses as I am keen to learn more about this subject and perhaps create a cross platform php/ajax app that can do teh job without perl.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.