CodeCanyon

File Explorer Class

  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • Germany
  • Referred between 10 and 49 users
joomlaianer says

is it possible to add a “unzip” function? so that i can copy a .rar file from server a to server b and unzip this file on server b.

2 years ago
Author
Sitebase Sitebase replied

I can add zip support but this must be supoorted by the server aswell. I’ll add it to feature request.

2 years ago
joomlaianer joomlaianer replied

this would be very great. thank u so much

2 years ago
Purchased
joomlaianer joomlaianer replied

any news about this new feature?

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • Germany
  • Referred between 10 and 49 users
joomlaianer says
Purchased

one more question. is it possible to move a file/directory to another server?

or would this be also a feature request?

2 years ago
Author
Sitebase Sitebase replied

This is not possible and will not be a feature because it’s something that is not commonly used.

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Romania
Woofy31 says

I see that in the example code from the item’s description you used only local Windows paths. Does it work for server paths ?

For example, is the following code working on a server (assuming it allows file operations) ?

$File->SetPath(’/folder/test.php’); $File->Delete();

2 years ago
Author
Sitebase Sitebase replied

It works also for server paths :).

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • Germany
  • Referred between 10 and 49 users
joomlaianer says
Purchased

any news about the zip/unzip feature? would be awesome

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
joasiula says

can you please let me know if the unzipping is already supported?

2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • Mexico
fulgorek says

with this class is possible to list only images from a certain dir?

2 years ago
Author
Sitebase Sitebase replied

Yes

2 years ago
  • Has been a member for 2-3 years
  • Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 10 and 49 users
iapcsolutions says

congrats on the free file of the month!

2 years ago
Author
Sitebase Sitebase replied

Thanks man :)

2 years ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 10 and 49 items
YanilleYahoo says

Hey, is there any way I can add like file editing to it? Like I can edit the file contents with a simple textbox/message field.

With a save button.

2 years ago
Author
Sitebase Sitebase replied

This is a PHP class, so no UI.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • Macedonia
zorancho says

Thanks for the free file, i like your work :) Cheers!

2 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
  • United States
ssergei says

I cannot get the “Copy” function to work properly. Everything else (except “Move” since it depends on “copy”) works like a charm. Do you have any pointers of where I could start to troubleshoot this? Copy doesn’t seem to do anything.

2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • Norway
  • Referred between 1 and 9 users
maihtas says

Hi, thanx for free file :D looks great, but, I have a problem with running it. Would you like me to write you an email or post my question here? It’s probably just me having no clue what I’m doing.

I’ll definitly buy it too if it works for what I want to do.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
  • Canada
fakokay says
Purchased

Found it finnally, i must enter temp value in all param. :)

Also, i added dateLastModify and filesize when it not a directory (in the listing function)

thx again!

1 year ago
  • Has been a member for 0-1 years
chomagh64 says

hi.problem in action

$File->SetPath(‘c:/test/sitebase’); $File->Move(“c:/sitebase_backup”); and $File->SetPath(‘c:/test/sitebase’); $File->Copy(“c:/sitebase_backup”);

11 months ago
Author
Sitebase Sitebase replied

And what is the problem?

11 months ago
  • Has been a member for 0-1 years
chomagh1364 says
hi.problem in rename folder
include("File.php");
 $File = new Explorer();
 $File->SetPath('c:/test/sitebase'); 
$File->Move("c:/test/sitebase_new"); 

if the directory is “sitebase” empty(not file and folder),the directory “sitebase” will be deleted.And do not be renamed. But if the directory is “sitebase” not empty(with folder),the directory “sitebase” And do be renamed “itebase_new”
10 months ago
Author
Sitebase Sitebase replied

I will take a look a this.

10 months ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
sman591 says

Is there a way to sort the files, such as by filename or type?

9 months ago
Author
Sitebase Sitebase replied

That is for the moment not included.

9 months ago
  • Has been a member for 0-1 years
mortez says

hi.example from “copy” and “cut” file.

5 months ago
Author
Sitebase Sitebase replied

Copy:

include("File.php");
$File = new Explorer();
$File->SetPath('c:/test/sitebase'); 
$File->Copy("c:/test/sitebase_backup");

Move:

include("File.php");
$File = new Explorer();
$File->SetPath('c:/test/sitebase'); 
$File->Move("c:/test/sitebase_new"); 
4 months ago
  • Has been a member for 0-1 years
mortez says
hi.thanks,but example for “move” and “copy” for “file” in “dir”.
'c:/test/sitebase/Desert.jpg'
into
'c:/test/sitebase_new'
4 months ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
FlipOne says

Hello SiteBase,

Do the Read and Write functions (for example, the create() function) handle audio files like .mp3 or .wav files and HTML files?

Also, your sample code shows directories and files in the local folder. Does this mean the user is prompted for confirmation every time the app tries to create a new file and to save it to the local folder (or saves changes to an existing file)?

Will appreciate it much if you can respond immediately.

Thanks!

4 months ago
Author
Sitebase Sitebase replied

Keep in mind that this isn’t and application but a PHP class that you can use in your own app/website to hand file and directory actions.

4 months ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
FlipOne says

SiteBase,

Thanks for your response, but it didn’t help a bit.

Sorry…

4 months ago
  • Has been a member for 4-5 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • Canada
rockstin316 says

is it possible to use it to delete only a certain kinds of files so if i want to delete say only .php from my logs folder can it be done..

23 days ago

by
by
by
by
by