Commit 8b8a6d8 1 parent d27968b commit 8b8a6d8 Copy full SHA for 8b8a6d8
File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
"""
2
- File transfer protocol used to send and receive files using FTP server.
3
- Use credentials to provide access to the FTP client
2
+ File transfer protocol used to send and receive files using FTP server.
3
+ Use credentials to provide access to the FTP client
4
4
5
- Note: Do not use root username & password for security reasons
6
- Create a seperate user and provide access to a home directory of the user
7
- Use login id and password of the user created
8
- cwd here stands for current working directory
5
+ Note: Do not use root username & password for security reasons
6
+ Create a seperate user and provide access to a home directory of the user
7
+ Use login id and password of the user created
8
+ cwd here stands for current working directory
9
9
"""
10
10
11
11
from ftplib import FTP
14
14
ftp .cwd ('/Enter the directory here/' )
15
15
16
16
"""
17
- The file which will be received via the FTP server
18
- Enter the location of the file where the file is received
17
+ The file which will be received via the FTP server
18
+ Enter the location of the file where the file is received
19
19
"""
20
20
21
21
def ReceiveFile ():
@@ -25,8 +25,8 @@ def ReceiveFile():
25
25
ftp .quit ()
26
26
27
27
"""
28
- The file which will be sent via the FTP server
29
- The file send will be send to the current working directory
28
+ The file which will be sent via the FTP server
29
+ The file send will be send to the current working directory
30
30
"""
31
31
32
32
def SendFile ():
You can’t perform that action at this time.
0 commit comments