source: trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/LECTURE/read_ftp.html @ 142

Last change on this file since 142 was 142, checked in by navarro, 18 years ago

english and nicer header (2a)

File size: 21.8 KB
Line 
1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5<!-- Generated by IDLdoc 2.0 -->
6
7<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8  <head>
9    <title>read_ftp.pro (SAXO Documentation)</title>
10
11   
12    <style type="text/css" media="all">
13     
14/* CSS for all files which appear in the "main" viewing area: overview,
15   directory overviews, warnings, index, search, pro files, source
16   code, help, and etc files. */
17
18/* Link styles --------------------------------------------------------------- */
19
20a { text-decoration: none; }
21
22a:link, a:visited { 
23  color: #660000; 
24  border-bottom: 1px dotted #C0C0F0;   
25}
26
27a:hover, a:focus { 
28  color: #993333; 
29  background: #FFFFCC; 
30  border-bottom: 1px dotted #303099; 
31}
32
33
34/* Main styles --------------------------------------------------------------- */
35
36body {
37  margin: 0;
38  padding: 0;
39  font-size: 10pt;
40  font-family: Verdana, Helvetica, Arial, sans-serif;
41  background-color: #FFFFFF;
42}
43
44p {
45  margin-top: 0.5em;
46  margin-bottom: 0;
47}
48
49#container { margin: 1em; }
50
51code.section { white-space: pre; }
52
53pre.snippet {
54  margin-left: 5%;
55  background: #F0F0F0;
56  border: 1px dashed #999999;
57  width: 43em;
58  padding: 0.5em 0.5em 0.5em 0.5em;
59  white-space: pre;
60}
61
62/* Navbar styles ------------------------------------------------------------- */
63
64#navbar_title {
65  color: #000033;
66  background-color: #F0F0FF;
67  font-family: Arial, Helvetica, sans-serif;
68  padding: 20px 30px;
69  border-bottom: 1px solid #000033;
70}
71
72#navbar_title * {
73  margin: 0;
74  padding: 0;
75}
76
77#navbar_title h1 {
78  letter-spacing: 0.1em;
79  font-variant: small-caps;
80  font-size: 250%;
81  text-indent: -1em;
82  padding-left: 1em; 
83}
84
85#navbar_title h2 {
86  font-size: 110%;
87  font-weight: normal;
88  color: #333399;
89}
90
91#main_navbar table {
92  width: 100%;
93  border-bottom: 1px solid #666699;
94}
95
96#main_navbar td {
97  background: #CCCCFF;
98  font-size: 80%;
99  font-weight: bold;
100  font-family: Arial, Helvetica, sans-serif;
101  border-top: 3px solid #CCCCFF;
102  border-bottom: 3px solid #CCCCFF;
103  padding-left: 6px;
104  padding-right: 6px;
105  margin: 0;
106}
107
108#main_navbar td#selected {
109  background: #CCCCFF;
110  font-size: 80%;
111  font-weight: bold;
112  font-family: Arial, Helvetica, sans-serif;
113  border-top: 3px solid #333399;
114  border-bottom: 3px solid #CCCCFF;
115  padding-left: 6px;
116  padding-right: 6px;
117  margin: 0;
118}
119
120#main_navbar td#flexible {
121  width: 100%;
122  text-align: right;
123  padding-right: 1em;
124  background: #CCCCFF;
125  font-size: 70%;
126  font-weight: normal;
127  font-family: Arial, Helvetica, sans-serif;
128  text-transform: uppercase;
129  border-top: 3px solid #CCCCFF;
130  border-bottom: 3px solid #CCCCFF;
131}
132
133#main_navbar a:link, #main_navbar a:visited { color: #660000; border: 0; }
134
135#main_navbar a:hover, #main_navbar a:focus {
136  color: #FFFF66;
137  background: #CCCCFF;
138  border-bottom: 1px none #606099; 
139  border: 0;
140}
141
142#secondary_navbar {
143  font-size: 80%;
144  font-weight: normal;
145  font-family: Arial, Helvetica, sans-serif;
146  margin-top: 4px;
147  margin-left: 20px;
148  white-space: nowrap;
149}
150
151
152/* Tagline and footer styles ------------------------------------------------- */
153
154div#tagline {
155  margin-top: 6px;
156  border-top: 1px dotted lightsteelblue;
157  padding-top: 6px;
158  font-size: 66%;
159  font-style: italic;
160}
161
162div#footer {
163  margin-top: 6px;
164  border-top: 1px dotted lightsteelblue;
165  padding-top: 6px;
166  font-size: 66%;
167  font-style: italic;
168}
169
170/* Basic data presenation styles -------------------------------------------- */
171
172.index_letter { 
173  font-size: 300%;
174  font-weight: bold;
175  color: #000066; 
176  margin: 0.5em 0 0 -0.1em;
177}
178
179h1, h2, h3, h4 {
180  font-weight: normal;
181  color: #3333CC;
182}
183
184h1 {
185  padding-top: 0.75em;
186  font-size: 160%;
187}
188
189h2 {
190  padding-top: 1em;
191  font-size: 120%;
192  }
193
194h3 {
195  padding-top: 0.75em;
196  margin-bottom: 0.25em;
197  font-size: 100%;
198}
199
200h4 {
201  padding: 0;
202  margin: 0.5em 0 0 0;
203  font-size: 80%;
204}
205
206table.basic {
207  empty-cells: show;
208  margin: 1.5em 1em 0 1em;
209  border: 1px dotted #CFCFFF;
210  font-size: 80%;
211}
212
213table.basic th {
214  background-color: #F0F0FF;
215  font-weight: bold;
216  text-align: left;
217  padding: 4px 1em 4px 4px;
218  border-bottom: 1px dotted #666699;
219}
220
221table.basic td {
222  vertical-align: top;
223  padding: 4px 1em 4px 4px;
224}
225
226dd {
227  margin-bottom: 0.25em;
228  font-size: 80%;
229}
230
231
232/* Warnings styles ----------------------------------------------------------- */
233
234
235#todo dl, #bugs dl { 
236  margin: 0 0 0 1.5em;
237  font-size: 80%;
238}
239
240#todo dd, #bugs dd { 
241  margin-left: 3em; 
242  font-size: 100%;
243}
244
245#undoc table, #obsolete table, #statistics table {
246  width: 80%;
247  margin-left: 2em;
248}
249
250#undoc td, #obsolete td, #statistics td { 
251  padding: 0 0 0 0;
252  font-size: 80%;
253  white-space: nowrap;
254}
255
256#undoc td.docroutine, #obsolete td.obsroutine, #statistics td.statroutine { width: 50%; }
257
258#undoc td.docstat, #statistics td.stat { 
259  width: 50%;
260  text-align: right;
261}
262
263#undoc td.partialdoc, #statistics td.caution { color: #CC6600; }
264
265#undoc td.notdoc, #statistics td.warning { color: #993333; }
266
267/* File + routine styles ----------------------------------------------------- */
268
269h1.directory { 
270  padding: 1em 0 0 0;
271  margin: 0;
272  font-size: 66%;
273}
274
275h1.directory a { border-bottom: 0; }
276
277h2.pro_file { 
278  padding: 0;
279  margin: 0;
280  font-size: 140%;
281}
282
283div#file_attr {
284  padding: 0 1em 0 1em;
285  margin: 1em;
286  background: #F6F6F6;
287  border: 1px dotted #999999;
288}
289
290div#file_attr dt {
291  font-size: 80%;
292  font-weight: bold;
293}
294
295div#file_attr dd {
296  font-size: 80%;
297}
298
299div#class_diagram { 
300  padding: 1em 0 1em 0; 
301  white-space: pre;
302  font-family: 'Courier New';
303}
304
305table#sav_attr { 
306  font-size: 90%; 
307  margin: 1em; 
308  padding: 1em 1em 1em 1em;
309  background: #F6F6F6;
310  border: 1px dotted #999999;
311}
312
313table#sav_attr th { text-align: left; }
314
315table#sav_attr td { vertical-align: top; padding-right: 2em; }
316
317table#sav_attr td.value { width: 20em; padding-right: 0em; font-style: italic; }
318
319p.sav_warning { margin-left: 4em; font-family: 80%; }
320
321table.variables { 
322  font-family: 'Courier New', monospace; 
323  font-size: 80%; 
324  text-indent: -2em; 
325  padding-left: 2em; 
326}
327
328table.variables td.image { width: 64px; }
329
330div#file_comments { white-space: pre; 
331  margin: 2em;
332  font-size: 80%;
333}
334
335
336div.field_summary {
337  padding: 0 1em 0 1em;
338  margin: 1em;
339  background: #FFFFF0;
340  border: 1px dotted #C0C000;
341}
342
343div#routine_summary { 
344  padding: 0 1em 0 1em;
345  margin: 1em;
346  background: #F0F0FF;
347  border: 1px dotted #9999FF;
348}
349
350div.field_summary h2, div#routine_summary h2 { 
351  padding: 0.5em 0 0 0;
352  margin: 0;
353}
354
355div.field_summary table, div.field_summary p { 
356  margin: 1em 1em;
357}
358
359div.field_summary td.name { 
360  vertical-align: top;
361  padding-bottom: 0.25em;
362  color: #3333CC;
363}
364
365div.field_summary span.field_type { 
366  font-weight: normal;
367  font-size: 80%;
368  color: black;
369}
370
371div.field_summary td.comments { 
372  vertical-align: top;
373  padding-left: 2em;
374  font-size: 80%;
375}
376
377p.commaList { 
378  margin: 1em 1em 1em 1em;
379}
380
381span.warning { 
382  color: #CC6633;
383  font-weight: bold;
384  font-size: 66%;
385  text-transform: uppercase;
386}
387
388span.categories { 
389  color: #006633;
390  font-weight: bold;
391  font-size: 66%;
392  text-transform: uppercase;
393}
394
395span.undoc { 
396  color: #FF6633;
397  font-weight: bold;
398  font-size: 80%;
399  text-transform: uppercase;
400}
401
402span.attr { 
403  color: #006633;
404  font-weight: bold;
405  font-size: 80%;
406  text-transform: uppercase;
407}
408
409span.value { 
410  color: #006633;
411  font-weight: normal;
412  text-transform: none;
413}
414
415a.top { 
416  font-weight: bold;
417  font-size: 66%;
418  text-transform: uppercase;
419  float: right;
420}
421
422span.result { 
423  font-family: Verdana, Arial, Helvetica, sans-serif;
424  font-style: italic;
425  font-size: 80%;
426}
427
428div#routine_summary p, div.routine_details p.header { 
429  padding-top: 0.5em;
430  margin-left: 1.5em;
431  text-indent: -1.5em;
432  font-family: 'Courier New', monospace;
433}
434
435div.routine_details { 
436  padding: 0.5em 1em 0.5em 1em;
437  margin: 1em;
438  border: 1px dotted #CCCCCC;
439}
440
441div.routine_details h2 { 
442  padding-top: 0;
443  margin-top: 0;
444}
445
446div.routine_details div.value { 
447  margin: 0 1em 0 1em;
448  font-size: 80%;
449}
450
451div.routine_details div.comments { 
452  font-size: 80%;
453  margin: 0.75em 1em 1em 1em;
454}
455
456div.routine_details div.preformat { 
457  white-space: pre;
458}
459
460table.statistics { 
461  font-size: 80%;
462  margin-left: 1em;
463}
464
465table.statistics td { 
466  padding: 0 2em 0 0;
467}
468
469/* Overview styles ----------------------------------------------------------- */
470
471div.overview { 
472  width: 100%;
473  margin-top: 1em;
474  clear: both;
475}
476
477div.overview table {
478  empty-cells: show;
479  font-size: 90%;
480  margin: 1em 1em 1em 1em;
481  padding: 1em 0.5em 1em 0.5em;
482  background: #F6F6F6;
483  border: 1px dotted #999999;
484}
485
486div.overview td {
487  padding: 3px 1em 3px 1em;
488}
489
490div.overview td.dir {
491  width: 1%;
492  vertical-align: top;
493  text-align: right;
494  padding-right: 1em;
495}
496
497
498/* Navigation list styles for tree structures -------------------------------- */
499
500#tree {
501  text-align: left;
502  font-size: 90%;
503  margin: 0.75em 0 0.75em 0;
504  padding: 0;
505}
506
507#tree ul {
508  text-align: left;
509  margin: 0;
510  padding: 0;
511}
512
513#tree li {
514  margin: 0 0 0 15px;
515  padding: 0;
516  list-style-type: none;
517}
518
519#tree .symbols {
520  float: left;
521  width: 12px;
522  height: 1em;
523  padding-left: 4px;
524  background-position: 0 100%;
525  background-repeat: no-repeat;
526}
527
528/* Search styles ------------------------------------------------------------- */
529
530input.writein { 
531  padding-left: 0.5em;
532  border: 1px solid #CCCCCC;
533  font-family: 'Courier New';
534  background: #FFFFF3;
535}
536
537#search form { 
538  margin-left: 2em;
539}
540
541#search table { 
542  margin: 1em 1em 0 2em;
543  padding: 1em 2em 1em 2em;
544  background: #F6F6F6;
545  border: 1px dotted #999999;
546}
547
548#search tr { 
549  text-align: center;
550}
551
552#search td { 
553  font-size: 80%; 
554  text-align: left;
555}
556
557#search td * { 
558  vertical-align: middle;
559}
560
561#search p { 
562  font-size: 66%;
563  margin: 0 3em 2em 3em;
564}
565
566/* Help styles --------------------------------------------------------------- */
567
568div.toc { 
569  padding: 0 1em 0 1em;
570  margin: 1em;
571  background: #F0F0FF;
572  border: 1px dotted #9999FF; 
573  width: 19em;
574}
575
576div.right { 
577  float: right;
578  width: 22em;
579}
580
581ol.toc { 
582  list-style-type: upper-roman;
583}
584
585ol.toc ol { 
586  padding-left: 3em;
587  margin-left: 0;
588  list-style-type: lower-alpha;
589}
590
591dl.variables dt { font-size: 80%; }
592dl.variables dd { margin-bottom: 0.5em; }
593
594    </style>
595    <style type="text/css" media="print">
596      #navbar_title { 
597  background-color: #FFFFFF; 
598}
599
600#main_navbar td {
601  background: #FFFFFF;
602  border-top: 0.25em solid #FFFFFF;
603  border-bottom: 0.25em solid #FFFFFF;
604}
605
606#main_navbar td#selected {
607  background: #FFFFFF;
608  border-top: 0.25em solid #333399;
609  border-bottom: 0.25em solid #FFFFFF;
610}
611
612#main_navbar td#flexible {
613  background: #FFFFFF;
614  border-top: 0.25em solid #FFFFFF;
615  border-bottom: 0.25em solid #FFFFFF;
616}
617
618#secondary_navbar {
619  display: none;
620}
621
622    </style>
623   
624
625    <script type="text/javascript">
626      function setTitle() {
627        parent.document.title="read_ftp.pro (SAXO Documentation)";
628      }
629    </script>
630  </head>
631
632  <body onload="setTitle();">
633
634    <div id="navbar_title">
635  <h1>SAXO Documentation</h1>
636</div>
637
638
639<div id="main_navbar">
640
641  <table cellspacing="0">
642    <tr>
643     
644      <td><a href="./../../overview.html?format=raw" title="Overview of library">Overview</a></td>
645     
646
647     
648      <td >Directory</td>
649     
650
651     
652      <td><a href="./../../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td>
653     
654
655     
656      <td><a href="./../../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td>
657     
658
659     
660      <td><a href="./../../search-page.html?format=raw" title="Search library">Search</a></td>
661     
662
663      <td id="selected">File</td>
664
665     
666      <td >Source</td>
667     
668
669     
670      <td><a href="./../../idldoc-help.html?format=raw" title="Help on IDLdoc">Help</a></td>
671     
672
673      <td >Etc</td>
674
675      <td id="flexible">Developer&nbsp;documentation</td>
676    </tr>
677  </table>
678
679</div>
680
681<div id="secondary_navbar">
682
683<a href="ncdf_lec.html?format=raw">&lt;&lt;prev file</a> | <a href="read_ncdf.html?format=raw">next file &gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="read_ftp.html?format=raw" target="_TOP">view single page</a> | <a href="./../../index.html?format=raw" target="_TOP">view frames</a>&nbsp;&nbsp;&nbsp;&nbsp;summary: fields | <a href="#routine_summary">routine</a>&nbsp;&nbsp;&nbsp;&nbsp;details: <a href="#routine_details">routine</a>
684
685</div>
686
687
688    <div id="container">
689
690      <h1 class="directory"><a href="directory-overview.html?format=raw">ToBeReviewed/LECTURE/</a></h1>
691      <h2 class="pro_file">read_ftp.pro</h2>
692
693      <div id="file_attr">
694        <dl>
695        </dl>
696      </div>
697
698      <div id="file_comments"></div>
699
700     
701
702     
703
704     
705
706     
707      <div id="routine_summary">               
708        <h2>Routine summary</h2>
709       
710        <dl>
711         
712          <dt><p><a href="#_ftp_post">ftp_post<span class="result">, u, cmd, res</span>, out=<span class="result">out</span>, count=<span class="result">count</span></a></p><dt>
713          <dd></dd>     
714         
715          <dt><p><a href="#_ftp_parse_pasv">ftp_parse_pasv<span class="result">, text, host, port</span></a></p><dt>
716          <dd></dd>     
717         
718          <dt><p><a href="#_read_ftp">read_ftp<span class="result">, site, files, dir, port</span>, data=<span class="result">data</span>, file=<span class="result">file</span>, user=<span class="result">user</span>, pass=<span class="result">pass</span>, ptr=<span class="result">ptr</span></a></p><dt>
719          <dd>   Syntax:    READ_FTP, remote_host [, files] [, directory] [,/FILE] [,DATA=variable]               [,USER=string] [,PASS=string] [,/PTR] </dd>   
720               
721        </dl>
722      </div>
723     
724
725      <div id="routine_details">
726       
727
728        <div class="routine_details" id="_ftp_post">
729
730          <h2><a class="top" href="#container">top</a>ftp_post </h2>
731       
732          <p class="header">
733            ftp_post<span class="result">, <a href="#_ftp_post_param_u">u</a>, <a href="#_ftp_post_param_cmd">cmd</a>, <a href="#_ftp_post_param_res">res</a></span>, <a href="#_ftp_post_keyword_out">out</a>=<span class="result">out</span>, <a href="#_ftp_post_keyword_count">count</a>=<span class="result">count</span></p>
734       
735          <div class="comments"></div>
736
737         
738
739         
740            <h3>Parameters</h3>
741       
742           
743            <h4 id="_ftp_post_param_u">u&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
744             
745             
746             
747             
748             
749             
750             
751             
752            </h4>
753       
754          <div class="comments"></div>
755           
756            <h4 id="_ftp_post_param_cmd">cmd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
757             
758             
759             
760             
761             
762             
763             
764             
765            </h4>
766       
767          <div class="comments"></div>
768           
769            <h4 id="_ftp_post_param_res">res&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
770             
771             
772             
773             
774             
775             
776             
777             
778            </h4>
779       
780          <div class="comments"></div>
781           
782
783         
784
785         
786
787            <h3>Keywords</h3>
788           
789            <h4 id="_ftp_post_keyword_out">out&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
790             
791             
792             
793             
794             
795             
796             
797             
798            </h4>
799       
800            <div class="comments"></div>
801           
802            <h4 id="_ftp_post_keyword_count">count&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
803             
804             
805             
806             
807             
808             
809             
810             
811            </h4>
812       
813            <div class="comments"></div>
814           
815         
816
817         
818         
819         
820         
821         
822         
823         
824         
825         
826         
827         
828         
829       
830         
831         
832         
833         
834         
835         
836         
837       
838         
839       
840        </div>
841       
842
843        <div class="routine_details" id="_ftp_parse_pasv">
844
845          <h2><a class="top" href="#container">top</a>ftp_parse_pasv </h2>
846       
847          <p class="header">
848            ftp_parse_pasv<span class="result">, <a href="#_ftp_parse_pasv_param_text">text</a>, <a href="#_ftp_parse_pasv_param_host">host</a>, <a href="#_ftp_parse_pasv_param_port">port</a></span></p>
849       
850          <div class="comments"></div>
851
852         
853
854         
855            <h3>Parameters</h3>
856       
857           
858            <h4 id="_ftp_parse_pasv_param_text">text&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
859             
860             
861             
862             
863             
864             
865             
866             
867            </h4>
868       
869          <div class="comments"></div>
870           
871            <h4 id="_ftp_parse_pasv_param_host">host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
872             
873             
874             
875             
876             
877             
878             
879             
880            </h4>
881       
882          <div class="comments"></div>
883           
884            <h4 id="_ftp_parse_pasv_param_port">port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
885             
886             
887             
888             
889             
890             
891             
892             
893            </h4>
894       
895          <div class="comments"></div>
896           
897
898         
899
900         
901
902         
903         
904         
905         
906         
907         
908         
909         
910         
911         
912         
913         
914       
915         
916         
917         
918         
919         
920         
921         
922       
923         
924       
925        </div>
926       
927
928        <div class="routine_details" id="_read_ftp">
929
930          <h2><a class="top" href="#container">top</a>read_ftp </h2>
931       
932          <p class="header">
933            read_ftp<span class="result">, <a href="#_read_ftp_param_site">site</a>, <a href="#_read_ftp_param_files">files</a>, <a href="#_read_ftp_param_dir">dir</a>, <a href="#_read_ftp_param_port">port</a></span>, <a href="#_read_ftp_keyword_data">data</a>=<span class="result">data</span>, <a href="#_read_ftp_keyword_file">file</a>=<span class="result">file</span>, <a href="#_read_ftp_keyword_user">user</a>=<span class="result">user</span>, <a href="#_read_ftp_keyword_pass">pass</a>=<span class="result">pass</span>, <a href="#_read_ftp_keyword_ptr">ptr</a>=<span class="result">ptr</span></p>
934       
935          <div class="comments">
936
937 Syntax:
938   READ_FTP, remote_host [, files] [, directory] [,/FILE] [,DATA=variable]
939              [,USER=string] [,PASS=string] [,/PTR]
940</div>
941
942         
943
944         
945            <h3>Parameters</h3>
946       
947           
948            <h4 id="_read_ftp_param_site">site&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
949             
950             
951             
952             
953             
954             
955             
956             
957            </h4>
958       
959          <div class="comments"></div>
960           
961            <h4 id="_read_ftp_param_files">files&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
962             
963             
964             
965             
966             
967             
968             
969             
970            </h4>
971       
972          <div class="comments">
973 A single filename or an array of filenames to be retrieved.
974</div>
975           
976            <h4 id="_read_ftp_param_dir">dir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
977             
978             
979             
980             
981             
982             
983             
984             
985            </h4>
986       
987          <div class="comments">
988 Remote directory where the files reside on the ftp server
989</div>
990           
991            <h4 id="_read_ftp_param_port">port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
992             
993             
994             
995             
996             
997             
998             
999             
1000            </h4>
1001       
1002          <div class="comments"></div>
1003           
1004
1005         
1006
1007         
1008
1009            <h3>Keywords</h3>
1010           
1011            <h4 id="_read_ftp_keyword_data">data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1012             
1013             
1014             
1015             
1016             
1017             
1018             
1019             
1020            </h4>
1021       
1022            <div class="comments">
1023 Set this to a named variable that will contain either a
1024 byte array or an array of pointers to byte arrays with the
1025 transferred data.  If there is more than one file, an array
1026 of pointers is returned, one for each file.
1027 Note that when downloading large files using /FILE
1028 instead will require much less memory since the entire file
1029 is not stored in a variable in that case.
1030</div>
1031           
1032            <h4 id="_read_ftp_keyword_file">file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1033             
1034             
1035             
1036             
1037             
1038             
1039             
1040             
1041            </h4>
1042       
1043            <div class="comments">
1044 Set this keyword to make a local copy of the file to be
1045 transferred.  The local file will have the same name as the
1046 remote file and will be placed in the current working
1047 directory.
1048</div>
1049           
1050            <h4 id="_read_ftp_keyword_user">user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1051             
1052             
1053             
1054             
1055             
1056             
1057             
1058             
1059            </h4>
1060       
1061            <div class="comments">
1062 Specify user name to connect to server with.  Default is: anonymous.
1063</div>
1064           
1065            <h4 id="_read_ftp_keyword_pass">pass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1066             
1067             
1068             
1069             
1070             
1071             
1072             
1073             
1074            </h4>
1075       
1076            <div class="comments"></div>
1077           
1078            <h4 id="_read_ftp_keyword_ptr">ptr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1079             
1080             
1081             
1082             
1083             
1084             
1085             
1086             
1087            </h4>
1088       
1089            <div class="comments">
1090 Set this keyword to return an array of pointers
1091 even when there is only one file.
1092</div>
1093           
1094         
1095
1096          <h3>Examples</h3><div class="preformat">
1097 1) Retrieve and print the contents of ftp://ftp.rsinc.com/pub/gzip/README.GZIP:
1098   IDL> READ_FTP, 'ftp://ftp.rsinc.com/pub/gzip/README.GZIP', DATA=data
1099   IDL> help, data
1100          DATA            BYTE      = Array[2134]
1101   IDL> print, string(data)
1102     ------------------------------------------------------------------------------
1103     README file: Research Systems Anonymous FTP site (ftp.rsinc.com)
1104                   pub directory
1105                   gzip directory
1106   ------------------------------------------------------------------------------
1107   ...
1108
1109 2) Retrieve some files from podaac.jpl.nasa.gov and store the files
1110    in the current working directory:
1111
1112    IDL> files = string(lindgen(10)+50,format='(%"MGB370.%3.3d.gz")')
1113    IDL> READ_FTP, 'podaac.jpl.nasa.gov', files,  $
1114    IDL>       'pub/sea_surface_height/topex_poseidon/mgdrb/data/MGB_370', /FILE
1115    IDL> spawn,'dir MGB*',/log_output
1116     Volume in drive C is Local Disk
1117     Volume Serial Number is 34CE-24DF
1118
1119     Directory of C:testtest0307
1120
1121    07/28/2003  11:58a             362,167 MGB370.050.gz
1122    07/28/2003  11:58a             333,005 MGB370.051.gz
1123    07/28/2003  11:58a             310,287 MGB370.052.gz
1124    07/28/2003  11:58a             358,771 MGB370.053.gz
1125    07/28/2003  11:59a             387,282 MGB370.054.gz
1126    07/28/2003  11:59a             361,633 MGB370.055.gz
1127    07/28/2003  11:59a             383,075 MGB370.056.gz
1128    07/28/2003  11:59a             365,844 MGB370.057.gz
1129    07/28/2003  11:59a             383,918 MGB370.058.gz
1130    07/28/2003  12:00p             372,712 MGB370.059.gz
1131                  10 File(s)      3,618,694 bytes
1132
1133  These compressed files can cosequently be opened with OPENR and the
1134   /COMPRESSED keyword.
1135</div>
1136          <h3>Version history</h3>
1137         
1138          <h4>Version</h4><div class="preformat">
1139 $Id$
1140</div>
1141          <h4>History</h4><div class="preformat">
1142</div>
1143         
1144         
1145          <h3>Known issues</h3>
1146         
1147         
1148          <h4>Todo items</h4><div class="preformat"> seb: que fait-on de "syntax" au debut du header?
1149 </div>
1150         
1151       
1152         
1153         
1154         
1155         
1156         
1157         
1158         
1159       
1160         
1161       
1162        </div>
1163       
1164      </div>
1165
1166     
1167
1168      <div id="tagline">Produced by IDLdoc 2.0.</div>
1169
1170    </div>
1171
1172  </body>
1173</html>
Note: See TracBrowser for help on using the repository browser.