WriteLn to ftp

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
conjure
Pro Scripter
Posts: 63
Joined: Thu Jan 12, 2012 3:05 pm

WriteLn to ftp

Post by conjure » Wed Mar 08, 2017 11:37 am

Is it possible to edit a file on ftp?
What i want is to read contents from local file,
and paste it to ftp file.
I think it will be better than FTPPutFile

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: WriteLn to ftp

Post by Marcus Tettmar » Thu Mar 09, 2017 9:24 am

Hi,

No, because there's no such thing. FTP stands for File Transfer Protocol. You need to download, edit, then PUT.

Those nice FTP apps you use, that's what they do. Behind the scenes they download the file to local storage and when you edit and hit save they just upload it again. FTP just transfers files, so when you edit a file on an FTP server you're actually downloading and uploading it again.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts