- Oct 27, 2013
- Reaction score
I think I've got the script working in its entirety, with the exception of any drag-drop stuff. So far, I can upload a named folder to multiple ftp sites, with the credentials stored in a CSV file. This is the first time I've done anything this complicated in PowerShell myself, and I am really enjoying it .Nice one
I'm preparing the drag and drop tutorial, but before I carry on with this, I wanted to know how far down the rabbit hole you want to go with that.
It's easy enough to create a basic form you drag files to that become part of a [array] $List, but are you wanting that same form to have a panel that acts like File explorer so you don'y have to handle File Explorer in one view and the form in another view?
If I can do Drag and Drop too, I'll be a happy bunny. Your tutorial will be most appreciated!
My thoughts were just having a Drag and Drop popup appear once I have selected the domains to upload to, then I can drag some files over from File Explorer and add them to the list. It doesn't need to act like File Explorer in the app, as long as it can display a list of files added to it (like the demo link above in post #4).
I'll PM my code so far, as it's a little rusty to post on the forum in it's current form (I'll post it once it's polished).
I bet you'd enjoy it, but find it frustrating in equal measure - that's how coding goes for me at least .I minor joy of being retired and no long a software developer is that one does not have to learn any scripting tools like Powershell! One can just be a dumb user...with no need to update many things at once. I did once upon a time spend at least two evenings a week compiling a whole suite of stuff, testing it and then with scripts updating 8-10 machines before bedtime. Not windows, not even MS-Dos, much cruder than either!