FileCopy Method |
Name | Description | |
---|---|---|
![]() ![]() | Copy(String, String) | Copies an existing file to a new file. Overwriting a file of the same name is not allowed.
![]() The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, CopyOptions) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified.
![]() Option NoBuffering is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is not allowed.
![]() The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, Boolean) | Copies an existing file to a new file. Overwriting a file of the same name is allowed.
![]() The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, CopyOptions, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified.
![]() Option NoBuffering is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, CopyOptions, Boolean) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified.
![]() Option NoBuffering is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, Boolean, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed.
![]() The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, CopyOptions, CopyMoveProgressRoutine, Object) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. ![]() Option NoBuffering is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, CopyOptions, Boolean, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified.
![]() Option NoBuffering is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, CopyOptions, CopyMoveProgressRoutine, Object, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. ![]() Option NoBuffering is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. ![]() Option NoBuffering is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |
![]() ![]() | Copy(String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. ![]() Option NoBuffering is recommended for very large file transfers. The attributes of the original file are retained in the copied file. Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method. If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior. |