rejetto forum

2.0 coming...

rejetto · 1151 · 541314

0 Members and 2 Guests are viewing this topic.

Offline Mr. Anon

  • Tireless poster
  • ****
    • Posts: 270
    • View Profile

pero28

  • Guest
Where I download complete version with template file, or same template file where work %upload% and %login%.

Thanks


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
the EXE file is all-inclusive
just "edit html template" and hit the "restore default"


nanackleman

  • Guest
I just tried uploading to myself, and my friend just tried uploading to me from a different pc and the files appear to upload however when I check the folder where they uploaded to it is empty!

This is a major bug!


Offline TGeRi

  • Tireless poster
  • ****
    • Posts: 113
    • View Profile
Hi!

I have this question for long time in mind.

If there is a pc where hfs never ran and i start it. What happens?

I mean 1. searches for .ini in smae dir
2. searches registry
3. if nothing found wirtes to the reigstry?

Or what?

I hope u understand my question. Sorry for my baad english.

TGeRi


nanackleman

  • Guest
I have tried everything I know to try and I am still getting the same problem. Upload just does not work anymore... and i do not get the nice upload status on the from to the left as in the previously posted screenshot... in fact there is no frame on the left!


nanackleman

  • Guest
now that I went back to beta 9 the upload works. Why did it not work in beta 10? When will the new beta 10 come?


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "nanackleman"
now that I went back to beta 9 the upload works. Why did it not work in beta 10? When will the new beta 10 come?
Same here. I reported that as a bug. I think only  Mr. Amon has it working, but then - he wrote his own template...

@Amon - why don't you post the template here (if it works...)


Offline Mr. Anon

  • Tireless poster
  • ****
    • Posts: 270
    • View Profile
VER 2: Alpha 11
+ Upload Framed Page
+ Progress Page: Bytes Completed
http://www.rejetto.com/temp/hfs2.0alpha11.zip


Offline Mr. Anon

  • Tireless poster
  • ****
    • Posts: 270
    • View Profile
BA11-1: Upload "Access For All" Bug
When Access For All is selected for all, user logged in would not be able to see the folder when the list protected items... checkbox is checked.

BA11-2: Upload POST bug
Code: [Select]
<form action="%encoded-folder%~upload" method=post enctype="multipart/form-data">Only posting to %dir%//~upload works. Bug remains.
Can you change it so it would post to /~upload? :)

CA11-1: 2x Add Progress Frame
I wonder if there's anyway to stop HFS from having 2 progress frames at once.
I don't think it's possible but you might have better knowledge. :)


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
@Mr Anon - you should find/fix the bugs BEFORE announcing a new version, not after...  ;)


Dutchman01

  • Guest
I'm trying too chance this template with another background color (#7378FF).

I don't no wat i'm doing wrong,

Can someone help me out, the background color stil be the same as the default template.

Thanks.

this template is from HFS 2.0 Alpha 11.



<html>
<head>
<title>HFS %folder%</title>
<style>\n%style%\n</style>
</head>
<body>
%login-link%
%loggedin%
%upload-link%

<div class=label></div
<div class=folder>Welcome at...</div>
<div class=folder>Dutchman's FTP Server.</div>
<br>Server Build:21-04-2004
<br>Last Update:27-05-2004
<div class=body
<div class=l
<div class=label>folder
<div class=big>%folder%</div>

<div class=body>
%up%
%files%
</div>
<div class=label>

<div class=folder>Have Fun!!!</div>

<br>Server time: %timestamp%
<br>Server Uptime: %uptime%

</div>
</body>
</html>

[style]
body, .button, .row, .big, .label, th, comment { font-family:tahoma, verdana, arial, helvetica, sans; font-weight:normal; font-size:10pt; }
body { margin:0; background-color:#DDDDFF; padding:10px;}
.label { font-size: 10pt; }
div.body {
  border-bottom: 4px solid #7378FF;
     border-top: 4px solid #7378FF;
    border-left: 1px dotted #7378FF;
   border-right: 1px dotted #7378FF;
  background:#F3F3FF; padding:15px; margin:15px;
}
.big { font-size:16pt; font-weight:bold;  }
A { text-decoration:none;  background-color:Transparent; color:#0055FF; }
A:visited { color:#5555FF; }
A:hover { background-color:#EEEEFF; }
img { border-style:none }
.right { text-align:right }
.row { font-size:12pt; background:#FFFFFF; border:1px solid #7378FF }
.comment { font-size:7pt; color:#888888; background:#EEEEEE; padding:3px; border:1px solid #DDDDDD; margin-top:2px; }
.column { color:#555555; font-size:15pt; font-weight:bold; padding-bottom:0; }
.button { padding:5px; padding-top:7px; border:2px solid black; background:white; font-size:10pt; font-weight:bold; }
.flag { font-weight:bold; font-size:10pt; background:white; color:red; text-align:center; border:1px solid red; }

[login-link]
<div style="float:right; padding:15px;"><a href="%encoded-folder%~login" class=button><img border=0 align=absbottom src="/~img27"> LOGIN</a></div>

[loggedin]
<div style="float:right; padding:15px;"><span class=button><img border=0 align=absbottom src="/~img27"> user: %user%</span></div>

[upload-link]
<div style="float:right; padding:15px;"><a href="%encoded-folder%~upload" class=button><img border=0 align=absbottom src="/~img32"> UPLOAD</a></div>

[up]
<a class=big href="%parent-folder%"><img src="/~img14"> UP</a>

[nofiles]
<div class=big>No files</div>

[files]
<div class=label>%number-folders% folders,  %number-files% files - Total: %total-size%</div>
<table cellpadding=5>
<th><a href="%encoded-folder%?sort=n"><span class=column>Filename</span></a>
<th><a href="%encoded-folder%?sort=s"><span class=column>Filesize</span></a>
<th><a href="%encoded-folder%?sort=t"><span class=column>Filetime</span></a>
<th class=column>Hits
%list%
</table>

[file]
<tr><td class=row>%new% <a href="%item-url%"><img align=top src="/~img_file"> %item-name%</a>%comment%<td class="row right">%item-size%<td class="row right">%item-modified%<td class="row right">%item-dl-count%

[folder]
<tr><td class=row>%new% <a href="%item-url%"><img align=top src="/~img_folder"> <b>%item-name%</b></a>%comment%<td align=center class=row><i>folder</i><td class="row right">%item-modified%<td class="row right">%item-dl-count%

[link]
<tr><td class=row>%new% <a href="%item-url%"><img align=top src="/~img_link"> <b>%item-name%</b></a>%comment%<td colspan=3 align=center class=row><i>link</i>

[comment]
<div class=comment>%item-comment%</div>

[not found]
<html><head><style>\n%style%\n</style></head><body>
<h1>404 -  Not found</h1>
<a href="/">go to root</a>
<hr>
<div style="font-family:tahoma, verdana, arial, helvetica, sans; font-size:10pt;">

<br>%timestamp%
</div>
</body>
</html>

[overload]
<html><head><style>\n%style%\n</style></head><body>
<h1>Server busy</h1>
Please, retry later.
<hr>
<div style="font-family:tahoma, verdana, arial, helvetica, sans; font-size:10pt;">

<br>%timestamp%
</div>
</body>
</html>

[unauthorized]
<html><head><style>\n%style%\n</style></head><body>
<h1>Unauthorized</h1>
!!!  STOP  !!!

<br>This is a protected resource!!!
<br>
<br>Your username/password doesn't match.
<br>If you lost your password please contact me.
<hr>
<br>!!!  Your IP Adress is logged!  !!!
<hr>
<div style="font-family:tahoma, verdana, arial, helvetica, sans; font-size:10pt;">

<br>%timestamp%
</div>
</body>
</html>

[deny]
<html><head><style>\n%style%\n</style></head><body>
<h1>Unallowed</h1>
This resource is not accessible.
<hr>
<div style="font-family: tahoma, verdana, arial, helvetica, sans; font-size: 10pt;">

<br>%timestamp%
</div>
</body>
</html>

[ban]
<html><head><style>\n%style%\n</style></head><body>
<h1>You are banned.</h1>
%reason%
<hr>
<div style="font-family: tahoma, verdana, arial, helvetica, sans; font-size: 10pt;">

<br>%timestamp%
</div>
</body>
</html>

[upload]
<html>
<head>
<title>HFS %folder%</title>
<style>\n%style%\n</style>
</head>
<body>
%login-link%
%loggedin%
<div style="float:right; padding:15px;"><a href="%encoded-folder%~upload+progress" class=button><img border=0 align=absbottom src="/~img10"> ADD PROGRESS FRAME</a></div>
<div style="float:right; padding:15px;"><a href="%encoded-folder%" class=button><img border=0 align=absbottom src="/~img21"> CANCEL UPLOAD</a></div>
<div class=label>folder</div>
<div class=big>%folder%</div>
<div class=body>
<form action="%encoded-folder%~upload" method=post enctype="multipart/form-data">
%upload-files%
<input type=submit value='Upload files'>
</form>
<br>Before uploading you may want to open a <a target=_blank href='/~progress'>progress status window</a>.
</div>
<div class=label>

<br>Servertime: %timestamp%
<br>Uptime: %uptime%
</div>
</body>
</html>

[upload-file]
<input name=fileupload%idx% size=100 type=file><br>

[upload+progress]
<html>
<head>
<frameset cols=200,*>
  <frame src="/~progress" scrolling=auto marginwidth=0>
  <frame src="%encoded-folder%~upload" scrolling=auto>
</frameset>
</head>
<body>
</body>
</html>

[progress]
<html>
<head>
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=/~progress">
<title>HFS - Progress status</title>
<style>
%style%
.filename { font-weight:bold; font-size:10pt; }
.bytes { font-size:9pt; }
.perc { font-size:14px; vertical-align:middle; }
.out_bar { width:100px; font-size:15px; background:black; border:black 1px solid; margin-right:5px; }
.in_bar { height:16px; background:white; color:white;  }
div.body { margin-left:0; margin-right:0; }
body { padding:2px; }
</style>
</head>
<body>
<div class=big>Progress status</div>
Auto-refresh: 3 seconds
<div class=body>
%progress-files%
</div>
<div class=label>

<br>Servertime: %timestamp%
<br>Uptime: %uptime%
</div>
</body>
</html>

[progress-nofiles]
<div class=big>Currently no file exchange is on with your address</div>

[progress-upload-file]
<span class=flag>&nbsp;up&nbsp;</span>
<span class=filename>%filename%</span>
<div class=bytes>%bytes% / %total% bytes</div>
<div style='margin-top:5px; margin-bottom:20px;'>
  <span class=out_bar><span class=in_bar style='width:%perc%px'></span></span> <span class=perc>%perc%%</span>
</div>

[progress-download-file]
<span class=flag>&nbsp;down&nbsp;</span>
<span class=filename>%filename%</span>
<div class=bytes>%bytes% / %total% bytes</div>
<div style='margin-top:5px; margin-bottom:20px;'>
  <span class=out_bar><span class=in_bar style='width:%perc%px'></span></span><span class=perc> %perc%%</span>
</div>

[newfile]
<span class=flag>&nbsp;NEW&nbsp;</span>


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Quote from: "TGeRi"
If there is a pc where hfs never ran and i start it. What happens?

try to load config in this order, and stop at first found
1. ini file
2. user registry
3. local machine registry

the config is saved to the same place where it was found.
if it was not found, it saves to ini file (from version 1.6).


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Quote from: "nanackleman"
I just tried uploading to myself, and my friend just tried uploading to me from a different pc and the files appear to upload however when I check the folder where they uploaded to it is empty!

yes, it is a bug in the template
it will be fixed in alpha12


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
BA11-1: can't reproduce it
BA11-2: alpha12 should fix it
CA11-1: i think it can be done using javascript, but i'm not smart with it. i let this job to someone else.

www.rejetto.com/temp/hfs2.0alpha12.zip