Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-08-2012, 04:45 PM   PM User | #1
camaross
Regular Coder

 
Join Date: Jan 2011
Posts: 130
Thanks: 101
Thanked 0 Times in 0 Posts
camaross is an unknown quantity at this point
text file busy error

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

Any clue?

Code:
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 05:10 PM..
camaross is offline   Reply With Quote
Old 07-09-2012, 05:20 AM   PM User | #2
FishMonger
Super Moderator


 
Join Date: May 2005
Location: Southern tip of Silicon Valley
Posts: 2,753
Thanks: 2
Thanked 149 Times in 144 Posts
FishMonger will become famous soon enoughFishMonger will become famous soon enough
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?
FishMonger is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:21 AM.


Advertisement
Log in to turn off these ads.