Search the web
Sign In
New User? Sign Up
net-ftp-common
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
ascii converstion.   Message List  
Reply | Forward Message #35 of 71 |
I wrote an FTP client that transfers files from a Win2K box to an AIX
box. I need to 'ascii' mode to get rid of the CRLF right? how do I
do that, what is the syntax.

Here is the portion of the code that does the FTP

$ftp = Net::FTP->new("$Server", Debug => 0);
$ftp->login("mqm","$Pwd",) || die "no login";
$ftp->cwd("/var/mqm/mqsc/stage")|| die "no login";
$ftp->put("C:\\Jobs\\staging\\$File" )|| die "no login";
$ftp->quit;

also I was wondering if it is possible to chmod the file using this
FTP module?

Any help would be appreciated.

Thanks,

John




Thu Nov 13, 2003 3:18 am

johnsned
Offline Offline
Send Email Send Email

Forward
Message #35 of 71 |
Expand Messages Author Sort by Date

I wrote an FTP client that transfers files from a Win2K box to an AIX box. I need to 'ascii' mode to get rid of the CRLF right? how do I do that, what is the...
John
johnsned
Offline Send Email
Nov 13, 2003
3:18 am

This list is for discussing Net::FTP::Common, an extension of Net::FTP. For questions about Net::FTP, you are referred to the Net::FTP mailing list: ...
Terrence Brannon
princepawn
Offline Send Email
Nov 13, 2003
3:57 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help