× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Le 20/06/2023 à 18:51, Marc Rauzier a écrit :
Using name format 0, I found that the member should already exist in the file when using a put. If the file does not exist, it is created as a data file (not a source file) with put ftp subcommand.

Correction, no need for the member to already exist:

ftp> quote rcmd crtsrcpf test
250 Command crtsrcpf test successful.
ftp> put free.txt TEST.TEST
200 PORT subcommand request successful.
150 Sending file to member TEST in file TEST in library DIMARCOB.
226 File transfer completed successfully.
ftp : 6 octets envoyés en 0.25 secondes à 0.02 Ko/s.
ftp> dir
200 PORT subcommand request successful.
125 List started.
drwx------   1 DIMARCO  0          32768 Jun 20 17:01 TEST
-rwx------   1 DIMARCO  0             82 Jun 20 17:01 TEST.TEST
250 List completed.
ftp : 128 octets reçus en 0.04 secondes à 3.56 Ko/s.
ftp> put free.txt TEST.OTHERTEST
200 PORT subcommand request successful.
150 Sending file to member OTHERTEST in file TEST in library DIMARCOB.
226 File transfer completed successfully.
ftp : 6 octets envoyés en 0.25 secondes à 0.02 Ko/s.
ftp> dir
200 PORT subcommand request successful.
125 List started.
drwx------   1 DIMARCO  0          49152 Jun 20 17:01 TEST
-rwx------   1 DIMARCO  0             82 Jun 20 17:01 TEST.OTHERTEST
-rwx------   1 DIMARCO  0             82 Jun 20 17:01 TEST.TEST
250 List completed.
ftp : 198 octets reçus en 0.04 secondes à 5.50 Ko/s.
ftp>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.