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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP Files from Local PC to UNIX 1

Status
Not open for further replies.

peeon

MIS
Apr 22, 2004
5
US
Hey everyone,

I'm using Net::FTP to FTP in a UNIX box to get some files and put them on my local pc (c:\test\). The next step within my code is to read certain data from the files and output to a new file (with the same name) in a different folder on my local pc (c:\test\test2). The third step would be to FTP the file in c:\test\test2 to the UNIX box. However, the issue I run into is that when my code FTP's the files it doesn't look at the c:\test\test2 folder. It keeps FTPing the original files.



 
are you chdir() into the new directory (/test/test2) before trying to FTP the file back to the Unix box?
 
No. Thanks, I will try that and if it doesn't work I'll be back.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top