Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set config to File Transfer Progress Status #1576

Closed
TongTC opened this issue Jan 13, 2022 · 10 comments
Closed

How to set config to File Transfer Progress Status #1576

TongTC opened this issue Jan 13, 2022 · 10 comments

Comments

@TongTC
Copy link

TongTC commented Jan 13, 2022

Dear @iliarostovtsev

Good Afternoon from Thailand.

Please refer to the picture below

Screenshot 2022-01-13 130500

When I upload the files to server by not root permission.

The File Transfer Progress status not show.

Could you suggest me how to set config for File Transfer Progress status to show ?

Thank you so muchhh

Best Regard.

@TongTC TongTC closed this as completed Jan 13, 2022
@TongTC TongTC reopened this Jan 13, 2022
@iliajie
Copy link
Collaborator

iliajie commented Jan 13, 2022

Good Afternoon from Thailand.

Good afternoon. 🙂

Could you suggest me how to set config for File Transfer Progress status to show ?

File progress automatically shows for a large file uploads, when upload takes time.


I can see that you have latest devel version of the theme version installed -- beware it may not work correctly with uploads as it requires latest relevant patches for Webmin repo as well.

@TongTC
Copy link
Author

TongTC commented Jan 13, 2022

Dear @iliarostovtsev

Yes, I upload the large file around 300 MB.

Sometime Webmin finished upload but file that upload is uploaded around 100MB( actually not success ).

Please refer the picture for Authentic Theme version

Screenshot 2022-01-13 184707

Best Regard

@iliajie
Copy link
Collaborator

iliajie commented Jan 13, 2022

I am confused as based on your very first screenshot yellow delete button (move to trash mode) was only added few days ago in a development version.

I do see the progress when logged in as a root user and as virtual server owner:

image

When I upload the files to server by not root permission.

What do you mean by this exactly? How can I reproduce a problem?

@TongTC
Copy link
Author

TongTC commented Jan 13, 2022

Dear @iliarostovtsev

Sorry, It may confuse you.

What do you mean by this exactly? How can I reproduce a problem?

  • This is another problem.

Refer your picture that you mention it is another computer and I am checking the CSS for fix it.

For this topic is another one computer (Authentic Theme version 19.84.7) I used not root permission user for large uploading file but transfer progress status not show

Thank you for your support.
Best Regard

@iliajie
Copy link
Collaborator

iliajie commented Jan 13, 2022

@jcameron Jamie, any clue why uptracker.cgi returns document.forms[0].pc.value = "Not started"; as upload started when logged as Safe Webmin user?

@jcameron
Copy link
Collaborator

Because a safe webmin user isn't allowed to upload files, so the upload tracker never has anything to track the progress of?

@TongTC
Copy link
Author

TongTC commented Jan 14, 2022

Hello @jcameron

Because a safe webmin user isn't allowed to upload files, so the upload tracker never has anything to track the progress of?

  • yes , when I upload the large file upload tracker do not show any progress.

Thank you for your response.

Best Regard

@iliajie
Copy link
Collaborator

iliajie commented Jan 14, 2022

Because a safe webmin user isn't allowed to upload files, so the upload tracker never has anything to track the progress of?

Uploads are allowed with the safe Webmin user.

Perhaps, the problem for regular user is to write a temp file to $ENV{'WEBMIN_VAR'} dir:

# Find the location of the user's upload progess file
...
$upfile = "$ENV{'WEBMIN_VAR'}/upload.$id";

We probably need to pass a uid when uploading as a user.

iliajie added a commit that referenced this issue Jan 14, 2022
@iliajie
Copy link
Collaborator

iliajie commented Jan 14, 2022

Thanks for reporting. It will be fixed in the next Authentic Theme release 19.85.

@iliajie iliajie closed this as completed Jan 14, 2022
@TongTC
Copy link
Author

TongTC commented Jan 14, 2022

Thank you all of you for contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants