AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AutoHotkey.net - a free place to upload your scripts online
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
joebodo



Joined: 28 Apr 2008
Posts: 46

PostPosted: Fri May 23, 2008 4:00 am    Post subject: Reply with quote

It would be nice to have a counter that shows how many times a script uploaded to the FTP site has been downloaded. The views counter does not seem to be functional (or I don't understand what it counts).
Back to top
View user's profile Send private message
ladiko



Joined: 14 Jul 2006
Posts: 190
Location: Berlin

PostPosted: Mon May 26, 2008 7:49 pm    Post subject: Reply with quote

is it possible to enable directory listing for certain directories? i'm to lazy and uncreative!!! to set html pages for every folder. Embarassed
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Tue May 27, 2008 12:03 pm    Post subject: Reply with quote

joebodo wrote:
It would be nice to have a counter that shows how many times a script uploaded to the FTP site has been downloaded.
Whether you upload files from FTP or the web interface doesn't matter as it counts how many times a file was accessed by http. This means if you save a file (whichever way) called 'script.ahk' to your account 'joebodo' every time someone downloads or views www.autohotkey.net/~joebodo/script.ahk the counter will +1.

ladiko wrote:
is it possible to enable directory listing for certain directories?
Yes, just create a file called .htaccess and set its contents to: Options +Indexes
Copy this file to any folder where you want content listing.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
ladiko



Joined: 14 Jul 2006
Posts: 190
Location: Berlin

PostPosted: Tue May 27, 2008 5:35 pm    Post subject: Reply with quote

grr now i have to search a "better" ftp client ... fireftp doesnt show .htaccess file. now it is in the root directory and i cannot see it, but i've got a index.html so it is like i wanted: the folders themself, cant be seen, but all folders, that were linked in the index.html, can be accessed. thank you Smile

edit:
huuhh the web frontend shows the file, amazing!!! =D
Back to top
View user's profile Send private message
Guest






PostPosted: Wed May 28, 2008 10:38 am    Post subject: Reply with quote

ladiko wrote:
fireftp doesnt show .htaccess file

...Tools -> FireFTP -> Tools -> Options -> Show Hidden Files...
Back to top
ladiko



Joined: 14 Jul 2006
Posts: 190
Location: Berlin

PostPosted: Wed May 28, 2008 11:59 am    Post subject: Reply with quote

i know, thank you Smile this option is always enabled on my firefox. never the less it doesnt show .htaccess while the web interface does.

what account options do you use? cause i have problems with creating / renaming files. if i want to rename ~ladiko/Ad-AwareLauncher/Ad-AwareLauncher.ahk to _Ad-AwareLauncher.ahk it told me:
Code:
550 Rename/move failure: Permission denied : /Ad-AwareLauncher//Ad-AwareLauncher/Ad-AwareLauncher.ahk

sometimes it works, sometimes i have to try it two to three times.
host: autohotkey.net
login: ladiko
password: ●●●
connection: passive
security: auth tls (or none)
webhost: http://www.autohotkey.net/~ladiko
Back to top
View user's profile Send private message
jaco0646



Joined: 07 Oct 2006
Posts: 553
Location: MN, USA

PostPosted: Fri Jun 27, 2008 3:41 pm    Post subject: contradiction Reply with quote

On the Create new file or folder page there is a warning: Existing files with the same name will be overwritten. However, upon attempting to overwrite a file, an error message is shown: Error: requested path already exists. So existing files with the same name will not be overwritten.
_________________
http://autohotkey.net/~jaco0646/
Back to top
View user's profile Send private message Visit poster's website
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Fri Jun 27, 2008 5:48 pm    Post subject: Reply with quote

ladiko wrote:
i have problems with creating / renaming files.
I made several changes to the way permissions are handled in the web interface so FTP users should not get these type of errors. Does the issue still exist?

jaco0646 wrote:
existing files with the same name will not be overwritten.
Thanks for reporting this, it has been fixed.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
ladiko



Joined: 14 Jul 2006
Posts: 190
Location: Berlin

PostPosted: Fri Jun 27, 2008 7:16 pm    Post subject: Reply with quote

seems to work now, while fireftp still doesnt show the file .htaccess - maybe it's a limitation of fireftp.
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Mon Jul 14, 2008 12:48 am    Post subject: Reply with quote

Subversion users can now serve their files via HTTP with anonymous read-only access. For example, my repository is located at http://www.autohotkey.net/~Titan/repos/ and can be viewed with any SVN client or web browser. To disable this edit the .htaccess file in your directory as necessary.

On the flip side, due to internal sever issues the stat counter for the file manager has been showing incorrect figures. This should be resolved soon; in the mean time no actual statistics are being lost - you just won't be able to see them.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
fievel



Joined: 11 Jul 2008
Posts: 1

PostPosted: Thu Jul 17, 2008 8:18 pm    Post subject: Reply with quote

Is it possible to have multiple user access for a single svn repository so that a team of developers could work on a single project?
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Thu Jul 17, 2008 10:29 pm    Post subject: Reply with quote

You may edit authorized users and other settings with the files in your conf/ directory as described at http://svnbook.red-bean.com/en/1.1/ch06s03.html#svn-ch-6-sect-3.2.1


IMPORTANT NOTICE if you are unable to access autohotkey.net clear your DNS cache, switch to OpenDNS if your ISP doesn't obey TTL records or as a last resort view the site temporarily by IP address at http://38.103.164.123/. Feel free to contact me on IRC for any queries.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sat Jul 19, 2008 8:19 pm    Post subject: Re: AutoHotkey.net - a free place to upload your scripts onl Reply with quote

Titan I have a few issues with the new XFM...(it's nice, but just some issues)...
  • When I FTP or FTPS with FireFTP the "Keep Timestamps in Sync" doesn't work...

      ...the Timestamp the file gets on the server is the "transfer time" & since that option (in FireFTP) is on, it copies the "transfer time" to my local copy...destroying the timestamp even on my copy of it (I was testing on useless files tho)...also since you only accept FTPS & not SFTP I can't use WinSCP to test that...is there any, secure, way you can enable SFTP (without accidentally giving people SSH)...or perhaps give certain people SSH/SFTP? You seem to be on cPanel now (I thought you were hosting with AutoHotkey.com???), which means you should be able to add new users & securely limit them to their own directory, even if you enable SSH...

  • I can't Copy...only Move & Delete
  • Creating a new file is 3 step: Create File, Browse, then Edit it
  • Creating a new folder is 2 step: Create Folder, then browse to it
  • Can't CHMOD inside XFM
  • Files created thru XFM are created as nobody, due to PHP running as nobody, which means FTP chmod fails on those files (I sent you a whoami test script, but never received a reply) (which means I have an idea of how to fix/workaround this)
  • the file/users/Members is back to haunt me...I can't figure out the correct things to add to .htaccess to do simple things cuz on the server level it sees file/users/Members
  • The HTTPS is a self-signed cert, to AutoHotkey.net, but you force-redirect to add the www. which gives an extra "mismatch" warning...(BTW...can't AutoHotkey.com do this for login???)
...also can you release this XFM as open source?...I haven't gone searching for anything like this (cept for the old IFM version) but since you popped this out from scratch, I think it'd be a good new open source project...
Back to top
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Sat Jul 19, 2008 10:19 pm    Post subject: Reply with quote

Quote:
When I FTP or FTPS with FireFTP the "Keep Timestamps in Sync" doesn't work
Does FireFTP not issue the correct TIME command? I couldn't find any option to change the behavior of pure-ftpd in this respect.

Quote:
give certain people SSH/SFTP?
SSH even with virtual users through PAM is not as scalable as FTP so I doubt I will be giving users access to this any time soon.

Quote:
I can't Copy...only Move & Delete
Creating a new file is 3 step: Create File, Browse, then Edit it
Creating a new folder is 2 step: Create Folder, then browse to it
Thanks for the feedback - I will look for ways of reducing unnecessary steps for common tasks and add an option for copying soon.

Quote:
Can't CHMOD inside XFM
I've been pretty lazy with the permission structure so even if you set custom CHMODs the system may automaticaly glob all your files to 777. All FTP users run under my group and account so I wouldn't advice to rely on this for security. Instead you should archive files (7zip, WinRar, et al.) with strong encryption and a password. Subversion is also recommended.

Quote:
Files created thru XFM are created as nobody, due to PHP running as nobody, which means FTP chmod fails on those files (I sent you a whoami test script, but never received a reply)
Where have you sent it? I know how to chown lol but I leave this on purpose for reasons I mentioned above.

Quote:
The HTTPS is a self-signed cert, to AutoHotkey.net, but you force-redirect to add the www. which gives an extra "mismatch" warning
Thanks this has been fixed.

Quote:
can you release this XFM as open source?
The file manager is specfic to the current server set up. More importantly I've been unsucessful porting the javascript to IE which has held me back from the AJAX features I've been longing to write up. I therefore consider the file manager in beta stage. I've had numerous requests for the captcha source code so if you'd like this let me know.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sun Jul 20, 2008 2:19 am    Post subject: Reply with quote

Titan wrote:
Does FireFTP not issue the correct TIME command?

...I dunno, but I can't think of any other FTPS client to test with (free of course)...do your timestamps sync?

Titan wrote:
...virtual users through PAM...

...huh? I've been wondering how you're doing the everyone is "titan"...but they're not...thing...

Titan wrote:
...so I doubt I will be giving users access to this any time soon.

...not even SFTP only?...I love WinSCP but the author has some aversion to adding FTPS support...but really I'm with him, SFTP works & is secure, FTPS requires SSL Certs, ugh...

Titan wrote:
...so I wouldn't advice to rely on this for security.

...not trying for "security"...per se...

Titan wrote:
Where have you sent it?

...1st of all I sent it over a year ago...I could resend it, but I sent it to inspiration3 (however you spell that {I replied to your email, so a typo is not why you didn't get it})

Titan wrote:
I know how to chown lol but I leave this on purpose for reasons I mentioned above.

...chown? I know what that is but not how it relates...also what is "this on"?...you mean you leave php creating nobody files on purpose? As a side question...how can you chown? I have cPanel hosting somewhere & I can't chown!...do you have root?

Titan wrote:
Thanks this has been fixed.

...quickest fix ever!...omg...but actually I would've fixed it the other way, force-removing www. from the url...

One last issue...
  • The HTTPS cert for FTPS has never been correct (even before today's update)...it's presented as a self-signed cert from kes.x-serverz.com...valid until 11-20-35!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group