I need to write or create a script in Perl that will take a posted form field value, store it as a string and then save that value via FTP onto my shared web hosting account. Ideally I would like this script to work in both Unix and Windows Perl environments.
I am assuming that Net::FTP might be the way to go, but not sure how to use the string value stored in memory to write the file via FTP. Then again this module might be disabled in some shared environments so maybe I will need to write directly to the command line and have two different branches depending on if the environment is Unix or Windows.
Thanks for the help.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |