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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 #36 of 71 |
Re: [net-ftp-common] ascii converstion.

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:

http://lists.perl.org/showlist.cgi?name=perl-libnet

But via the Net::FTP ->support() and ->quot() commands you should be
able to do what you want assuming that
the remote server supports the command.

>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
>
>
>
>To unsubscribe from this group, send an email to:
>net-ftp-common-unsubscribe@yahoogroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>





Thu Nov 13, 2003 3:57 pm

princepawn
Offline Offline
Send Email Send Email

Forward
Message #36 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