Skip to content

Commit 87258d8

Browse files
authored
Fix Python syntax error in ftp_send_receive.py
1 parent 0829862 commit 87258d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ftp_send_receive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111
from ftplib import FTP
12-
ftp = FTP('xxx.xxx.x.x') """ Enter the ip address or the domain name here """
12+
ftp = FTP('xxx.xxx.x.x') # Enter the ip address or the domain name here
1313
ftp.login(user='username', passwd='password')
1414
ftp.cwd('/Enter the directory here/')
1515

@@ -33,4 +33,4 @@ def ReceiveFile():
3333
def SendFile():
3434
FileName = 'example.txt' """ Enter the name of the file """
3535
ftp.storbinary('STOR ' + FileName, open(FileName, 'rb'))
36-
ftp.quit()
36+
ftp.quit()

0 commit comments

Comments
 (0)