Click or drag to resize

DirectoryCopy Method

Overload List
  NameDescription
Public methodStatic memberCopy(String, String)
[AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is not allowed.
Remarks

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions)
[AlphaFS] Copies a directory and its contents to a new location, CopyOptions can be specified.
Remarks

Option NoBuffering is recommended for very large file transfers.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, PathFormat)
[AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is not allowed.
Remarks

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, Boolean)
[AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is allowed.
Remarks

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, PathFormat)
[AlphaFS] Copies a directory and its contents to a new location, CopyOptions can be specified.
Remarks

Option NoBuffering is recommended for very large file transfers.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, Boolean)
[AlphaFS] Copies a directory and its contents to a new location, CopyOptions can be specified.
Remarks

Option NoBuffering is recommended for very large file transfers.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, Boolean, PathFormat)
[AlphaFS] Copies an existing directory to a new directory. Overwriting a directory of the same name is allowed.
Remarks

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, CopyMoveProgressRoutine, Object)
[AlphaFS] Copies a directory and its contents to a new location, CopyOptions can be specified, and the possibility of notifying the application of its progress through a callback function.
Remarks

Option NoBuffering is recommended for very large file transfers.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, Boolean, PathFormat)
[AlphaFS] Copies a directory and its contents to a new location, CopyOptions can be specified.
Remarks

Option NoBuffering is recommended for very large file transfers.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, CopyMoveProgressRoutine, Object, PathFormat)
[AlphaFS] Copies a directory and its contents to a new location, CopyOptions can be specified, and the possibility of notifying the application of its progress through a callback function.
Remarks

Option NoBuffering is recommended for very large file transfers.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object)
[AlphaFS] Copies a directory and its contents to a new location, CopyOptions can be specified, and the possibility of notifying the application of its progress through a callback function.
Remarks

Option NoBuffering is recommended for very large file transfers.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object, PathFormat)
[AlphaFS] Copies a directory and its contents to a new location, CopyOptions can be specified, and the possibility of notifying the application of its progress through a callback function.
Remarks

Option NoBuffering is recommended for very large file transfers.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two directories have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Top
See Also