Ncftpput remote file name




















The default is to use passive, but to fallback to regular if the passive connection fails or times out. Not many remote FTP servers support this, so it may not work. You will need to run ncftpbatch for the batch job to be processed. This is useful if you already have a ncftpbatch process running, or wish to have better control of when batch jobs are processed. For example, if you wanted to do background processing of three files all on the same remote server, it is more polite to use just one ncftpbatch process to process the three jobs sequentially, rather than having three ncftpbatch processes open three simultane- ous FTP sessions to the same server.

The -W , -X , and -Y options are useful for advanced users who need to tweak behavior on some servers. For example, users accessing mainframes might need to send some special SITE commands to set blocksize and record format information. For these options, you can use them multiple times each if you need to send multiple commands. This option is used primarily for debugging. It sets the value of an internal variable to an integer value. This lets you write shell scripts or other unattended processes that can do FTP.

It is also useful for advanced users who want to send files from the shell command line without entering an interactive FTP program such as ncftp. For example, someone using the ps program could see your password while the program runs. You may use the -f option instead to specify a file with the account information. However, this is still not secure because anyone who has read access to the information file can see the account information. Nevertheless, if you choose to use the -f option the file should look something like this: host sphygmomanometer.

The -d option is very useful when you are trying to diagnose why a file transfer is failing. It prints out the entire FTP conversation to the file you specify, so you can get an idea of what went wrong. If you specify the special name stdout as the name of the debugging output file, the output will instead print to the screen.

You can upload an entire directory tree of files by using the -R flag. The -T and -S options are useful when you want to upload file to the remote host, but you don't want to use the destination pathname until the file is complete.

Using these options, you will not destroy a remote file by the same name until your file is finished. These options are also useful when a remote process on the remote host polls a specific filename, and you don't want that process to see that file until you know the file is finished sending.

Documentation Home » Oracle Solaris Language: English. The default is to use progress meters if the output stream is a TTY.

The default is to not try to resume -Z. The default is to use passive, but to fallback to regular if the passive connection fails or times out. Not many remote FTP servers support this, so it may not work.

You will need to run ncftpbatch for the batch job to be processed. This is useful if you already have a ncftpbatch process running, or wish to have better control of when batch jobs are processed.

For example, if you wanted to do background processing of three files all on the same remote server, it is more polite to use just one ncftpbatch process to process the three jobs sequen- tially, rather than having three ncftpbatch processes open three simultaneous FTP sessions to the same server. The -W, -X, and -Y options are useful for advanced users who need to tweak behavior on some servers. For example, users accessing mainframes might need to send some special SITE com- mands to set blocksize and record format information.



0コメント

  • 1000 / 1000