in reply to Re: Using Perl FTP to write a string variable as a file
in thread Using Perl FTP to write a string variable as a file
# What have you tried? Do you even have pseudo-code?
My first attempt was to do this with ASP and eventualy PHP. But when I realized writing text files to the folders displaying the web files generated errors due to lack of permission I realized FTP should be a quick work around.
I do not have any pseudo-code to help anyone help me out. I think the first response looks promising and if it works may be all I need.
# What experience do you have with Net::FTP? Have you tried a simple script of writing a random string to a remote file?
I have no experience with Net::FTP but based on what I read I think it's the way to go. I have not attempted to write a random string to a remote file. If I could find an example of this then I think I will have the information I need to complete my task.
# Why are you writing a script that doesn't know what host it will be on? If you're on multiple hosts, doesn't that mean you are going to control them?
Once I have created the script I would like to make it available to as many people as possible. Since most Unix and Windows hosts come pre-installed with Perl then it is very likely that a Perl script could be an ideal cross platform solution.
|
|---|