Been a Dopus-user from the early Amiga-days, I was hoping there was a way, maybe an existing script to do the following:
1: open an ftp connection
2: move all files from a predetermed folder to the ftp
3: close the ftp-connection
and all preferably in a button...
I do this thing a LOT at work these days, and any automation would be a great step up
This is not exactly what you describe, but I thought it might help. I needed something like you talk about and this script is what I put together. I liked the idea of a seeing the folder you want to copy (SOURCE) side by side with the ftp folder location (DEST). This is what I came up with. It is not perfect and needs some refinements, but it will automate upload of a directory to a web server. It does it in an efficient way because it zips the directory first. It then uses a PHP script (included) to unzip on the server. Zipping it makes the upload go much easier and faster. The last thing it will do is show the explode of the zip files which is just a listing of all the files the folder contained. It will show these in your browser of choice. This can be edited in the scrip by entering your location for a browser like Firefox (that is what I have there) Chrome, Internet Explorer, etc. Another area that can be edited to your choice is the directory that you keep the scripts in. It is set to C:\DOUtils if you like that make a directory on you C drive called DOUtils but you can work with any location you like. Put the unc_zip_self_ftp_serv.php and values.php files in it. Let me know if this works out or you and if you had any problem getting it to work. After you copy the ftpAuto.dcf you can place on your toolbar and edit the following lines.07. Location for unc_zip_self_ftp_serv.php – this is the script that handles the auto unzipping on server.
08. Location for values.php - this is the file that passes a value that needs to be written by the DOpus script.
36. Only edit the browser location e.g. ""C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"For now, the folder containing your website stuff cannot have any spaces in the name. I plan to fix this later. With all of these locations strings do not forget to escape the backslashes. If you look at the one, I put them in already. Make sure that you have the folder you want to send selected in Tab. All you have to do is touch it. You should see a Tab with your folder of website files and on the other side be inside location you want to copy to on ftp, and then click the button. If you don't have a folder selected you will get an error. I am going to refine this later. I hope it can help you out. ftpAuto.zip (1.53 KB)