# 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.


In reply to Re^2: Using Perl FTP to write a string variable as a file by Anonymous Monk
in thread Using Perl FTP to write a string variable as a file by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.