rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bmartino1

Pages: 1 ... 48 49 50 51 52 ... 61
736
Bug reports / Re: Ping increases too much on download
« on: July 05, 2014, 08:24:46 PM »
Issues with IDM (http://www.internetdownloadmanager.com/articles/vista-idm.html) not HFS, possible how your machien is connected to your network before IDM's use...

Only thing in hfs that may help is:
(see pic)

Do a test:
http://www.idm.net.lb/support/

737
HFS ~ HTTP File Server / Re: From Russia With Hate
« on: July 04, 2014, 03:45:46 PM »
A failry cheap and somewhat portective way to block ips!
--------------------------------
(I d not guarantee it is a permanent way to block, as no device connected to the internet is safe!)
Here is may be something you might be wanting:

Buy a fairly cheap old linksys g router and setup the "dmz"/port forward to the ip of old router to your router as network diagram shown:

isp internet > ddwrt router > current router

The ddwrt would then be a "firewall router"

So:
BLOCK INCOMING IP USING DD-WRT (IPTABLES)

First, log into DDWRT router

(*if ssh acess is aviable you can test the comands via option >my firewall via ssh to get a rule in place immediately:)
Command:
iptables -I CHAIN -s xxx.xxx.xxx.xxx -j DROP
(Listing the rules:
Command:
iptables -L --line-number

which will show somethign like this:
1 DROP 0 — ppp-xxx.xxx.xxx.xxx.revip.proen.co.th anywhere

(upon restart if your router as if commands are only add it via ssh, it will be gone!)
--------------------
--------------------
so we need to save our Commands:

iptables -I CHAIN -s xxx.xxx.xxx.xxx -j DROP
--------------------

open your router's web gui

xxx.xxx.xxx.xxx/Diagnostics.asp
(administrations > Commands)


iptables -I CHAIN -s xxx.xxx.xxx.xxx -j DROP

Clicked the “Save Firewall” button.

That's it, this guarantees that upon reboot that ddwrt firewall will not let the ip address in!

-----As i'[m curently testing htis as i write it--------
I went ahead and rebooted to confirm the new rule was loaded at startup.
No more auth attempts from that IP.

NOTE 1: This method will drop ALL TRAFFIC from the listed IP. Play for keeps!
NOTE 2: If this is your Public IP, you need to check yo’ self before you wreck yo’ self… :)

ddwrt iptable commands:
http://www.dd-wrt.com/wiki/index.php/Iptables_command


738
Although i was unsuccessful at setup and configure the latest source build to compile here are some helpful informations...

from post:
http://www.rejetto.com/forum/hfs-~-http-file-server/hfs-and-phpmysql/
-----
Probally should be its own post...

Quote from: Mars on May 18, 2014, 04:44:44 PM
turbo delphi 2006 portable
http://freecache31-free.uloz.to/Ps;Hs;fid=5895582;cid=764436158;rid=587271319;up=0;uip=86.213.250.162;tm=1400625243;ut=f;aff=ulozto.net;did=ulozto-net;He;ch=b9e0140b7da50f6051a959914a5e6516;Pe/5895582/turbo-delphi-portable.rar?bD&c=764436158&De&redirs=2

launch tdrun.exe

Thank you again!
To whom it may concern i though that other users may want the terminal comand line version along with this portable version...

Befeore you continue to ensure that you don't corupt youyr system PLEASE DO A SYSTEM RESTORE!
CREATE A SYSTEM RESTOR POINT!

as we/ you will need to add files to your windows system32 folder!

----------
these files are needed in system32 to sucessfuly use the source batch script comand line:
brcc32 data.rc
dcc32 hfs.dpr
pause
---(which is used and the process to compile and make it an excutable!)---
(esentail the entire bin except 2 files [dcc32.cfg and dcc32])

you will need to edit 1 of thoses files and added it to system32 (this is the esentilaconfig file for dcc32 which puts the paths and directiories...

downlaod the required files:
https://drive.google.com/file/d/0B9u5dgydfOEudmc5UnN0M19oOVE/edit?usp=sharing

wokring config file(for me atleast):
--------------CFG File (dcc32.CFG)
-$A8
-$B-
-$C+
-$D+
-$E-
-$F-
-$G+
-$H+
-$I+
-$J-
-$K-
-$L+
-$M-
-$N+
-$O+
-$P+
-$Q-
-$R-
-$S-
-$T-
-$U-
-$V+
-$W-
-$X+
-$YD
-$Z1
-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE
-B
-CG
-GP
-H+
-W+
-M
-$M16384,1048576
-K$00400000

//Use package
-LU vclx100

//Unit directories
-U"C:\Windows\System32\Turbo Delphi Portable\lib";"C:\Windows\System32\Turbo Delphi Portable\lib\Obj";"C:\Windows\System32\Turbo Delphi Portable\Imports"

//Package DPL output directory
-LE"C:\Windows\System32\Turbo Delphi Portable\Projects\Bpl"

//Package DCP output directory
-LN"C:\Windows\System32\Turbo Delphi Portable\Projects\Bpl"

//EXE and DLL output directory
-E "C:\Users\User\compiled"

//Resource directories
-R ""

//Object directories
-O""

//Include directories
-I""

-w-UNSAFE_TYPE
-w-UNSAFE_CODE
-w-UNSAFE_CAST

-------------

You will also need this (the program that mars has shared in the quoted text - nothing changed just another download link if needed...)

download file:
https://drive.google.com/file/d/0B9u5dgydfOEuaU1La2tnZ2FfWmM/edit?usp=sharing

Now you have delphi 6 command live compiler via cmd dcc32 version 18....

will add all the lib when i have them to make it easyer to downlaod and program and edit the soure!
(still having isues on that...)
Modify message
------

i later sent up my libs folder...
redid my windows and cleaned up my paths where my files are (same issues and recompiling issue...

Eventualy help and found this:

http://www.rejetto.com/forum/rq/sources/
----
Quote from: "alkimiya"
Libs used
- TWsocket, by François Piette
- VirtualTreeview and ColorPickerButton, by Mike Lischke
- RegExpr, by Andrey V. Sorokin
- JVCL, by Project JEDI
- MD5, by Matthias Fichtner
- PNGunit, by Jack Goman and Edmund H. Hand

from &RQ:s about box :)

Oh !  ;)
Links, for programmers:
TWsocket: http://www.overbyte.be/
VirtualTreeview and ColorPickerButton: http://www.delphi-gems.com/
RegExpr: http://regexpstudio.com/
JVCL: http://jvcl.sourceforge.net/

But where to find PNGunit ? The page http://sharepower.virtualave.net/png.html
is no longer exist...
-----

Which was okay, i took the longer way around and/or used these sites upon eventauly finding them...

Issue trying to compile it:

all goes fin until jclntfs:
[Pascal Fatal Error] JclNTFS.pas(50): F1026 File not found: 'jcl.inc'

simple code issue not finding fileas at paths:
---
unit JclNTFS;

{$I jcl.inc}
{$I windowsonly.inc}
----

changed line 50

{$I jcl.inc}

to

{$I C:\Windows\System32\Turbo Delphi Portable\lib\jcl.inc}

(which is wehre the libs and jcl files are)

which then turned into error this:

[Pascal Fatal Error] JclNTFS.pas(50): F1026 File not found: 'C:\Windows\System32\Turbo.pas'

Upon searching turbo.pascal is a compile program by itself  and as such i gave up on tryign to compile it...

Either i did wrong by trying to correct the pascal file and messed up my entire resource that may or may not have pointed to turbo.pas

or there is an issue within the jedi sourcforge package that may finish the ability to compile it...

Either or this is just information nothing more

739
cool, i look forward to testing it with you, don't knwo if this helps, but a simalar version with mysql and peral adodns is located here:

http://www.rejetto.com/forum/hfs-~-http-file-server/hfs-and-phpmysql/msg1059125/#msg1059125
------
i guess i was trying to do something like this(as it has already been done), except use hfs not appache:

http://www.server2go-web.de/

Download forms(unkonw if it is free...)
http://www.server2go-web.de/download/download.html
-----

I don't know much php, just enough to get myself in trouble... lolz :)

If i could be of help just post a download link and what your need to test
Brandon

P.S. Interested in this new program "Andromeda" as it seems you might not use hfs at all, or possible combine the 2
:)

740
FHFS / Re: auto start
« on: July 02, 2014, 02:33:45 PM »
yes, indeed.. but it enables the ftp access.. from there filezila just needs to be added to the startup folder so both programs run at startup...

---
to be honest ray bob, i've been debating on hacking away at your template and moving it to a secondary project with 2 programs that had a ftp side "gui" so i would also have the programs "command line options".. in which the service enabled would also start the ftp program...
(haven't started and is not on my list of things to do, as since hfs handles a similar form of ftp file sharing and i'm able to brign it to https.. i see no uses for having a ftp side program...
----

I do appreciate your work and scripts you have put into it as i'm interested in how you had your temples setup and experimenting with them trying to get one of my projects started.

thank you RayBob! :)

741
FHFS / Re: Share files among user in FHFS
« on: July 01, 2014, 10:02:03 PM »
i will assume that you have fhfs and hfs.exe at thsi location:
C:\Program Files\FHFS\hfs.exe

I will asume that you have read this previous post in which i have helped another user setup there user accounts:
http://www.rejetto.com/forum/fhfs/way-to-change-default-url-root/

*take a look at the last post on it as you will need to know where your users folders are located!
--------------------------------
I will asume the New folder created will be called usershare!

i will use this http path for http side and ftp side comunication:
http://xxx.xxx.xxx.xxx and/or ftp://xxx.xxx.xxx.xxx

(xxx.xxx.xxx.xxx is you public ip adress / dns name )

To get back to what i'm tryign to say:

You can eitehr manualy copy the files that you want both users to have acess to,
into each others user folder as in there respected folders they ahvce access too!

or

(which is the information that i will setup here shortly!) you can create a new folder that hfs shares!

(Not a ftp shared - oitehr things are involvoed in that!) - whcih i belive you faceing issues not
understanding the 2 programs and whcih users areas for acess eith http or ftp... so,  on where to where

HFS: (which i recomend you doing):
We need to setup a shared folder and bring acces to it via http
(this may include manualy creating user accounts for them!)
in your fhfs path (C:\Program Files\FHFS\) we will create a new folder
rename the fodler to what you want, in my case i will use (usershare)

now we shoudl have a path:
C:\Program Files\FHFS\usershare

Set windows side permission for access:(as found/known in previous post)
******
You will need to change the set/permision of this folder path:
*see pictures

Make sure you are the "folder's OWNER":

Right Mouse click > Properties > Security tab > Advance button
Advance security settings for fhfs > Owner tab > Edit button
Checkbox Replace owners on subcontiners and objects
click on your current windows user name (%user)
(in pictures i have scratched this out...)

apply and ok wait for setting to finish!

Apply your new folder permissions:

Right Mouse click > Properties > Security tab > Advance button
Advance security settings for fhfs > permissions tab >
In the drop down list you will need these users/groups and apply full control to them all

Uncheck the box "include inheritable permissions form the objects parent
*(IF asked click add the users/groups)
these groups need to be added:
System
Administrators
Users
these users need to be added:
(Your current user name)%user
Trustedinstaller
everyone
Creator Owner

----Now file permissions are good for program and user access!---
*****

In HFS we wil add this folder path as a REAL FOLDER!

Now we will set hfs server side permisions...
right click on the newly added folder properties
(if the users accounts don't already exist) add a user...

set acess/upload/delete rights

it should now be accessible via: http://xxx.xxx.xxx.xxx\usershare

----- :/
FTP:
(i will not go into as i would go about this another way with full acess to filezila gui!)
but these are the steps:
We have to make the folder ftop sharable in the ftp server...
First we create a folder
Then we set windows file permsions
then we set user acess
then we test with read/write...

access capable via filezilla client side or other ftp client progmar to goto path
ftp://xxx.xxx.xxx.xxx/usershare

742
FHFS / Re: Share files among user in FHFS
« on: July 01, 2014, 09:40:18 PM »
To get back to your post
Quote:
FHFS is not able to archive and download the folders whereas HFS is able to do it. Can you please tell how it can be done

also on a another post:
http://www.rejetto.com/forum/fhfs/no-archive-download-of-folders-and-absence-of-entire-site-search/msg1059272/?topicseen;PHPSESSID=s1jh7i0hk2nd8ta46eaonga2s5#msg1059272

Fhfs is juat a combination of two programs
in which the fhfs share folder are conected to hfs...

Meaning that hfs needs a share folder access via the two accounts you wanted to have shared files in.
(Easiest way is create a new account and give the information to both users!)

other wise

I'm not understanding your post...

if you want info for hfs to setup and share a folder than i will list step here shortly...
----
info here later
(will modify post shortly after creating documentation and finding a link to help!) :)
----

good luck!

743
thank you rejetto, this is perfect for what i was trying to do and so much easier than the vbs scripts!
:)

744
HFS ~ HTTP File Server / Re: Slow speed on windows server 2003
« on: June 30, 2014, 05:51:49 AM »
I recall having a similar issues when i first stumbled into HFS...

I was experimenting with multiple large file sizes in a real folder over a ISP minimum 5MB upload.
I found that when i open the folder to view the page it took forever to load (as the client was trying to "cache" data...
but if i click the link on one of the files/or upload it was much faster...

If you don't mind me asking how big in siz is the folder that has the "8 files" as i might conclude it to be a client cache issue..

----
also, since the command didn't work (which may or may not help)
CMD must be run as administrator:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

C:\Windows\system32>
------

745
what i'm trying to do:
hfs hosting a site
click a link:
file

which hfs is http serving via http at example path:
http:/xxx.xxx.xxx.xxx/file

when the user clicks on that link i want to add secondary data so they see and access the path via
http:/xxx.xxx.xxx.xxx/file?0001

then the next user who clicks on the link  sees:
http:/xxx.xxx.xxx.xxx/file?0002

and so forth etc... etc....

746
Bug reports / Re: If password on file, download stops
« on: June 29, 2014, 04:34:05 PM »
liz, yes i was trying to "reproduce it" and your post/title says files...

So, Either your not saying your true issues / not taking any advise offered...

so i would sugest screen shots!

alt + Print screen
(Captures curent active windows)

open paint
ctrl+v (Paste)

Scratch out ip/file names things that you don't want us to see...

attach a post re-explaining your issues with attachments of the photos!...

As i have (said/previous posted) before i have reproduced your issues, but it was correctable via a fresh download/proper folder setup!....

Hope to hear back to help if you show wish....  :-\

747
rejetto, i don't think it should be hard code-ed into HFS, it was just a though...

----
I'm just experimenting with code and wanted to see if "any one out there" had set up somethings similar...

in the end, i have found that i would have to make a vbs script that when a client clicks the web link to launch the script and spit them to the url path with the "?####" which is okay, but not what i was trying to do...

As HFS has a "count/hits" i just wanted to add that to which folder are being targeted, ie clients are hit the server to access this path, and since i'm not always at home , i wanted to add that into the url path so if i go to the page a ie "http://xxx.xxx\file?3" meaning this file/site has been seen 2 time in the past either by me or other website guests...
-----

at first i was trying to incorporate the vbs script into the website itself, but html can't substitute the string values that i need...

thank you for responding though

748
Bug reports / Re: If password on file, download stops
« on: June 28, 2014, 02:34:24 PM »
This is definetely a bug.

A lot of my peers can't download if password is set on files.

Not only me.

yes you an put passwords on files, but you shouldn't.. passwords should be on folders entering into the files......

749
Bug reports / Re: If password on file, download stops
« on: June 28, 2014, 02:33:11 PM »
It sounds like you set access rights for users to your hidden folder and or other flags...

see pictures...

As you can see i have 3 folders that i'm severing...

templates (which is hidden)
a secure uplaod folder
a secure test folder...

If i do some funky things with the flags and permission i get your issues, in which i have found that i need to "start over"... to fix.

Solutions:
Re-download the latest build.

(preset up you website for easy of access..IE setup a structured folder {c:\webroot\hfs.exe} c:webroot\realfolder1...etc...)

Before adding a anything to hfs:
(if your are using a template, add it now as i recomend Live template 3.0, there are better ones out there and others...)

The very first thing you should do is: (Create Accounts) via opening the accounts page and create your users...

Now add the real folders that you wish to share (helps is there are structured in the paths IE setup a structured folder {c:\webroot\hfs.exe} c:webroot\realfolder1...etc...)...

Now wee setup flags/hidden folders:
if the folder is hidden , but need to be accessed for file! set these flags:
see picture

(*note: even if a client has the path to the hidden folder, if you don't set any html templates, it will default to the next folder up, in my case, root/ my home page...)

if you don't want any one to be able to download it
check the "no download option"

if you want a user to be able to access it once in a while, you will have to add that folder again...(either change its name or etc...) revistit this post..: http://www.rejetto.com/forum/hfs-~-http-file-server/no-download-11246/msg1058499/#msg1058499

i believe it is a http file permissions/flags issues on your end...

You should never have to send the passwords to connect/download!...


750
Just curious if anyone has setup or started doing something that might enable a count.. (No i don't need a count, jsut want to see if there is a way to add too it...

ie
I have a download link a Http:/xxx.xxx.xxx.xxx/file

I want to program a way so when a "guest/user" clicks to access the file that the webpage goes to:
Http:/xxx.xxx.xxx.xxx/file?1

then the next time a user goes to it:
Http:/xxx.xxx.xxx.xxx/file?2

And continually going up...
-----------------------------------------------------------------------

Possible using VBA with a code like:

(---
Sub URL()

Dim URL As String
Dim count as interger
Dim urlpath as string

URL = "http://xxx.xxx.xxx.xxx/file?"

--
count code code
---

urlpath = URL + count ...etc...
---)

---------------------------------------------------
Just curious if anyone may have a solution to it or have a programmed idea on how to "html web code it"

as i haven't started searching on it...

-----
If it can't be done with programming in a website, then i can see it being a option in hfs:
IE:
(It could be a program serve things that can be implemented) i can see an option in the  hfs menu item being "add a ?# to download links".....
-----

Any Thoughts or ideas?

Pages: 1 ... 48 49 50 51 52 ... 61