Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
September 17, 2014, 12:32:15 pm

Login with username, password and session length
Members
Total Members: 11334
Latest: çükmen
Stats
Total Posts: 35591
Total Topics: 5957
Online Today: 73
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 42
Total: 44
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: I keep on doing the same repetitive key strokes, over & over & over  (Read 2496 times)
keyboard
Newbie
*
Offline Offline

Posts: 21


View Profile
« on: December 07, 2011, 12:09:32 pm »

I am hoping that you might be able to write me some sort of a "batch" file which would do this for me..
- I create a Directory
     - I create a sub Directory
         - I FTP files to the Sub directory
     - I create a sub Directory
          - I FTP files to the Sub directory
     - I create a sub Directory
          - I FTP files to the Sub directory
     - I create a sub Directory
          - I FTP files to the Sub directory
and on and on and on and on........I do the same keystrokes over and over


My typical scenario ( 99.99 % ) consists of a Main Directory, and in that main directory I will have 50 or so  sub directories and each sub directory will have 10 files.......Can something be made where I can import by FTP ?


Thanks
Ron


Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 12199


View Profile
« Reply #1 on: December 07, 2011, 03:08:18 pm »

Not sure what you want me to make I reading that as you making directories and sub directories with files inside them for ftp.
Logged

Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.
keyboard
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #2 on: December 07, 2011, 04:31:40 pm »

Before I decided to go with SMF and SMFHacks, I have tried many other options and platforms...The best that I came  across with, while I was searching for the right component, was  "Wordpress", but I could not use it because the e-comerce for wordpress was not what I was looking for........the file manager ( Think FTP ) was outstanding...All I had to do was to upload the whole directory by FTP   ( main Directory with 54 sub Directory's, with 10 files in each directory). Then, It created the Main directory with all the subs and files in them....I guess it done all the "key strokes" for me ....I did not have to create anything.

I know that it has been a while since you created all that code for me, so it would be difficult to remember my site.....99.99% of all my uploads consists of a Main Directory with 50 plus Sub Directory's with 10 files in each sub directory. This can be very time consuming, considering that I have about 200,000 plus files to upload.  

I am looking for a way to FTP one folder which consists of many folders that have files in them.


Please consider the png below....I want to be able to FTP the Main Directory   " DOO Pa800"   with all the Subs and all the files in the subs........One FTP upload and then, have your "Creative Coding " do the rest, creating the necessary directories and putting the files in the proper newly made directory.




Can this be created?

Ron
« Last Edit: December 08, 2011, 09:44:46 am by keyboard » Logged
keyboard
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #3 on: December 09, 2011, 10:54:30 am »

Hi Jonathan

Have you given this some thought?


Ron
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 12199


View Profile
« Reply #4 on: December 09, 2011, 10:57:18 am »

Haven't had time yet will look it over in detail this weekend.
Logged

Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 12199


View Profile
« Reply #5 on: December 13, 2011, 07:25:16 pm »

So this is what I am seeing. A script that you can run at any time to auto import records that are in the ftp folder. And any number of sub levels deep.

Lets go though the process.

You have a folder called DOO Pa800
The script would create a new category called DOO Pa800

Then inside DOO Pa800 folder their are more folders
Example goes on to Ay, ay Herr Kapitaen - Die Flippers

Question The script would create a category or a new download here?

I see it goes on to two more folders
And inside the folders are the final files.

Logged

Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.
keyboard
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #6 on: December 13, 2011, 08:43:24 pm »

Question The script would create a category or a new download here?

I see it goes on to two more folders
And inside the folders are the final files.

Correct ...Your script should create as many category's as needed until reaching the files... Smiley

Please advise

Ron

Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 12199


View Profile
« Reply #7 on: December 13, 2011, 08:58:06 pm »

So 01661mp8 and so 01661sp8 would be categories as well?
Logged

Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.
keyboard
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #8 on: December 13, 2011, 08:58:57 pm »

Yes sir....
Logged
keyboard
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #9 on: December 14, 2011, 08:58:04 pm »

Jonathan

I know that you are a busy developer, but I do have to ask....Have you given this any more thought ?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 12199


View Profile
« Reply #10 on: December 14, 2011, 09:01:07 pm »

I have thought about it I can do a script but have some concerns... mainly it will be hard to do the jobs in batches so the script could time out before importing all the records.
Logged

Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.
keyboard
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #11 on: December 14, 2011, 10:29:49 pm »

You are a very talented Developer and I am sure that your creativity will come up with some kind of a solution, Smiley Smiley Smiley

The best way for me to describe what I would like, is to,  look at it like a "file Directory" (similar to Explore)....
« Last Edit: December 15, 2011, 11:47:41 am by keyboard » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 12199


View Profile
« Reply #12 on: December 16, 2011, 03:30:54 pm »

Will see what I can do this weekend hopefully.
Logged

Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.
keyboard
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #13 on: December 20, 2011, 10:47:00 am »

Has your Creative Mind come up with anything? 
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[September 16, 2014, 05:20:35 pm]

[September 16, 2014, 08:32:29 am]

[September 14, 2014, 07:19:50 pm]

[September 14, 2014, 02:57:10 pm]

[September 14, 2014, 11:17:58 am]

[September 14, 2014, 11:05:10 am]

[September 14, 2014, 11:04:35 am]

[September 14, 2014, 09:46:47 am]

[September 13, 2014, 06:56:02 pm]

[September 13, 2014, 03:06:03 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.19 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.17 seconds with 19 queries.