Hi,
Been trying to use the PUTFILE2 function, it does upload the file to the server but never renames it (it keeps the original file name)
Tried deleting the old file with the same name and having the same issue. Here is the code with the part not working.
Thanks
Been trying to use the PUTFILE2 function, it does upload the file to the server but never renames it (it keeps the original file name)
Tried deleting the old file with the same name and having the same issue. Here is the code with the part not working.
Thanks
For your info here is the verbose information (I change the IP of the FTP server for secuirty reason)
PUTFILE2("D:\RDI_Download\Sync\RDI\News\rdiexp_2017-1108-1085_clear_8000.mp4","news.mp4")
(ScriptFTP) NOOP
(Server ) 200 NOOP command successful.
(ScriptFTP) PWD
(Server ) 257 "/news" is current directory.
Uploading D:\RDI_Download\Sync\RDI\News\rdiexp_2017-1108-1085_clear_8000.mp4
(ScriptFTP) TYPE I
(Server ) 200 Type set to I.
(ScriptFTP) PASV
(Server ) 227 Entering Passive Mode (FTPSERVERIP,198,54).
(ScriptFTP) STOR rdiexp_2017-1108-1085_clear_8000.mp4
(Server ) 125 Data connection already open; Transfer starting.
(Server ) 226 Transfer complete.
(ScriptFTP) CWD /news/
(Server ) 250 CWD command successful.
(ScriptFTP) PWD
(Server ) 257 "/news" is current directory.
PUTFILE2("D:\RDI_Download\Sync\RDI\News\rdiexp_2017-1108-1085_clear_8000.mp4","news.mp4")
(ScriptFTP) NOOP
(Server ) 200 NOOP command successful.
(ScriptFTP) PWD
(Server ) 257 "/news" is current directory.
Uploading D:\RDI_Download\Sync\RDI\News\rdiexp_2017-1108-1085_clear_8000.mp4
(ScriptFTP) TYPE I
(Server ) 200 Type set to I.
(ScriptFTP) PASV
(Server ) 227 Entering Passive Mode (FTPSERVERIP,198,54).
(ScriptFTP) STOR rdiexp_2017-1108-1085_clear_8000.mp4
(Server ) 125 Data connection already open; Transfer starting.
(Server ) 226 Transfer complete.
(ScriptFTP) CWD /news/
(Server ) 250 CWD command successful.
(ScriptFTP) PWD
(Server ) 257 "/news" is current directory.
Hi there,
Yes, this is a bug of the current version (4.4) and it has been fixed in the upcoming version 4.5 which is now under beta testing (but quite stable and almost ready for real-world use)
You can download it from here: https://www.ScriptFTP.com/beta
Yes, this is a bug of the current version (4.4) and it has been fixed in the upcoming version 4.5 which is now under beta testing (but quite stable and almost ready for real-world use)
You can download it from here: https://www.ScriptFTP.com/beta
liked Script FTP? Try our other product Email Parser