I've been presented with writing a tool, that will run as a Perl cgi script, and be able to copy files (of any typetext,bin,etc) from any remote system, rename and cleanup the files on the remote system.
I've been poking around various sites and have fun quite a samples that I can download, but I haven't really seen many demos yet. I also know CPAN has some upload modules, I just can't seem to figure which one best fits my needs
From what I've gathered some sites actually read the entire contents of the file into the form and pass it to the cgi script, but this probably will be no good for binaries (??). Other scripts seems to use the ftp module.
So, from my browser (mostly likely running on Windows) I want to be able to "browse" any local or mounted drive, and select one or files and have them moved to my Linux server. The script will have a "known" string that it will append to the end of each file name, as part of the renaming. As for the cleanup, I'm guessing I could use something like telnet or expect modules ?
If at all possible, I would like to create something fairly lightweight (one can only hope ...)
So, does any one have any suggestions and/or experience on the above ?
Thanks all,
In reply to File Manipulation and Uploading by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |