I have this script which uses the Net::FTP module to copy some files to some remote machine.It works fine with every file but a xml file.My application requires that the timestamp of the xml file doesn't change but the ftp script changes it.Is there any way around it?
crazylunatic
0
Newbie Poster
Recommended Answers
Jump to PostNot sure I understand what your question is. Why doesn't it work with the xml file?
Jump to PostSorry, I'm lost, I don't think I can help you.
Jump to PostThink that's just the way UNIX / Linux works. It will change the timestamp. Luckily, there is a command you could use to change it to the timestamp you need. Look into using the touch command.
Cheers
All 9 Replies
KevinADC
192
Practically a Posting Shark
crazylunatic
0
Newbie Poster
KevinADC
192
Practically a Posting Shark
tuxboy
0
Newbie Poster
crazylunatic
0
Newbie Poster
tuxboy
0
Newbie Poster
crazylunatic
0
Newbie Poster
tuxboy
0
Newbie Poster
jephthah
1,888
Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.