Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2011
    Thanked 0 Times in 0 Posts

    text file busy error

    I am testing how to generate a text file in perl and get the error "text file busy"

    Any clue?

    open (MYFILE, '>>OA.txt');
     print MYFILE "Bob\n";
    close (MYFILE);
    Or I should change my question to "how could I generate a text file in the flash memory and upload it to a FTP site?"

    Thank you in advance!
    Last edited by camaross; 07-08-2012 at 06:10 PM.

  2. #2
    Super Moderator
    Join Date
    May 2005
    Southern tip of Silicon Valley
    Thanked 219 Times in 212 Posts
    Can you provide more details about what you're doing, the error message that you're receiving, and what you need to accomplish?

    Creating a file in memory isn't a problem, but you need to close it before uploading it with FTP, which will be a problem.

    Why don't you want to save a temp file to disk before uploading it via FTP?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts