H
H
hardwellZero2015-05-20 18:50:40
Python
hardwellZero, 2015-05-20 18:50:40

Accessing a folder on a remote computer?

Good afternoon.
I am writing a small script to delete certain files that are located on a remote server. As a connection, I googled the library - wmi. I sort of figured out the connection.
How can I access files on a remote computer? Maybe there is some method or something. Documentation is empty.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
saveliy_zhuravlev, 2015-06-02
@saveliy_zhuravlev

You can write a script to the server so that, upon a certain request, it deletes the necessary files
sting
os.remove() file
os.rmdir() empty folder
shutil.rmtree() folder with contents

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question