Jump to content
Sign in to follow this  
Leagnus

Ftp indexer

Recommended Posts

Leagnus

Tc (Total commander) has interesting diskdir.wcx plugin :evil: . With this one I used to create dkt-images of Cd/Dvds and some folders with its subfolders and files.

The plugin also writes creation dates and sizes of all files in the folders and its subfolders.

If content have changed I can compare current folder state with the image and get to know what file had been changed.

My idea is to do dkt-images for remote ftp-folders.

But for some of the servers I've got error :evil: :

Line 443  (File "C:\Program Files\AutoIt3\Beta\Include\FTPEx.au3"):
    If @error Or $ai_FTPSetCurrentDir[0] = 0 Then Return SetError(-1, _WinAPI_GetLastError(), 0)
    Error: Recursion level has been exceeded - AutoIt will quit to prevent stack overflow.

You don't have to have tc or the plugin – you can easily open dkt-file with any text editor.

Credits and thanks ;) to: MsCreatoR

04.au3

Edited by Leagnus

Share this post


Link to post
Share on other sites
James

Just out of curiosity, why do you do this:

; to color text:
DllCall("UxTheme.dll", "int", "SetWindowTheme", "hwnd", GUICtrlGetHandle($label), "wstr", "", "wstr", "")
GUICtrlSetColor($label, 0xE0E0E0)

As far as I'm aware, you can set the color of a control without having to SetWindowTheme.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

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.