Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ if st.sidebar.button("🔄 Connect & List Files"):
|
|
| 19 |
# Connect to FTP server with a timeout of 120 seconds
|
| 20 |
|
| 21 |
ftp = FTP(host_input, timeout=120)
|
| 22 |
-
ftp.
|
| 23 |
ftp.login(user=username_input, passwd=password_input)
|
| 24 |
|
| 25 |
# Enable passive mode
|
|
|
|
| 19 |
# Connect to FTP server with a timeout of 120 seconds
|
| 20 |
|
| 21 |
ftp = FTP(host_input, timeout=120)
|
| 22 |
+
ftp.connect(host, 21)
|
| 23 |
ftp.login(user=username_input, passwd=password_input)
|
| 24 |
|
| 25 |
# Enable passive mode
|