Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use PERL to update part of a file.

Status
Not open for further replies.

pcutler

Technical User
Jan 18, 2002
59
CA
Hi,

I’m using PERL to automate the uploading of files to a server using FTP.

What I need to do is modify a line in a text file to update the name of the target folder by adding today’s date to the folder name.

I can generate the correct folder name, but I’ve had no luck updating the contents of the file.

Can anyone point me in the right direction?

Thanks in advance for your help.

Pete.
 
Can we see your code or is this going to be a guessing game? [wink]

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Thanks for the reply Kevin,

It looks like NET::ftp will make it easier for me to do this.

Now I've just got to figure out NET::ftp ;)

Peter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top