Discussion:
Command BATCH to upload file in FTP site
(too old to reply)
c***@gmail.com
2017-01-11 13:59:54 UTC
Permalink
Hello all!
I try a lotof time to create a command dos that permit to upload file on a FTP site from a local folder. That command have to uplad a single file, but the file have to be diffrent form the file on FTP.
If the 2 file have the same dimension, it has to skip a write a log.

If anyone have idea, Many thanks !!!!
Dave "Crash" Dummy
2017-01-11 20:35:05 UTC
Permalink
Hello all! I try a lotof time to create a command dos that permit to
upload file on a FTP site from a local folder. That command have to
uplad a single file, but the file have to be diffrent form the file
on FTP. If the 2 file have the same dimension, it has to skip a write
a log.
If anyone have idea, Many thanks !!!!
I would use a VBScript file to run the ftp.exe utility included in
Windows, with an appropriate list of commands. I would determine the
required commands to perform the desired task by first running ftp.exe
in a command box, then putting them in a text file to be read when ftp
is called from the VB script.
--
Crash

Half the people in the world are below average.
Tomy
2017-01-13 16:01:52 UTC
Permalink
I would suggest using WinScp.
It seems to have quite strong support for scripting.
See
https://winscp.net/eng/docs/scripting
Ulrich Möller
2017-01-13 17:47:43 UTC
Permalink
Post by c***@gmail.com
Hello all!
I try a lotof time to create a command dos that permit to upload file on a FTP site from a local folder. That command have to uplad a single file, but the file have to be diffrent form the file on FTP.
If the 2 file have the same dimension, it has to skip a write a log.
If anyone have idea, Many thanks !!!!
An alternative approach to ftp can be using curl
(https://curl.haxx.se/). It has a lot more features and supports ssl.

Ulrich

Loading...