|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||||
|
|||||
|
How should i ftp transfer in Binary?
hey i found this two codes which read files in binary.... but what i wish to do is to transfer the file in binary using Net::FTP
i check some of the forum here stating the following: Quote:
and another from man page is using this below: Quote:
but i wish to get the file in binary so how should i do? so far i did this: Quote:
the variable contain a file name. need help 2 convert the file when get. tanx
__________________
U go PERL.. perlomatic |
|
#2
|
||||
|
||||
|
Try using this:
Code:
$ftp->binary(); # Set transfer type to Binary
$ftp->get("filename"); # Now transfer the file over.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#3
|
|||
|
|||
|
hey tanks alot... it works.... simple as that. heh
![]() |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > How should i ftp transfer in Binary? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|