SMFHacks.com

Downloads System Pro => Support => Topic started by: keyboard on December 07, 2011, 12:09:32 pm

Title: I keep on doing the same repetitive key strokes, over & over & over
Post by: keyboard 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


Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: SMFHacks 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.
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: keyboard 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.

(http://createsongstyles.com/forum/images/main.png)


Can this be created?

Ron
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: keyboard on December 09, 2011, 10:54:30 am
Hi Jonathan

Have you given this some thought?


Ron
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: SMFHacks on December 09, 2011, 10:57:18 am
Haven't had time yet will look it over in detail this weekend.
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: SMFHacks 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.

Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: keyboard 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... :)

Please advise

Ron

Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: SMFHacks on December 13, 2011, 08:58:06 pm
So 01661mp8 and so 01661sp8 would be categories as well?
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: keyboard on December 13, 2011, 08:58:57 pm
Yes sir....
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: keyboard 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 ?
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: SMFHacks 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.
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: keyboard 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, :) :) :)

The best way for me to describe what I would like, is to,  look at it like a "file Directory" (similar to Explore)....
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: SMFHacks on December 16, 2011, 03:30:54 pm
Will see what I can do this weekend hopefully.
Title: Re: I keep on doing the same repetitive key strokes, over & over & over
Post by: keyboard on December 20, 2011, 10:47:00 am
Has your Creative Mind come up with anything?