PDA

View Full Version : Command line, how to upload 3 files to a SFTP?


jamiguel77
03-10-2015, 04:11 AM
hi friends, how to upload 3 files located in 3 differents directories?

i know how to upload 1 file:


flashfxp.exe -upload mysite -remotepath="/home/myuser/myftpFTP/" -localpath="c:\temp\respdb\db.sql" -c2

but what happend if too need upload:

c:\programs\java\system1\dist\systm.war

and:

c:\programa\java\system2\dist\systm2.war

how do this(upload these other 2 files)?

thanks

bigstar
03-10-2015, 12:06 PM
If the file names are static you can create a queue that includes all the files you want to transfer and then run FlashFXP.exe <queue file>

Otherwise you would need to execute flashfxp.exe using your CLI above multiple times, once for each file you want to transfer.